Shape 5

Joomla Club Extensions => Masonry - Club => : pvz77 August 05, 2015, 07:27:53 AM



: Sorry, posted in wrong thread, please remove...
: pvz77 August 05, 2015, 07:27:53 AM
Hello, I just signed up, mainly because the Masonry extension which I just installed.
2 questions:
How do I get it to look as in the demo ( http://www.shape5.com/demo/content_king/images/masonry1.jpg )?
I also want to know how to limit the text (to for example 20 words, then"...") if possible?

As I said I just signed up so sorry if I've posted in the wrong area of the forum or something...
Thanks/Per


: Re: Sorry, posted in wrong thread, please remove...
: jonahh August 05, 2015, 11:53:01 AM
Hello,

The word limit is depended on where you place the read more in the actual articles.  Just place in each article where ever you want the module to cut off the text at.


: Re: Sorry, posted in wrong thread, please remove...
: pvz77 August 05, 2015, 12:35:33 PM
Hello,

The word limit is depended on where you place the read more in the actual articles.  Just place in each article where ever you want the module to cut off the text at.

Hello,
thanks for your reply.

I also notice I can't display the date?!


: Re: Sorry, posted in wrong thread, please remove...
: jonahh August 05, 2015, 02:24:17 PM
Yes this feature was added to the module by default, so there is no way to do this.


: Re: Sorry, posted in wrong thread, please remove...
: pvz77 August 05, 2015, 03:42:05 PM
OK, could you please point me towards a similar extension which can display dates?
Cause I like the extension and it looks good now after a few modifications, but I will party use it to display latest news so no use without the dates...


: Re: Sorry, posted in wrong thread, please remove...
: jonahh August 06, 2015, 12:30:03 PM
I just checked and if you want to add the date you can open up the following file:

\modules\mod_s5_masonry\tmpl\_item.php

And add the below wherever you desire it to output (above the title, below the title, etc):

:
 <?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON'JHtml::_('date'$item->createdJText::_('DATE_FORMAT_LC3'))); ?>