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?

i modified links in default section view little hack at:
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

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support