test
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • joaoferraz Friend
    #171679

    Hi,
    How can I make the content of “Top rated hotels in france” open in another page (Clean without modules) and not on the frontpage?

    Thanks in advance!

    pavit Moderator
    #429097

    Hi joaoferraz

    You must create a new menu item type Category blog and choose the category you want show in a single page

    joaoferraz Friend
    #429123

    Hi pavit, thanks for your reply.

    I want to open the articles that are on the front page on another page.
    These articles (Top rated hotels in france), when we click on “Read More” are opened on the same page (in frontpage).
    Please take a look at the pictures attached.

    Rgds!


    1. travel01
    2. travel02
    pavit Moderator
    #429125

    If you want this you must create a new menu item with the category associated to it

    if you can send me via PM your account details i can do for you one as example

    joaoferraz Friend
    #429134

    <em>@pavit 288448 wrote:</em><blockquote>If you want this you must create a new menu item with the category associated to it

    if you can send me via PM your account details i can do for you one as example</blockquote>

    I don’t want to create a new menu item. I know how to create menu items.

    I want, like all existing templates, when I click “Read More” in an article in the content area of the frontpage, this article opens in a new page. Simple as that.

    In this template (Ja_Travel) when you click “Read More” in an article, it opens in the right column and at the bottom of the same page of the template.

    If the text of the article is very large and contains images, blow the page, taking into consideration that the column width is too thin for a full article.

    kills the template.

    speedakias Friend
    #463936

    I have the same problem. I want to open in a new page and not in frontpage.
    Is there any solution?

    My website is cinqueterrevillages.com

    speedakias Friend
    #464074

    Can anyone help me?

    MoonSailor Friend
    #464179

    Hi speedakias,

    If you want the click “readmore”, to open in a new page and not in frontpage you need to customize template.

    If you want to click title – go to file “templates/ja_travel/html/com_content/featured/default_item.php” line 138:

    [PHP]
    <a href=”<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>”>
    [/PHP]

    change to :
    [PHP]
    <a target=”_blank” href=”<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>”>
    [/PHP]

    If you want click read more: line 185
    [PHP]
    <a target=”_blank” href=”<?php echo $link; ?>”>
    <?php if (!$params->get(‘access-view’)) :
    echo JText::_(‘COM_CONTENT_REGISTER_TO_READ_MORE’);
    elseif ($readmore = $this->item->alternative_readmore) :
    echo $readmore;
    if ($params->get(‘show_readmore_title’, 0) != 0) :
    echo JHtml::_(‘string.truncate’, ($this->item->title), $params->get(‘readmore_limit’));
    endif;
    elseif ($params->get(‘show_readmore_title’, 0) == 0) :
    echo JText::sprintf(‘COM_CONTENT_READ_MORE_TITLE’);
    else :
    echo JText::_(‘COM_CONTENT_READ_MORE’);
    echo JHtml::_(‘string.truncate’, ($this->item->title), $params->get(‘readmore_limit’));
    endif; ?></a>
    [/PHP]
    change to :

    [PHP]
    <a href=”<?php echo $link; ?>”>
    <?php if (!$params->get(‘access-view’)) :
    echo JText::_(‘COM_CONTENT_REGISTER_TO_READ_MORE’);
    elseif ($readmore = $this->item->alternative_readmore) :
    echo $readmore;
    if ($params->get(‘show_readmore_title’, 0) != 0) :
    echo JHtml::_(‘string.truncate’, ($this->item->title), $params->get(‘readmore_limit’));
    endif;
    elseif ($params->get(‘show_readmore_title’, 0) == 0) :
    echo JText::sprintf(‘COM_CONTENT_READ_MORE_TITLE’);
    else :
    echo JText::_(‘COM_CONTENT_READ_MORE’);
    echo JHtml::_(‘string.truncate’, ($this->item->title), $params->get(‘readmore_limit’));
    endif; ?></a>
    [/PHP]

    speedakias Friend
    #464205

    ok i will try it! Thanks for the help.

    speedakias Friend
    #464208

    I changed it but nothing happen. When i press the title it opens in new window and in front page. When i press the read more button it appears in front page.
    Anything else?

    Ninja Lead Moderator
    #464269

    Hi speedakias,

    Please roll back everything you have changed to default settings and follow with my suggestion as below:

    + Create new menu

    + Clear cache from backend area

    If you still face any error please PM me with URL, admin access. I will help you out of the maze.

    Regards


    1. Create-Menu
    2. Blog-layout-setting
    speedakias Friend
    #464283

    i send you pm. Thanks

    Ninja Lead Moderator
    #464384

    I have spent my time checking issue on your site. When i disabled sh404 component(3rd party) and clear cache, your site is working well now. Please check it again.

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

This topic contains 13 replies, has 5 voices, and was last updated by  Ninja Lead 12 years, 4 months ago.

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