Hi All,
Im trying to figure out how to get the Item Title (from the actual page) to use in my K2 Content Module which is contained on that page.
Basically i want to do a if statement like this
Im trying to figure out how to get the Item Title (from the actual page) to use in my K2 Content Module which is contained on that page.
Basically i want to do a if statement like this
Topic Author
14 years 4 months ago #67773
As per usual, i sloved it my self:
Incase any one needs it: to get the page title:
Incase any one needs it: to get the page title:
14 years 4 months ago #67774
Hi. That's indeed the code you need. However keep in mind that if you enable the module caching you will have issues. All pages will show the same title.
Log in or create an account to reply.