Add summary parameter to Articles » Category List - Joomla! Forum - community, help and support
i have several menus set "articles » category list", displayed table file
for reasons have add summary parameter table (about line 74). hope grab summary variable article category description. find file
controls relative variables. , line 48 content need.
my question: how can migrate description category list table?
thank you
code: select all
[joomla!]/components/com_content/views/category/tmpl/default_articles.php
for reasons have add summary parameter table (about line 74). hope grab summary variable article category description. find file
code: select all
[joomla!]/layouts/joomla/content/category_default.php
controls relative variables. , line 48 content need.
code: select all
<?php echo jhtml::_('content.prepare', $displaydata->get('category')->description, '', $extension .'.category'); ?>
my question: how can migrate description category list table?
thank you
first , foremost need create override https://docs.joomla.org/j3.x:how_to_use ... _overrides
then in /templates/yourtemplate/html/com_content/category/default.php add <td> in <tr> of <thead> ... , <td> in <tr> of <tbody>. use xxxx , yyyy in new <td> tags respectively (to check have layout how want it. replace xxxx , yyyy code fetch data require.
then in /templates/yourtemplate/html/com_content/category/default.php add <td> in <tr> of <thead> ... , <td> in <tr> of <tbody>. use xxxx , yyyy in new <td> tags respectively (to check have layout how want it. replace xxxx , yyyy code fetch data require.
Comments
Post a Comment