- Posts: 4
COMMUNITY FORUM
K2 Content Module - Get the Page Title
- Rob
-
Topic Author
- Offline
- New Member
Less
More
12 years 11 months ago #67772
by Rob
K2 Content Module - Get the Page Title was created by Rob
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
Log in or Create an account to join the conversation.
- Rob
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 4
12 years 11 months ago #67773
by Rob
Replied by Rob on topic Re: K2 Content Module - Get the Page Title
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:
Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
12 years 11 months ago #67774
by Lefteris
Replied by Lefteris on topic Re: K2 Content Module - Get the Page Title
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.
Please Log in or Create an account to join the conversation.