help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
The Responsive JEM
Re: The Responsive JEM
6 years 10 months ago
What is a contrution? I don't get it.
In Egnart's override [mytemplate]/html/com_jem/event/default.php I propose to replace the lines in the venue section, starting at line 271
by these lines, following the settings made in event detail page > venue > link to venue:
So there too, you either show no link, a link to the venue's url or a link to a list of events at that venue. Just the same as on top of the script.
In Egnart's override [mytemplate]/html/com_jem/event/default.php I propose to replace the lines in the venue section, starting at line 271
Code:
<?php
if (!empty($this->item->venueslug)) :
echo '<a href="' . JRoute::_(JemHelperRoute::getVenueRoute($this->item->venueslug)) . '">' . $this->escape($this->item->venue) . '</a>';
else :
echo $this->escape($this->item->venue);
endif;
if (!empty($this->item->url)) :
echo ' - <a target="_blank" href="' . $this->item->url . '">' . JText::_('COM_JEM_WEBSITE') . '</a>';
endif;
?>
by these lines, following the settings made in event detail page > venue > link to venue:
Code:
<?php if (($params->get('event_show_detlinkvenue') == 1) && (!empty($this->item->url))) : ?>
<a target="_blank" href="<?php echo $this->item->url; ?>"><?php echo $this->escape($this->item->venue); ?></a>
<?php elseif (($params->get('event_show_detlinkvenue') == 2) && (!empty($this->item->venueslug))) : ?>
<a href="<?php echo JRoute::_(JemHelperRoute::getVenueRoute($this->item->venueslug)); ?>"><?php echo $this->item->venue; ?></a>
<?php else/*if ($params->get('event_show_detlinkvenue') == 0)*/ :
echo $this->escape($this->item->venue);
endif; ?>
So there too, you either show no link, a link to the venue's url or a link to a list of events at that venue. Just the same as on top of the script.
Regards,
Herbert
Herbert
The topic has been locked.
Re: The Responsive JEM
6 years 10 months ago
Thank you HerKle for your feedback.
I integrated the hint with the venue link into the next release of JEM-Responsive.
I am currently working and thinking about your change of the attachments. Yes you are right about the icons. They don't fit into the new layout. But for each file a "File:" at the beginning of the line is not the best... Eventually I or you find another "Word" for that.
I integrated the hint with the venue link into the next release of JEM-Responsive.
I am currently working and thinking about your change of the attachments. Yes you are right about the icons. They don't fit into the new layout. But for each file a "File:" at the beginning of the line is not the best... Eventually I or you find another "Word" for that.
The topic has been locked.
Re: The Responsive JEM
6 years 10 months ago - 6 years 10 months ago
Hi Egnarts,
ah, I see. I seldomly have more than one attachment for an event. But in the case of multiple files, you could
Btw: I observed strange behavior when the label name is longer than the foreseen width: Instead of hyphenating the expression and use a second line, the term is cut and an ellipse (…) added. Why is that?
ah, I see. I seldomly have more than one attachment for an event. But in the case of multiple files, you could
- either tell the loop to echo "Files" only once in the first row
- or use the file title as label
Btw: I observed strange behavior when the label name is longer than the foreseen width: Instead of hyphenating the expression and use a second line, the term is cut and an ellipse (…) added. Why is that?
Regards,
Herbert
Herbert
Last edit: 6 years 10 months ago by HerKle.
The topic has been locked.
Re: The Responsive JEM
6 years 10 months ago
Hi Egnarts,
your responsive JEM adds a second icon font (FontAwesome) – which is not needed if you use IcoMoon which is already delivered by Joomla core. Just a thought to save loading ressources…
your responsive JEM adds a second icon font (FontAwesome) – which is not needed if you use IcoMoon which is already delivered by Joomla core. Just a thought to save loading ressources…
Regards,
Herbert
Herbert
The topic has been locked.
Re: The Responsive JEM
6 years 10 months ago
The string is cut because the newline (word-break) did not work for me in some tests and some browsers as I can remember.
About IcoMoon - I never heard about that. I have to examine this option.Thank you for the hint.
About IcoMoon - I never heard about that. I have to examine this option.Thank you for the hint.
The topic has been locked.
Re: The Responsive JEM
6 years 10 months ago
I use
rather than word-break. The proprietary hyphens before the standard cover older browsers.
In this example I added it to the class sectiontableheader to achieve hyphenating when all the columns in the eventtable are activated:
Code:
-ms-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
rather than word-break. The proprietary hyphens before the standard cover older browsers.
In this example I added it to the class sectiontableheader to achieve hyphenating when all the columns in the eventtable are activated:
Regards,
Herbert
Herbert
The topic has been locked.
Time to create page: 0.660 seconds