Members: 16,996
Threads: 38,831
Posts: 159,349
Online: 34

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
Old 04.07.2005, 20:10   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2005
Posts: 9
sheki is on a distinguished road
RedCross Switch option (Module management)?

I would like to show switch left position to user6 ie. right to user7 between frontpage and other pages.

Momentally I try to use this:

switch ($option) {
case 'com_frontpage': //show home page template
include_once ('front.php');
break;

default: // DEFAULT FOR ALL
include_once ('inner.php');
break;


But this doesn't work, because com_frontpage is not setted as frontpage... My frontpage is mos_tree component. So where is the problem. I must show as an frontpage, com_tree component. But when do you go deeper in this component (click on some category), it must be shown some other modules (not modules in right in left position (user6,user7)....

So this upper script should have additional parameter check. I suggest if is task empty, then is inner.php.... But how check component and task?!??!

Anny kind of help will be ...hmmm... great
sheki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 18.09.2005, 22:41   #2 (permalink)
Mamber
 
Join Date: Nov 2004
Location: Arizona, US
Posts: 105
designveteran is on a distinguished road
Default Re: Switch option (Module management)?

Why don't you make two templates with the different module positions and then assign them to the appropriate pages?
designveteran is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 19.09.2005, 10:08   #3 (permalink)
Baby Mamber
 
Join Date: Apr 2005
Posts: 9
sheki is on a distinguished road
Default Re: Switch option (Module management)?

I already solved this problem with task option...

like elseif (($option == 'com_mtree') && ($task != '')) {

br,
a.
sheki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
First web camera module for mambo 4.5.1 noobnuggets Development Announcements 4 13.11.2005 11:26
switch template and newsflah module gamon Mambo 4.5.1 'How Do I' Questions 1 11.05.2005 16:24
Module -> unable to use 'Install from Directory' option afru Module 'How Do I' Questions 7 04.01.2005 14:37
Please help my hosting runs out soon! The Devil Mambo 4.5 Bugs 11 03.09.2004 20:28
Sections/pages not available in module management options aly Mambo 4.5 Bugs 6 07.08.2004 05:40


All times are GMT +2. The time now is 01:50.

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.