Keyword

[solved] nuModusVersus content highlights image

  • beanbox
  • beanbox's Avatar Topic Author
  • Offline
  • New Member
More
6 months 5 days ago #175399 by beanbox
I have added an image to the content highlight but I do not see it??
Joomla 3.9.16 with K2
Also is it possible to disable the "read more"?
Attachments:

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

  • beanbox
  • beanbox's Avatar Topic Author
  • Offline
  • New Member
More
6 months 5 days ago #175401 by beanbox
Replied by beanbox on topic nuModusVersus content highlights image
For comparison of what I am trying to acheive see:

muskegongardenclub.org

New site:

mgc.beanboxweb.com

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
6 months 2 days ago #175418 by Fotis
Replied by Fotis on topic nuModusVersus content highlights image
The 2nd URL is not accessible (DNS issue).

If you control both sites, try double verifying your settings for the template.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • beanbox
  • beanbox's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 day ago #175440 by beanbox
Replied by beanbox on topic nuModusVersus content highlights image
mgc.beanboxweb.com was a test site - NOW site is live at muskegongardenclub.org. The code in index.php does not include anything for the background image (or the tagline - which also does not work), on the plus side I commented out the read more code!

<?php foreach($highlights->entries as $key=>$highlight): ?>
<li class="column large-3 small-6 mobile-4">
<div class="moduleItemBody equalHeights">
<div class="moduleItemIcon">
<?php echo $highlight->icon; ?>
</div>
<a class="moduleItemTitle" href="<?php echo $highlight->link; ?>"><?php echo $highlight->title; ?></a>
<div class="moduleItemIntrotext"><?php echo $highlight->description; ?></div>
</div>
<!--
<div class="moduleItemReadMore">
<a href="<?php echo $highlight->link; ?>"><span><?php echo JText::_('NU_READMORE'); ?></span></a>
</div>
-->
<div class="clr"></div>
</li>
<?php endforeach; ?>

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
6 months 1 day ago #175447 by Fotis
Replied by Fotis on topic nuModusVersus content highlights image
These are generic controls we use on all our templates, but the actual data may be fetched differently.

In this case, the Highlights feature only fetches icons in the frontend, not images. To change that, locate this line github.com/joomlaworks/nuModusVersus/blob/master/index.php#L73 in your index.php file and change "$highlight->icon" to "$highlight->image".

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • beanbox
  • beanbox's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 day ago #175458 by beanbox
Replied by beanbox on topic nuModusVersus content highlights image
Hmm..Is the file type or size maybe a prob?
www.muskegongardenclub.org/

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
6 months 1 day ago #175461 by Fotis
Replied by Fotis on topic nuModusVersus content highlights image
Sorry, you need to wrap this in an <img /> element, so change:
<?php echo $highlight->icon; ?>

to
<img src="<?php echo $highlight->image; ?>" />

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • beanbox
  • beanbox's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 day ago #175463 by beanbox
Perfect - Thank you for the help
www.muskegongardenclub.org/

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
6 months 1 day ago #175466 by Fotis
Great :)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum