Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 26

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 'How Do I' Questions

 
 
LinkBack Thread Tools Display Modes
Old 13.04.2004, 12:47   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 23
caspern will become famous soon enough
Default Frontpage -> Seperate look/layout from rest of site

Hi,

i want to make a goodlooking corporate site but the main problem is see is that i cannot seperate the homepage from the rest of the website.

with this i mean that i want a custom homepage, problably with other template so i can adjust the placing of content. Offcourse you will tell me that i can chose to not show the main menu on frontpage but i hope you see the problem with this, if i do this every time a editor makes a new page, he has to go to menumanager to let them main menu show on his page.

have you guys any idea how i can do this ?
caspern is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 13.04.2004, 12:54   #2 (permalink)
Expert Mamber
 
visualdensity's Avatar
 
Join Date: Apr 2004
Location: Melbourne
Posts: 385
visualdensity is on a distinguished road
Send a message via ICQ to visualdensity Send a message via MSN to visualdensity
Default Re: Seperate front page from rest of website

Errm... sorry but I don't get what you're saying. Is there an example i.e a screenshot or something to clarify?
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
visualdensity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 13:04   #3 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 23
caspern will become famous soon enough
Default Re: Seperate front page from rest of website

i was afraid of this.

let me explain myself.

first about the seperation (or did you get that part?)

a professional, corporate site (like asml.com) normally had a front, welcoming page with some higlights or something like that.

Then, when you 'enter' you get a different layout throughout the site. That is what i want. Not just a artikel on front page with mambo to simulate this effect but a different template which is also editable through the admin section. let me say a fairly extended front page component.

The problem i have with the placing of main menu is that the only way not to show the mainmenu on frontpage is to deselect 'all' in de menu module management, which mean that i have to select all pages on which the menu must be shown by hand. So when a editor adds a product to the content, he had to think of adding the main menu to that page.. very annoying method.

i hope it is a bit more clear what i mean. Now all i need i the solution
caspern is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 13:22   #4 (permalink)
Expert Mamber
 
visualdensity's Avatar
 
Join Date: Apr 2004
Location: Melbourne
Posts: 385
visualdensity is on a distinguished road
Send a message via ICQ to visualdensity Send a message via MSN to visualdensity
Default Re: Seperate front page from rest of website

Its clearer now...

From what I've seen around different forums, you have 2 methods:

1.) Use a static page as index.html if your server has index.html as the first the first default document. However, this is a very clumsy method. At least it solves your problem.

2.) Design a template with 2 different layouts. Then use scripting code ( I did this in PHP) to detect if the page is displaying the frontpage. If yes, include a different body template else, use the main body template. Something along the lines of this:

PHP Code:
<?php 
    
    
if(!$option || $option == 'com_frontpage') { 
          include (
"main_layout.html.php");          
    } else {
          include (
"content_layout.html.php");
    };

?>
Others will be able to add more ideas to this.
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
visualdensity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 13:48   #5 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 10
scotweb is on a distinguished road
Default Re: Seperate front page from rest of website

I use the 'index.html' quite a lot. Fast and easy.

d
scotweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 14:17   #6 (permalink)
Junior Mamber
 
Jason407's Avatar
 
Join Date: Apr 2004
Location: Orlando, Florida
Posts: 27
Jason407 will become famous soon enough
Default Re: Seperate front page from rest of website

This doesn't really solve your problems, but don't forget that you can use mos_change_template like this:

Code:
index.php?mos_change_template=peeklime
to switch templates around via links.
It is cookie based, so it only effects that user. I like to do this to change the look of a site once the user is logged in.
__________________
Jason
www.jasonmurphy.net
Jason407 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 15:13   #7 (permalink)
Expert Mamber
 
visualdensity's Avatar
 
Join Date: Apr 2004
Location: Melbourne
Posts: 385
visualdensity is on a distinguished road
Send a message via ICQ to visualdensity Send a message via MSN to visualdensity
Default Re: Seperate front page from rest of website

Quote:
Originally Posted by Jason407
This doesn't really solve your problems, but don't forget that you can use mos_change_template like this:

Code:
index.php?mos_change_template=peeklime
to switch templates around via links.
It is cookie based, so it only effects that user. I like to do this to change the look of a site once the user is logged in.
However, you need the template_chooser module to be enabled for that isn't it?

This is because I tried this method without publishing the template_chooser module and it didn't work. So I had to hack it to achieve similar effect.
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
visualdensity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 14.04.2004, 00:50   #8 (permalink)
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: Seperate front page from rest of website

Nope, just tested at my site, works without.
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 27.04.2004, 21:54   #9 (permalink)
Junior Mamber
 
darkchild's Avatar
 
Join Date: Apr 2004
Location: Toronto
Posts: 25
darkchild is on a distinguished road
Default Re: Separate front page from rest of website

Quote:
Originally Posted by Jason407
This doesn't really solve your problems, but don't forget that you can use mos_change_template like this:

Code:
index.php?mos_change_template=peeklime
to switch templates around via links.
It is cookie based, so it only effects that user. I like to do this to change the look of a site once the user is logged in.
A quick one. For example, if you wanna the template for the following link
Code:
index.php?option=content&task=blogsection&id=3&Itemid=27
would you add
Code:
index.php?mos_change_template=peeklime
to the end of the link or the beginning.
__________________
darkchild is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 27.04.2004, 22:10   #10 (permalink)
Senior Mamber
 
SvenErik's Avatar
 
Join Date: Apr 2004
Location: Mo i Rana, Norway (66°19'N 14°09'E)
Posts: 214
SvenErik is on a distinguished road
Default Re: Seperate front page from rest of website

I tried it on my own site, but since I use SEF, I had to add /mos_change_template,TemplateName/ at the end of the URL. If I added it after the /component/ part of the SEF URL it worked, as in

http://www.pkf107.no/component/mos_c...page/Itemid,1/ and http://www.pkf107.no/component/optio...agazin_pkf107/.
__________________
"Every demand is a prison, and wisdom is only free when it asks nothing."
Sir Bertrand Russell
SvenErik is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seperate styling for Print Page (pop-up window) joar Mambo 4.5 'How Do I' Questions 2 16.09.2004 20:29
Live Chat Box for the front page... mattad Mambo 5.0 Wishlist 6 15.06.2004 20:11
Frontpage -> Showing items grouped by section/category lazarus_bitmap Mambo 4.5 'How Do I' Questions 6 17.04.2004 21:27


All times are GMT +2. The time now is 05:00.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.