making templates with different columns on different pages


Author Message
Dan

Posted: 3/29/2009
Quote message 

Maybe someone can shed a little light on the method to produce a site template that will have different looking pages, for instance I want the front page in joomla to have 2 colums and the next and all following pages to have 3 columns, is this as easy as having 2 different css files and apply them using the page class suffix in joomla?

 
audra

Posted: 3/29/2009
Quote message 

I would suggest to design 3 columns and make them collapse. Then, you can assign what appears where.

See at www.test.tarawebdesigns.com
 
pac

Posted: 4/15/2009
Quote message 

How do you make it collapse :-)

Im new at this ...
 
pac

Posted: 4/15/2009
Quote message 

nevermind ... I found the solution :-)
 
JP

Posted: 4/15/2009
Quote message 

So why not tell the rest of us how you did it? ;-)
 
audra

Posted: 4/15/2009
Quote message 

I don't know if we are talking about the same thing anymore, I was talking about Joomla - and now collapsing columns are included in latest versions. :-/
 
Maurice

Posted: 4/17/2009
Quote message 

But how???? :(
 
webservant

Posted: 4/20/2009
Quote message 

THIS IS A JOOMLA RESPONSE ONLY...

Here is one way to do what you want. You need to have mulitple templates installed in yoyur template manager, let us call them template1 , template 2 and template 3.

You must have one as the defaullt, and here weI will make it template 2. Now this means that every pages that comes up will be in Template2 style (let us say that it is two columns). This is all set in the Template Manager

Now the question is, 'How do we get a page to come up looking like Template3' (let us say three column style). Well, in the Template Manger click on Template3 and you will see the Menu Assigment. So here, you can assign the template3 style to any menu selection that you like.

Now if we assigned this to say menu items Warranty and Products, these will come up as template3 style All other menu selections will come up to the default template....


Kind Regards






 
Benjie Tiu

Posted: 5/31/2009
Quote message 

How about in Wordpress? Does anybody here know how to make another template.
 
Garry

Posted: 6/2/2009
Quote message 

You can add the following to top of any template to be used and another(indivisual) template:

<?php
/*
Template Name: Links
*/
?>
 
Benjie Tiu

Posted: 6/21/2009
Quote message 

To Garry, i don't follow you....could you please explain more so that i can understand......thanks!
 
Garry

Posted: 6/21/2009
Quote message 

Quote Benjie Tiu:

To Garry, i don't follow you....could you please explain more so that i can understand......thanks!


You should open your page.php from your theme files and insert following code on top of it:

<?php
/*
Template Name: your new template name
*/
?>

and your new template will be available to be assigned to any page on your blog/site through your wordpress admin (when you add a new page you get a dropdown on your right to assign a template to that page)
 
Benjie

Posted: 7/3/2009
Quote message 

Thanks...... it did work. I renamed "your new template name" to Single Page and it was there. Wish i could also know how to make that single page really a single page... Or how about a page where i have only a right sidebar or a page where i have only a left sidebar. Could you teach me Garry.... Many thanks to you. By the way i saw a glitch on a site. If you embed video, it overlaps the sub menu on the navigation. See www.freefreestuff.org

Go on Free Offers and check out sweepstakes on the bottom. See what i mean
 
Jeffk

Posted: 7/3/2009
Quote message 

Quote pac:

How do you make it collapse :-)

Im new at this ...

To make Joomla module columns collapse just do not assign any modules to that position. So if you want no right column just have no mods set to the right position, same with the other columns. it is very simple.

 
Garry

Posted: 7/3/2009
Quote message 

Quote Benjie:

Thanks...... it did work. I renamed "your new template name" to Single Page and it was there. Wish i could also know how to make that single page really a single page... Or how about a page where i have only a right sidebar or a page where i have only a left sidebar. Could you teach me Garry.... Many thanks to you. By the way i saw a glitch on a site. If you embed video, it overlaps the sub menu on the navigation. See www.freefreestuff.org

Go on Free Offers and check out sweepstakes on the bottom. See what i mean



While creating a new page template by copying code from page.php remove following code which is associated with one of your sidebar, if your theme have two sidebars it will be two times so needed to be removed from both places :

<div class="sidebar1">
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
</div>

Can say anything after seeing the flash which overlaps
 
Benjie

Posted: 7/6/2009
Quote message 

Thanks Garry. I'll try this on my local PC because i am having trouble now on my site... If i have questions, you bet i'll be back here to ask you. Thanks a lot
 
Nick

Posted: 7/12/2009
Quote message 

All embedded videos and flash to that matter must be transparent so they would not interfere with the menus. This is not an Artisteer or any other CMS problem. You need to take care of it yourself when embedding the media. You can check Google how to do that...
 
CarlB

Posted: 8/3/2009
Quote message 

Quote Garry:

Quote Benjie:

Thanks...... it did work. I renamed "your new template name" to Single Page and it was there. Wish i could also know how to make that single page really a single page... Or how about a page where i have only a right sidebar or a page where i have only a left sidebar. Could you teach me Garry.... Many thanks to you. By the way i saw a glitch on a site. If you embed video, it overlaps the sub menu on the navigation. See www.freefreestuff.org

Go on Free Offers and check out sweepstakes on the bottom. See what i mean



While creating a new page template by copying code from page.php remove following code which is associated with one of your sidebar, if your theme have two sidebars it will be two times so needed to be removed from both places :

<div class="sidebar1">
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
</div>

Can say anything after seeing the flash which overlaps


Garry or anyone else.....

How do I then modify the new page so that the margins are re-set? For example, if I removed one side bar and now want the new page to not have the blank area where the sidebar use to be....and the content uses the total width of the page. I can implement the first part, but having trouble with getting the content to occupy the whole page.

CarlB
 
Paolo

Posted: 4/1/2010
Quote message 

:-(
please can someone help ...
I'm desperate because I can not run the exchange column ..
I put this code in the page.php head of the theme used.
<? Php
/ *
temasenzacolonna: www.associazionedonnevicentine.it / wp-content / themes / temasenzacolonna
* /
?>
but when I create a new page on the right do not see anything ...
can someone help me please, I'm sure I helped
hello
temasenzacolonna is the name of the new templates without column, while the page.php is the theme I use normally
Please help me
 
WebPro

Posted: 4/1/2010
Quote message 

If you seriously can't figure this out... WTF?
 
Paolo

Posted: 4/2/2010
Quote message 

please anyone help me?