Page 1 of 1
Posted: Mon 7. Jun 2004, 09:11
by frold
I would make a tempalte for the article galleri and instead of having a the {content} tag I would insert a iframe....
see working example here.
http://www.lokalsport-muenster.de/orbit ... ,0,0,1,0,0
more info here:
http://www.phpwcms.de/forum/viewtopic.p ... ght=iframe
Re: thanx!!
Posted: Mon 7. Jun 2004, 19:53
by frold
playdead wrote:great suggestion frold!
and so simple. i actually use an iframe with gallery for a random image function. it didnt even occur to me while i was wracking my brain.
community in action!! you gotta love it.
peace buddy.
monty
Np glad to help... that´s reason Im here...
Posted: Mon 7. Jun 2004, 20:29
by Oliver Georgi
...but if you need the redirect too fill in your redirection URL in article summary section.
If you want to have that link opened in a different target use the redirection like this:
Regards
Oliver
Posted: Mon 7. Jun 2004, 21:40
by rp
Hello
I found this topic while I was searching the forum for a solution opening an article redirection in a different window. But "http://www.apple.de_blank" isn't working. It gives me an 404 Error on my Article Page (in the same window...). I'm using the "1.1-RC4 03-06-2004" Version.
Thank you for any help
Romeo
Posted: Mon 7. Jun 2004, 22:05
by frold
rp wrote:Hello
Iut "http://www.apple.de_blank" isn't working. It gives me an 404 Error
Romeo
did you try with a space after _ so it looks like:
http://www.apple.de _blank
Posted: Mon 7. Jun 2004, 22:09
by Oliver Georgi
yes - space is neccessary

Posted: Mon 7. Jun 2004, 22:18
by rp
Yes, with a space after the URL it's working fine. Thank you.
You have to look very close to See the space in the Screenshot

Posted: Fri 1. Sep 2006, 08:37
by mattslk
Hey,
I am having a slight problem with the following:
If you want to have that link opened in a different target use the redirection like this:

I created an article with the redirect as shown above and when I click on a link to that article it shows the new window redirect. In the parent page(where I clicked the link for it), however, it goes to the structure's template under which the redirect article is stored.
I need the new pop-up window redirect to show and for the page with the link to it to remain the same.
Any thoughts, ideas, comments?

Posted: Fri 1. Sep 2006, 08:45
by Oliver Georgi
Do you have more articles under that structure? When not - there is a redirect field under straucture.
The redirect for articles will be enhanced by an additional switch where you can say what should happen on click - at the moment the redirection is processed after opening the article. The idea behind was to have a popup.
But right - for "_blank" sometimes not the best option.
Oliver
Posted: Fri 1. Sep 2006, 10:13
by mattslk
Thanks for the response, and yeah unfortunately I have other articles under that structure. Hopefully that enhancement comes soon, until then anyone have a solution?
Posted: Fri 1. Sep 2006, 11:16
by Oliver Georgi
I think nobody will have a "quick solution" - but here is a tip - in german we would say "Brachialmethode".
- Check the source of the link in Frontend - it should look like "index.php?id=..."
- Create a new PHP file in phpwcms_template/inc_script/frontend_render
myrt.php
Code: Select all
<?php
$content['all'] = str_replace('index.php?id=...', 'http://...', $content['all']);
?>
You can also replace the complete <a href...> tag to have the target attribute setting too.
Oliver