On my news page, the link to each news article looks and works fine - displaying the article title and linking to the actual article...url is as follows:
index.php?p=news&title=article1
and the link code looks like this:
<h3><?php printNewsTitleLink(); ?></h3>
However, I'd like to also pass the category name...I know it's not necessary however, I'm doing some other things with the category name when it's passed. Want the link to still display the article title but want the actual link to look like this:
index.php?p=news&category=testimonials&title=article1
I played around with some things but I can't seem to find it.
Any insight?
Thanks,
Mike
Comments
It is possible but you will have to create a bunch custom functions - all that print a single article link - for this using `getNewsURL()` like this:
`getNewsURL().'&category=';`
Review the documentation about `getNewsURL()` and the object model.
Hmmmmmm. Guess I'll have to figure something else out...