-
AuthorPosts
-
December 10, 2011 at 1:55 pm #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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 10, 2011 at 3:18 pm #429097Hi joaoferraz
You must create a new menu item type Category blog and choose the category you want show in a single page
December 10, 2011 at 6:10 pm #429123Hi 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!
-
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 10, 2011 at 6:26 pm #429125If 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
December 10, 2011 at 7:15 pm #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.
August 12, 2012 at 8:16 am #463936I 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
August 13, 2012 at 3:06 pm #464074Can anyone help me?
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
August 14, 2012 at 9:56 am #464179Hi 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]August 14, 2012 at 4:48 pm #464205ok i will try it! Thanks for the help.
August 14, 2012 at 5:05 pm #464208I 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 15, 2012 at 7:33 am #464269Hi 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
-
August 15, 2012 at 8:40 am #464283
i send you pm. Thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 16, 2012 at 7:38 am #464384I 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.
1 user says Thank You to Ninja Lead for this useful post
-
AuthorPosts
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, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum