Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 44

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 > Development > Module 'How Do I' Questions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03.09.2004, 02:14   #1 (permalink)
Junior Mamber
 
darkchild's Avatar
 
Join Date: Apr 2004
Location: Toronto
Posts: 25
darkchild is on a distinguished road
Default Configuring module positions not to show in frontpage

Here is my situation: I need to have two module positions (front and user 1) to show on every page except on the frontpage. I know there is an option in Module Manager to set this


But every time you add a new menu item you would have to go back to the module manager and include that menu item in the pages that would show the module in question.
I am looking for some php code to allow me to specify certain module positions cannot show in frontpage / or visa versa.

Sometime back, i think some of the templates coming out of the mambo community had the option to show certain columns only in frontpage. i think what i am looking for is a similar concept excpet, the condition here is module positions that do not show on frontpage
__________________

Last edited by darkchild; 03.09.2004 at 03:44. Reason: adding pic
darkchild is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 03.09.2004, 05:31   #2 (permalink)
Junior Mamber
 
darkchild's Avatar
 
Join Date: Apr 2004
Location: Toronto
Posts: 25
darkchild is on a distinguished road
Default Re: Configuring module positions not to show in frontpage

Just in case someone else is having the same issue, i found the workaround in a post elsewhere in this forum:
Code:
<?php 
     
    if(!$option || $option == 'com_frontpage') { 
          include ("main_layout.html.php");           
    } else { 
          include ("content_layout.html.php"); 
    }; 

?>
you can have a look at this site: zimcanada.com
you have to login to view anything
user: mambo
pass: mambo
__________________
darkchild is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 24.09.2004, 12:44   #3 (permalink)
Baby Mamber
 
Join Date: Sep 2004
Posts: 4
fyford is on a distinguished road
Default Re: Configuring module positions not to show in frontpage

Hi There DarkChild

I need to do exactly what you did with your ZimCanada site. I am new to php and Mambo though. Would you mind sharing some more details or even your mambo-files that you have changed?

Also I am using the new stable mambo4.5.1.... not sure if that makes a difference.

Many thanks

Francois




Quote:
Originally Posted by darkchild
Just in case someone else is having the same issue, i found the workaround in a post elsewhere in this forum:
Code:
<?php 
     
    if(!$option || $option == 'com_frontpage') { 
          include ("main_layout.html.php");           
    } else { 
          include ("content_layout.html.php"); 
    }; 

?>
you can have a look at this site: zimcanada.com
you have to login to view anything
user: mambo
pass: mambo
fyford is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.08.2005, 14:05   #4 (permalink)
Baby Mamber
 
Join Date: Aug 2005
Posts: 1
eugene83 is on a distinguished road
Default Re: Configuring module positions not to show in frontpage

does anyone know about where to include the following code?
eugene83 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Show Links module v1.0 Gardener Development Announcements 4 10.08.2004 05:56
How do i Get a new section page to show up in the Module editing window? MacDaddy Module 'How Do I' Questions 2 05.08.2004 18:38
Poll shows Frontpage module?? PeterH Mambo 4.5 Bugs 0 26.07.2004 22:47
show news item like on the frontpage, but elsewhere? jasonv Mambo 4.5 'How Do I' Questions 5 22.06.2004 05:13
Module positions unclear.. vivekhyd Module 'How Do I' Questions 3 04.05.2004 12:02


All times are GMT +2. The time now is 10:54.

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.