Settings read more

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Apr 08, 2014 7:38 pm
Reply with quote
Report this post
Is the template also blocks the display of the 'read more'?
Articles in the review do not appear as a 'clean Joomla', that is, with the inscription 'read more'.
I changed the settings of the article, global settings, and unfortunately the inscription 'read more' below the article did not show up. Setting the title is a link, it works correctly.
User avatar
Junior Boarder

teitbite
Thu Apr 10, 2014 7:44 am
Reply with quote
Report this post
Hi

Please tell me the url to a page with an example of such article. Is read more line set in article properly?
User avatar
Moderator

GK User
Thu Apr 10, 2014 5:17 pm
Reply with quote
Report this post
Welcome.
This page is under test template, just I introduced the capabilities of the template with the settings. The settings should be correct, I changed little in your settings. In the appendix are shown settings of article in the menu and in the article.
ustawienia-artykulu-w artykule.jpg

ustawienia-artykulu-w-menu.jpg
User avatar
Junior Boarder

GK User
Thu Apr 10, 2014 5:24 pm
Reply with quote
Report this post
I forgot to specify the address of the page. http://nowa.anglia4u.pl/index.php/finanse
Check in the 'finanse'. :)
User avatar
Junior Boarder

teitbite
Thu Apr 10, 2014 11:13 pm
Reply with quote
Report this post
Hi

Please try edit /html/com_content/category/blog_item.php and add this code at the end of this file:

Code: Select all
<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
               <?php echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE'); ?>
</a>
User avatar
Moderator

GK User
Fri Apr 11, 2014 4:53 pm
Reply with quote
Report this post
Thank you for your help.
It appeared the inscription 'read more'.
Where can I change the color of the string or can insert a button?
Regards Janusz
User avatar
Junior Boarder

teitbite
Sat Apr 12, 2014 5:33 pm
Reply with quote
Report this post
Hi

If You want a button than add a class to this code:

Code: Select all
<a class="readmore" href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
               <?php echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE'); ?>
</a>


and than this code to css:

Code: Select all
.readmore {
    float: right;
    height: 40px;
    line-height: 41px;
    margin: 0 0 0 10px;
    padding: 0 30px !important;
    background: none repeat scroll 0 0 #EB1E00;
    color: #ffffff;
    text-transform: uppercase;
}
User avatar
Moderator

GK User
Wed Apr 16, 2014 12:23 pm
Reply with quote
Report this post
Hi - thanks for your help :)
User avatar
Junior Boarder

teitbite
Thu Apr 17, 2014 9:11 pm
Reply with quote
Report this post
Hi

No problem. Glad I could help :)
User avatar
Moderator


cron