Topic: Linking to news from non news page

Cute works great. However one thing I can not figure out is this.

If I have a side panel on a page with a headline template loading up and click to view that story, its adding the id at the end of the current URL only. So if im on page: aboutus.html and click the link, the uRL is aboutus.html?ID7 etc. The only way it will show the article is if im on the main news page like news.html.

Any idea on how to get around this?

Re: Linking to news from non news page

Cute works great. However one thing I can not figure out is this.

If I have a side panel on a page with a headline template loading up and click to view that story, its adding the id at the end of the current URL only. So if im on page: aboutus.html and click the link, the uRL is aboutus.html?ID7 etc. The only way it will show the article is if im on the main news page like news.html.

Any idea on how to get around this?


Hello Fearfreak,

If you mean that, clicking the post in news.html, the opening page has to look like this article.html?id=x, then do the following:
please install $PHP_SELF = 'article.html' before include 'show_news.php' (with headline template). This will make all the links opening this way.


Best regards,
CN Support team

Re: Linking to news from non news page

I figured it out, thank you! i just had to add the news.html in the shortcode.