News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How output jcfields in blog.php in Joomla 3.8.5

Started by 2dmaster, March 03, 2018, 16:00:06 PM

Previous topic - Next topic

2dmaster

i cant get custom com_fields in blog-style in Joomla /html/com_content/category/blog.php

echo $this->item->jcfields['tsena']->value; this code not work in foreach and my code following in table, and i found this code

foreach ($this->items as $i => $article)

https://docs.joomla.org/J3.x:Adding_custom_fields/Overrides


this code not works in blog

Studio 42


jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum