Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Collapsing columns

More
12 years 5 months ago #20514 by aftertaf
Collapsing columns was created by aftertaf
Based on joomla doc: docs.joomla.org/Collapsing_columns

I've added the custom code to the template in Template Creator:
Code:
<?php if ($this->countModules( 'mainright' )) : ?> <div class="mainright"> <jdoc:include type="modules" name="mainright" style="xhtml" ></jdoc:include> </div> <?php endif; ?>
but its not applying.
using version 3.3.7 (3rd time i upgrade and it just gets better :) )

I was just wondering if its very obvious what I'm doing wrong . . .
Its the 'right' module in the MainContent element that i'm trying to only use on one part of the site (by assigning it a module) and not have the space reserved when on the rest of the site and modules isn't displayed.

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

More
12 years 5 months ago #20516 by ced1870
Replied by ced1870 on topic Collapsing columns
Hi

3rd time i upgrade and it just gets better :)

cool ! :)

by default this is already included into template creator, if you don't publish any module in the position you have defined it will not be displayed.

you don't have to add such custom code.
CEd

Joomlack Webmaster and Developer
The following user(s) said Thank You: aftertaf

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

More
12 years 5 months ago #20524 by aftertaf
Replied by aftertaf on topic Collapsing columns
That's what I thought but it isn't collapsing.
I do publish a module there but only on the blog menu...
Not fishing for support I didn't pay for (not a big joomla user as its for my gf's site) but its on here... WWW.socouture.fr

I have had to set 'center' width to 100% or she tells me off as its not centré... ;)

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

More
12 years 5 months ago #20529 by easistudio
Replied by easistudio on topic Collapsing columns
Actually it's not collapsing for me either in the latest version.
The following user(s) said Thank You: aftertaf

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

More
12 years 5 months ago - 12 years 5 months ago #20531 by aftertaf
Replied by aftertaf on topic Collapsing columns
Hmmmmmmm,
Hmmmmmmmmmmmm,

I just checked the module via ?tp=1... It was visible and taking the 20% defined but was empty...
I was logged in on frontend as admin so got the option to modify the module at this place...

It was a blog-type link (blogroll) that is empty of content in joomla, but was published.....
Fail!

Unpublished it and we're good
Last edit: 12 years 5 months ago by aftertaf. Reason: technical precision

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

More
12 years 5 months ago #20532 by ced1870
Replied by ced1870 on topic Collapsing columns

I just checked the module via ?tp=1... It was visible

this always show all the positions

Joomlack Webmaster and Developer

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

Time to create page: 0.203 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 869 guests and one member online