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 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?
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.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
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
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
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
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 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?
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.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
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.
I have add the file with modified read more. Please copy this file to the folder:
..\jp-interior\layouts\article.php
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
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
Last Edit:7 years 1 day ago
by joomlaplates
Last edit: 7 years 1 day 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 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