iUnknown
14-04-2008, 08:43 PM
Hello,
Well a lot of people ask me how to do it, and I can't post in the tutorial section for some reason, so if a MOD sees this they can move it here. Quick TUT I made a year ago but on a small forum and I only got reminded of the TUT today:
So basically, what you do is you go to the Edit template that you want to have a read more link targetting an iframe on, and where you have something like:
Code:
[full-link]Read more![/full-link]
Instead you put:
<a target="IFRAMENAME" href="/cutenews/show_news.php?subaction=showfull&id={news-id}&archive=&start_from=&ucat=6&">
Read More!</a>Basically, this allows you to edit the link settings like where it targets etc. Because you put the news ID in, it'll automatically get the news ID for that article and replace it there, which makes it go to the read more of the article! If you want to do this for a headline section on your site, and what the title of the article to link to the read more, you can simply change the "Read More!" to {title} and it'll look a little like this:
<a target="IFRAMENAME" href="/cutenews/show_news.php?subaction=showfull&id={news-id}&archive=&start_from=&ucat=6&">
{title}</a>
Fiddle with it as much as you like, this tutorial can also be helpful even if you aren't using iframes but just to customize the link tags.
Hope that is clear! Enjoy!
Well a lot of people ask me how to do it, and I can't post in the tutorial section for some reason, so if a MOD sees this they can move it here. Quick TUT I made a year ago but on a small forum and I only got reminded of the TUT today:
So basically, what you do is you go to the Edit template that you want to have a read more link targetting an iframe on, and where you have something like:
Code:
[full-link]Read more![/full-link]
Instead you put:
<a target="IFRAMENAME" href="/cutenews/show_news.php?subaction=showfull&id={news-id}&archive=&start_from=&ucat=6&">
Read More!</a>Basically, this allows you to edit the link settings like where it targets etc. Because you put the news ID in, it'll automatically get the news ID for that article and replace it there, which makes it go to the read more of the article! If you want to do this for a headline section on your site, and what the title of the article to link to the read more, you can simply change the "Read More!" to {title} and it'll look a little like this:
<a target="IFRAMENAME" href="/cutenews/show_news.php?subaction=showfull&id={news-id}&archive=&start_from=&ucat=6&">
{title}</a>
Fiddle with it as much as you like, this tutorial can also be helpful even if you aren't using iframes but just to customize the link tags.
Hope that is clear! Enjoy!