Categories > TinyButStrong general >

Link Category Name into Article - Dynamic Article

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Roger
Date: 2010-11-14
Time: 17:53

Link Category Name into Article - Dynamic Article

Can TBS help with this?

I want to construct an Article such that depending on which Category called the Article, then text items inside that Article would be changed. My terms may not be correct, please look at my example to better understand my goal.

By example:
Three Categories:
1) Rye
2) Wheat
3) White

Article text:
My bread taste good, especially my "Category link" bread.

Depending on which menu item was selected, the article text would read uniquely to that item.

If there is a how to on this, please point me there.

Thanks
By: Skrol29
Date: 2010-11-14
Time: 21:06

Re: Link Category Name into Article - Dynamic Article

Hi Roger,

I assume you're talking about the Joomla plug-in for TinyButStrong.

The category of the article can be retrieved using:
$TBS->JoomlaArticle->catid
By: Roger
Date: 2010-11-17
Time: 17:28

Re: Link Category Name into Article - Dynamic Article

Hi Skrol29,

Yes thanks Joomla. :)

Sorry to be a bother but I'm not a coder and I'm a struggling Joomla Newbe.

Using my example above, just what TBS download would I install? What exact code and where would would I install it, catid is certainly a help but I haven't yet wrapped my mind around the needed steps? I clicked on the HTML button in the default editor, is that how I add the link? I've read a number of examples on this site, still not figuring out how.

An example would be most appreciated.

Thanks
By: Skrol29
Date: 2010-11-17
Time: 20:51

Re: Link Category Name into Article - Dynamic Article

Hi Roger,

TBS version 3.5.1 is already included in the plug-in installation package.
You can upgrade TBS if you need.

The manual gives one example for each type of dynamic article.