Keyword

[solved] nuModusVersus content highlights image

  • beanbox
  • beanbox's Avatar Topic Author
  • Offline
  • New Member
More
4 years 8 months 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
4 years 8 months 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.

More
4 years 8 months ago #175418 by JoomlaWorks
Replied by JoomlaWorks 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • beanbox
  • beanbox's Avatar Topic Author
  • Offline
  • New Member
More
4 years 8 months 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.

More
4 years 7 months ago #175447 by JoomlaWorks
Replied by JoomlaWorks 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".

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • beanbox
  • beanbox's Avatar Topic Author
  • Offline
  • New Member
More
4 years 7 months 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.

More
4 years 7 months ago #175461 by JoomlaWorks
Replied by JoomlaWorks 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; ?>" />

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

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

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

More
4 years 7 months ago #175466 by JoomlaWorks
Replied by JoomlaWorks on topic [solved] nuModusVersus content highlights image
Great :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum