help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
How to add read more in the module banner
How to add read more in the module banner
7 years 8 months ago
hello,
How to add "read more" in the module banner like the responsive JEM teazer module
Your module is really great once I start studying it
thanks
How to add "read more" in the module banner like the responsive JEM teazer module
Your module is really great once I start studying it
thanks
Please Log in or Create an account to join the conversation.
Re: How to add read more in the module banner
7 years 7 months agoCode:
<a href="<?php echo $item->eventlink ?>" title="<?php echo JText::_('COM_JEM_EVENT_READ_MORE_TITLE'); ?>">
<!--<button class="jem-btn btn">-->
<?php echo JText::_('COM_JEM_EVENT_READ_MORE_TITLE'); ?>
<!--</button>-->
</a>
Insert that where you want in the view of the banner module. Uncomment the button tags to let it look like a button.
Offtopic: What do you want how the banne module should look like, if i would say i would rewrite the view to get also a responsive layout?
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Re: How to add read more in the module banner
7 years 7 months ago
hello,
thanks for your answer !
in which file i have to add your code ?
I attach an image of what I would like ....
thanks for your answer !
in which file i have to add your code ?
I attach an image of what I would like ....
Please Log in or Create an account to join the conversation.
Re: How to add read more in the module banner
7 years 7 months ago
why you don't use the title as link?
Please Log in or Create an account to join the conversation.
Re: How to add read more in the module banner
7 years 7 months ago
@Bugg
you can add the code to the file default.php.
in .../modules/mod_jem_banner/tmpl/default.php
but remember that if you don't use an template override changes will be overwritten by a future updated of JEM.
you can add the code to the file default.php.
in .../modules/mod_jem_banner/tmpl/default.php
but remember that if you don't use an template override changes will be overwritten by a future updated of JEM.
The following user(s) said Thank You: bugg
Please Log in or Create an account to join the conversation.
Re: How to add read more in the module banner
7 years 7 months ago
i had done a answer but it' s unseen...
I 'd found this file and apply, but how to add a space line between the following paragraph : your text and
<?php /* Datum und Zeitangabe:
* showcalendar 1, datemethod 1 : date inside calendar image + time
* showcalendar 1, datemethod 2 : date inside calendar image + relative date + time
* showcalendar 0, datemethod 1 : no calendar image, date + time
* showcalendar 0, datemethod 2 : no calendar image, relative date + time
*/
?>
<?php /* wenn kein Kalenderblatt angezeigt wird */ ?>
<?php if ($showcalendar == 0) : ?>
<?php if ($item->date && $datemethod == 2) >
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php endif; ?>
thanks
I 'd found this file and apply, but how to add a space line between the following paragraph : your text and
<?php /* Datum und Zeitangabe:
* showcalendar 1, datemethod 1 : date inside calendar image + time
* showcalendar 1, datemethod 2 : date inside calendar image + relative date + time
* showcalendar 0, datemethod 1 : no calendar image, date + time
* showcalendar 0, datemethod 2 : no calendar image, relative date + time
*/
?>
<?php /* wenn kein Kalenderblatt angezeigt wird */ ?>
<?php if ($showcalendar == 0) : ?>
<?php if ($item->date && $datemethod == 2) >
<div class="date" title="<?php echo strip_tags($item->dateinfo); ?>">
<?php echo $item->date; ?>
</div>
<?php endif; ?>
thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.528 seconds