Keyword

Relocate the itemTitle

  • Caroline Moorhouse
  • Caroline Moorhouse's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 7 months ago #125838 by Caroline Moorhouse
Relocate the itemTitle was created by Caroline Moorhouse
Hi

I am struggling without luck to do the following.

I am trying to reposition the itemTitle within the itemBody but to be located just before the itemFullText

Are you able to tell me the code for the itemTitle and where do i need to put it in order to achieve this

thank you
Carolibe

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #125839 by Lefteris
Replied by Lefteris on topic Re: Relocate the itemTitle
Hi. First take a read at getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates. After that you will be able to move the title wherever you want. The item title is generated by the following code ( assuming you are talking about item page ) :
<?php echo $this->item->title; ?>

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Caroline Moorhouse
  • Caroline Moorhouse's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 6 months ago #125840 by Caroline Moorhouse
Replied by Caroline Moorhouse on topic Re: Relocate the itemTitle
thank you - working well at this end

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #125841 by Lefteris
Replied by Lefteris on topic Re: Relocate the itemTitle
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum