test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in2design Friend
    #189915

    Hi

    I need to show the introtext in the bricks at the frontpage. I’ve succeeded in including the intro text with “item->introtext”. However, all tags are beeing stripped leaving the text unformatted. How can I prevent this and keep the formatting of the introtext. Modifying the helper.php settings doesn’t seem to make any difference…

    Regards

    Ninja Lead Moderator
    #503111

    I’m afraid I’m not quite getting what you are mentioning above. It would be awesome if you can possibly include URL of your site and a screenshot and description on that particular screenshot on what you would like to do. Otherwise, it’s like solving a puzzle without clue.

    in2design Friend
    #503159

    Thank you for your answer. I’m afraid that I can’t provide you with a URL as I’m developing locally.

    I’m trying to modify brick.php to include the introtext below the title.

    [PHP]
    <h<?php echo $item_heading; ?> class=”brick-title”>
    <a class=”mod-articles-category-title <?php echo $item->active; ?>” href=”<?php echo $item->link; ?>”><?php echo trim($item->title); ?></a>
    </h<?php echo $item_heading; ?>>

    <span class=”brick-description”>
    <?php echo $item->introtext; ?>
    </span>
    [/PHP]

    Using the above code kinda works but the formatting is stripped. How can I prevent the removal of the formatting? Changing helper.php doesn’t seem to do anything…

    in2design Friend
    #503263

    Any thoughts or suggestions on this matter would be greatly appreciated.

    I can get it working modifying modules/mod_articles_category/helper.php but then I’ll have to edit the file each and every time Joomla is updated.

    Ninja Lead Moderator
    #503306

    We have customized helper.php file of component content in the template: templates/ja_argo/helper/helper.php, you can use this way to work with templates/ja_argo/html/mod_articles_category/brick.php file.

    Hope it helps you to choose another way

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum