End of Support for Joomla 3 - Forum closed

Read More only shown as text in a Blog Articel

  • DJ-Rene
  • DJ-Rene's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0

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

Posted 7 years 2 days 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:7 years 2 days ago by DJ-Rene
Attachments:
Last edit: 7 years 2 days 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 7 years 2 days 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.

  • DJ-Rene
  • DJ-Rene's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0

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

Posted 7 years 2 days 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 7 years 1 day 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:7 years 1 day ago by joomlaplates
Attachments:
Last edit: 7 years 1 day ago by joomlaplates.

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

  • DJ-Rene
  • DJ-Rene's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0

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

Posted 7 years 18 hours ago #18954
Wow, thank you very much, that works perfectly!
Last Edit:7 years 18 hours ago by DJ-Rene
Last edit: 7 years 18 hours 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/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License