10 years ago
1
Topic
If you want to use the standard Joomla archive with Seblod articles you will get a problem because all the Seblod syntax will be visible.
In order to remove all the Seblod tags in your archive articles you have to use a template override of the following template: com_content/archive/default_items.php.

Find the line where the introtext is loaded and replace this line with the following code snippet:

<?php
$introtext = JHtml::_('string.truncateComplex', $item->introtext, $params->get('introtext_limit'));
$introtext = preg_replace('/::[^>]*::/', '', $introtext);//removing Seblod tags from text
$introtext = str_replace('<br /><p>', '<p>', $introtext);//removing useless br-tags
echo $introtext;
?>

I have tested it with Joomla 3.2 and it works.

Hope this will help you

Jürgen
Get a Book for SEBLOD
8 years ago
0
Level 1

Thanks for this, can you give me more information as to exactly which bit to replace?  Will this work for archive articles module too?

Get a VIP membership