Keyword

Get ITEM TITLE

More
8 years 6 months ago #152615 by Usop Wilcha
Replied by Usop Wilcha on topic Get ITEM TITLE

Joe Campbell wrote: Hello @DannyOHara,

Here are two solutions that you can utilize to produce the current K2 title:

{source 0}<?php echo $this->item->title; ?>{/source}

{article k2:current}{title}{/article}

Note: you may want/need to include "0" in your source syntax:
www.nonumber.nl/extensions/sourcerer#not-using-a-wysiwyg-editor

Please let me know which solution you utilize :)

Regards,

Joe


Hi Joe

Thanks!

I've tried both of them, installed the sorcerer and contempleter free version (does this make any sense?)



Unfortunately, for now it still doesn't working

Fresh Joomla 3.5 + K2 2.7

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

More
8 years 6 months ago #152616 by Joe Campbell
Replied by Joe Campbell on topic Get ITEM TITLE
It is the form that is causing the issue.

Create a test item with both code snippets that I provided.

Please reply with results.

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


Powered by Kunena Forum