I'm currently using the news module to do beer reviews on my website. I enter data in the news module as:
Title = Brew Review #1, Brew Review #2, etc
Summary = name of beer
One of my pages has a simple table with two columns. The first column shows the news summaries sorted by titles (Review Number), and the second column shows the news summaries sorted by Summary Data (Beer Name). I have the sorting working, and I have also created and edited a custom summary template so that the first column displays the title (ie, review number) first, and the second column displays the summary data (ie, the beer name) first...but I would like the second column's template to have the beer name/summary data as the link to the main news content page. So far I haven't been able to figure out how to do this. Only the Title and morelink will display as a link no matter where I move them around.
Can someone point me in the right direction here? Do I need to add a custom tag to the website or something like that?
Thanks in advance,
Ricky
news: making summary data a link to main article page
-
Ricky
news: making summary data a link to main article page
Last edited by Ricky on Sat Dec 30, 2006 11:28 pm, edited 1 time in total.
Re: news: making summary data a link to main article page
I like to do the same thing.
Instead of using the morelink, i want the summary content to be the link to the whole article.
Can anyone come up with a solution?
edit: I used a workaround. It works but not an elegant solution
id}[/u]&cntnt01origid=60&cntnt01lang=nl_NL&cntnt01returnid=60">
{eval var=$entry->summary}
Still looking for a proper way to do this..
Instead of using the morelink, i want the summary content to be the link to the whole article.
Can anyone come up with a solution?
edit: I used a workaround. It works but not an elegant solution
id}[/u]&cntnt01origid=60&cntnt01lang=nl_NL&cntnt01returnid=60">
{eval var=$entry->summary}
Still looking for a proper way to do this..
Last edited by sn3p on Mon Dec 10, 2007 11:20 pm, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: news: making summary data a link to main article page
uhm... doing a would tell you the smarty tag you need (just view source)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.

