Modify Section Default View Contents - Joomla! Forum - community, help and support
i can modify output of article or category blog using onpreparecontent , expresions $row->text or $row->title. no problem that.
but have section default view , if make var_export $row see it's empty.
where can find it's contents? need modify links categories in order filter "?layout=default" part (i don't understand why) automatically added end of links.
any ideas?
but have section default view , if make var_export $row see it's empty.
where can find it's contents? need modify links categories in order filter "?layout=default" part (i don't understand why) automatically added end of links.
any ideas?
i modified links in default section view little hack at:
components/com_content/views/section/tmpl/default.php
just before:
i added line:
but still through plugin instead of hack.
how can that?
components/com_content/views/section/tmpl/default.php
just before:
code: select all
<a href="<?php echo $category->link; ?>" class="category">
i added line:
code: select all
$category->link = str_replace ( "?layout=default", "", $category->link );
but still through plugin instead of hack.
how can that?
Comments
Post a Comment