Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Custom Html module and zen shortcode

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi guys,

I'm using Lifestyle2. i would like to put in a module on my front page that spans the width of the page with what is a table of 4 columns. I would like to put in each column a testimonial. It would look a lot like the Medica (comfort for you module) docs.joomlabamboo.com/joomla-template/medica-documentation/display/front-page/comfort-for-you

can i use zen shortcode with my template? is this the right thing to do? or is there a better way?

thanks.
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi

I'm not a 100% sure how the sortcode syntax will work as it came after the release of the T3 based templates

JB Type was used with the T3 based templates

www.joomlabamboo.com/blog/joomla-extensions/zenbuttons-and-fluid-grids-come-to-jb-type

A table is a different animal than columns - the example is purely columns is that what you want to achieve?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
yes, columns is what I would like for the current project. that would be fine.
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Right so have the option of trying both plugins

I'd try using the shortcode syntax first

{zen-row}
{zen-3}
{zen-ambulance}{/zen-ambulance}
<h3>Emergency Services</h3>
<p><strong>Runner up excellence awards</strong><br />
Lorem ipsum dolor sit amet consectetur adipisicing elit. Vivamus elit velit, tempor quis ligula sed, euismod pretium neque. Maecenas aliquam quam at consequat faucibus. Mauris quis elit elit.</p>
{/zen-3}
{zen-3}
<p>{zen-heart-o}{/zen-heart-o}</p>
<h3>Accessibility</h3>
<p><strong>Three times accessibility champions</strong><br />Lorem ipsum dolor sit amet consectetur adipisicing elit. Vivamus elit velit, tempor quis ligula sed, euismod pretium neque. Maecenas aliquam quam at consequat faucibus. Mauris quis elit elit.</p>
{/zen-3}
{zen-3}
<p>{zen-medkit}{/zen-medkit}</p>
<h3>Competent Staff</h3>
<p><strong>Friendly staff 2015</strong><br />Lorem ipsum dolor sit amet consectetur adipisicing elit. Vivamus elit velit, tempor quis ligula sed, euismod pretium neque. Maecenas aliquam quam at consequat faucibus. Mauris quis elit elit.</p>
{/zen-3}
{zen-3}
<p> {zen-android} {/zen-android}}</p>
<h3>Competent Staff</h3>
<p><strong>Friendly staff 2015</strong><br />Lorem ipsum dolor sit amet consectetur adipisicing elit. Vivamus elit velit, tempor quis ligula sed, euismod pretium neque. Maecenas aliquam quam at consequat faucibus. Mauris quis elit elit.</p>
{/zen-3}
{/zen-row}

Try pasting this as a test to see if it works

This should give 4 columns with icons

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Actually paul, I saw that on the site. :P The question is, is it ok to use these plugins? will it break my site?

and btw, can you give me the link for the plugins i need to do it?

zim
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Also, I did put that code in the site, without downloading any extra plugins and it did not work. so i clearly need something else to make that work.
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
no worries this was 4 columns the site example was for just 3

the spans need to add up to 12 but its a bit moot as it didn't work at all

I'll try this myself using JB Type syntax
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
thanks. please let me know what you come up with.
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
try JB Syntax

This is a block of content that will take up quarter of the page.
This is a block of content that will take up quarter of the page.
This is a block of content that will take up quarter of the page.
This is the last block of content
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
This is a block of content that will take up quarter of the page.
This is a block of content that will take up quarter of the page.
This is a block of content that will take up quarter of the page.
This is the last block of content
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'll try attaching a text file :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

File Attachment:

File Name: jbtype_2015-12-09.txt
File Size: 0 KB


4 columns using JB Type syntax

This plugin should be installed and enabled already
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks paul. That worked. Only problem is that the left column sits RIGHT on the edge of the module. How do i add more space there?
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi

Do you have a link for the site?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Paul - i found a simpler way. I just centered the text and now it fits better.

thank you!
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
no problem

good luck with the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers