how to call custom field in cms-code

macais
16 Posts
macais posted this 17 April 2018

Hello!

i want to load a custom field into a column / cms-code
the field is called {field 11} when I insert it with tiny directly in article.

how do I have to call it in themler/cms-code window to insert it into a specific column?

thx

Hello! i want to load a custom field into a column / cms-code the field is called {field 11} when I insert it with tiny directly in article. how do I have to call it in themler/cms-code window to insert it into a specific column? thx
Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 18 April 2018

Hi,

Exactly where you want to display the field? I don't think that the field shortcode will work on the template. This is joomla shortcode and it should work in articles and modules only. In case of article you just need to insert it as Text control or manually in the article content in joomla.

Thank you,
Olivia

Hi, Exactly where you want to display the field? I don't think that the field shortcode will work on the template. This is joomla shortcode and it should work in articles and modules only. In case of article you just need to insert it as Text control or manually in the article content in joomla. Thank you, Olivia
macais
16 Posts
macais posted this 18 April 2018

Hi,

I want to post the code into Blog Layout, maybe the picture helps.

thx

Hi, I want to post the code into Blog Layout, maybe the picture helps. thx
Support Team
Support Team posted this 18 April 2018

Hello,

You may try adding the Text control into the shown column, and then edit the text as HTML. Or did you please try adding it as CMS Code control into the column - this might also work?

Sincerely,
Nettie,
BillionDigital Team

Hello, You may try adding the Text control into the shown column, and then edit the text as HTML. Or did you please try adding it as CMS Code control into the column - this might also work? Sincerely, Nettie, BillionDigital Team
macais
16 Posts
macais posted this 18 April 2018

Hello!

The problem is, how I can call the field because like in Article only {field 11} doesn't work.

thx

Hello! The problem is, how I can call the field because like in Article only {field 11} doesn't work. thx
Support Team
Support Team posted this 18 April 2018

Hi,

I don't think that joomla can process field shortcode outside joomla article or module. Therefore you should either search for php code which can do it on the template level or use joomla module.
Theme does not control or process jooma shortcodes.

Thank you,
Olivia

Hi, I don't think that joomla can process field shortcode outside joomla article or module. Therefore you should either search for php code which can do it on the template level or use joomla module. Theme does not control or process jooma shortcodes. Thank you, Olivia
You must log in or register to leave comments