End of Support for Joomla 3 - Forum closed

Read More only shown as text in a Blog Articel

Read More only shown as text in a Blog Articel was created by DJ-Rene

Posted 8 years 2 months ago #18924
Read More only shown as text "Read More" not as a button in a Blog article.
I use the <hr id="system-readmore" />.
How can set it up, so it looks like in the Demo of the Template, as a button?
Last Edit:8 years 2 months ago by DJ-Rene

Attachments:

Last edit: 8 years 2 months ago by DJ-Rene.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Read More only shown as text in a Blog Articel

Posted 8 years 2 months ago #18925
Hi there,
the Interior theme has no button for the Joomla article read more function.
The button is only for the modules.

If you want to have a button for the Joomla article you have to create an override.
yootheme.com/themes/documentation/developers/customization

Attachment Screenshot_8-2-3.jpg not found

Attachments:

Please Log in or Create an account to join the conversation.

Replied by DJ-Rene on topic Read More only shown as text in a Blog Articel

Posted 8 years 2 months ago #18930
Hi thank you for the quick answer, but i don't what to do, that the readmore text looks like the readmore button in the template demo

I have found this code in the default.php:
<p class="readmore">
<a href="<?php echo $link; ?>" class="register">
<?php $attribs = json_decode($this->item->attribs); ?>
<?php
if ($attribs->alternative_readmore == null) :
echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
elseif ($readmore = $attribs->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>
</p>

Can you tell me what i must set here?
by DJ-Rene

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Read More only shown as text in a Blog Articel

Posted 8 years 2 months ago #18934
Hi there,
you have to copy the file:
..\jp-interior\warp\systems\joomla\layouts\article.php
to
..\jp-interior\layouts\article.php
and add a class uk-button to the read more link.

Attachment Screenshot_1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20.jpg not found



I have add the file with modified read more. Please copy this file to the folder:
..\jp-interior\layouts\article.php

Attachment article-2-3-4-5.zip not found

Last Edit:8 years 2 months ago by joomlaplates

Attachments:

Last edit: 8 years 2 months ago by joomlaplates.

Please Log in or Create an account to join the conversation.

Replied by DJ-Rene on topic Read More only shown as text in a Blog Articel

Posted 8 years 2 months ago #18954
Wow, thank you very much, that works perfectly!
Last Edit:8 years 2 months ago by DJ-Rene
Last edit: 8 years 2 months ago by DJ-Rene.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

JoomlaPlates

Professional Joomla Templates with rich documentation and support since 2008. 60+ templates for Joomla 5 & 6.

Joomla 4 Joomla 5 Joomla 6
Contact & Legal
  • support@joomlaplates.com
  • Support Team
  • Mon-Fri: 9:00-18:00 CET

© JoomlaPlates. All rights reserved. 2008 - 2026

JoomlaPlates is not affiliated with or endorsed by the Joomla! Project. Joomla! is a registered trademark of Open Source Matters, Inc.