Page 2 of 2
Re: [Solved] Open other site in content area
Posted: Wed Sep 26, 2007 6:47 am
by marcelvdlans
RonnyK wrote:
Marcel,
The content-type = LINK opens the link in a new page.
Reading your last post, I think you mean that you want a link inside the content-area, within the text.
To do so, you can type the text, select the part of the text that you want to become a link, and push the "Insert/Edit link"-button, which is the little chain in TINYMCE. The popup that opens, can hold the "Link URL", being the page to be opened, and the "Target", being the method of opening, there is the "Open in new window (_blank)" option.
The method Mark mentioned can be used as well. If you just copy/paste that code, a link will appear with those parameters given.
Ronny
Ronny and mark, thank you for your answers, but it is not what i mean... Both of you are talking about a link, but i mean a link in the menu which target must be _blank... As mark told. The link from Competitiestanden to content is from
www.nttb.nl/zuidwest/...... and not from
www.ttcv.nu.
Re: [Solved] Open other site in content area
Posted: Wed Sep 26, 2007 2:47 pm
by Dr.CSS
The link in the menu is already there, you made one, you should try to change the Target: to self or another setting to get what you need, to change it go to Content > Pages and click the name of the page/link and go to Target: "dropdown" and change it, hit apply then check to see if it is working the way you like, continue to change till you like it...
Re: [Solved] Open other site in content area
Posted: Wed Sep 26, 2007 3:33 pm
by marcelvdlans
mark, thank you for your answer.
That's the problem. I understand your solution, but I don't have any possibility to change the Target: "dropdown". I dont have the option.
Re: [Solved] Open other site in content area
Posted: Wed Sep 26, 2007 4:40 pm
by Dr.CSS
Do you have all the permissions checked?...
Does it look like this?...
Re: [Solved] Open other site in content area
Posted: Wed Sep 26, 2007 5:50 pm
by marcelvdlans
mark, with your solution i can't implement another site into my site...
Re: [Solved] Open other site in content area
Posted: Sun Sep 30, 2007 5:33 am
by RonnyK
Marcel,
what do exactly want to achieve, open an external page inside your content-area, or open a link in a complete new window?
Initially this topic was about opening within the content-area which could be achieved with {embed} and {pi_iframe}. You can then create a new page, and in the content you call one of the tags with the URL to be opened INSIDE your site.
The topic then switched direction as it was asked how to open a link OUTSIDE the site, that's also what was described by creating a page with content-type = "LINK" and than use "_blank" to have a new window opened.
Ronny
Re: [Solved] Open other site in content area
Posted: Sun Sep 30, 2007 9:22 am
by marcelvdlans
RonnyK,
This is what i want: open an external page inside your content-area. I don't want to open a new window for an external site inside my content area. I've been working so long, but i can't find the solution...
Re: [Solved] Open other site in content area
Posted: Sun Sep 30, 2007 10:38 am
by RonnyK
Marcel,
then you should use the {embed}-tag or the {pi_iframe}-tag. When you then create a new page, in the content you call
{pi_frame url= .....}
The url-link will then be opened there in the content-area.
Ronny
Re: [Solved] Open other site in content area
Posted: Sun Sep 30, 2007 1:29 pm
by marcelvdlans
RonnyK, that's my problem, it opens a new window...
I used {embed} tag and {pi_frame} tag...
With {pi_frame} tag i get the next error:
string(125) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag 'pi_frame' (Smarty_Compiler.class.php, line 583)"
With {embed} it really opens a new window...

Re: [Solved] Open other site in content area
Posted: Sun Sep 30, 2007 1:31 pm
by RonnyK
Marcel,
what did you put in the calling of pi_iframe?
Ronny
Re: [Solved] Open other site in content area
Posted: Sun Sep 30, 2007 1:43 pm
by RonnyK
Marcel,
the one you have to call is {pi_iframe} and not {pi_frame}.
{embed} requires a {header=true} calling in the meta-data as the help tells. Check if you have {pi_iframe} in your "Extensions -> Tags", if not download it from the dev-area and transfer it to \plugins. Than you can call it with
{pi_iframe url="
http://www.google.com"}
Be aware that no additional code is inserted by the editor, so check the HTML as well.
Ronny
Re: [Solved] Open other site in content area
Posted: Sun Sep 30, 2007 2:42 pm
by marcelvdlans
Thank you RonnyK, i just installed pi_iframe and i got it work, but it still opens a new window... i'm getting crazy...
In the HTML there is no additional code inserted than:
{pi_iframe url="
http://www.nttb-zuidwest.nl/stand.php?vernr=1074"}
Re: [Solved] Open other site in content area
Posted: Sun Sep 30, 2007 5:41 pm
by RonnyK
Marcel,
can you provide me with a llink/login/pw through PM, as I got it to work on my demo-site.
http://demo.krijt.eu/index.php?page=pi_iframe
Ronny