test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • softadvice Friend
    #151522

    Hello,

    I have read some posts (but no solutions) concerning following :
    – The frontpage name is equal to the name of the article on the page.

    F.Ex. If I rename my frontpage (via Menu – parameters) to “test” – the article in the middle of the page suddenly is also renamed to “Test”.

    How do I avoid the annoying ‘feature’ ? I would like to give a name to the frontpage different than the heading of my article.

    Does somebody now how to do this ?

    Nguyen Hong Friend
    #345788

    <blockquote>How do I avoid the annoying ‘feature’ ? I would like to give a name to the frontpage different than the heading of my article.</blockquote>

    Two solutions for you:
    1) In menu parameters, choose “Show Page Title”=No
    For this way, heading of your article will not display.
    2)
    – To setting heading of your article on the frontpage, open file: templates\htmlcom_contentfrontpagedefault.php, you’ll see the code:
    [PHP]
    <?php if ($this->params->get(‘show_page_title’,1)) : ?>
    <h1 class=”componentheading<?php echo $this->escape($this->params->get(‘pageclass_sfx’)); ?> clearfix”>
    <?php echo $this->escape($this->params->get(‘page_title’)); ?>
    </h1>
    <?php endif; ?>
    [/PHP]

    and replace it as you want, such as:
    [PHP]
    <h1 class=”componentheading clearfix”>
    <?php echo JText::_(‘Featured Articles’) ?>
    </h1>
    [/PHP]

    – Setting title to the frontpage in the menu parameters.

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

This topic contains 2 replies, has 2 voices, and was last updated by  Nguyen Hong 14 years, 6 months ago.

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