Collapsing columns

Collapsing columns was created by aftertaf

Posted 9 years 10 months ago #20514
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.

Replied by ced1870 on topic Collapsing columns

Posted 9 years 10 months ago #20516
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

by ced1870
The following user(s) said Thank You: aftertaf

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

Replied by aftertaf on topic Collapsing columns

Posted 9 years 10 months ago #20524
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.

Replied by easistudio on topic Collapsing columns

Posted 9 years 10 months ago #20529
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.

Replied by aftertaf on topic Collapsing columns

Posted 9 years 10 months ago #20531
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:9 years 10 months ago by aftertaf
Last edit: 9 years 10 months ago by aftertaf. Reason: technical precision

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

Replied by ced1870 on topic Collapsing columns

Posted 9 years 10 months ago #20532

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

this always show all the positions

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.669 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1203 guests and one member online