Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 2:48 am (All times are UTC )

 




Post new topic Reply to topic  [ 97 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
Posted: Fri May 22, 2009 8:01 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Oct 01, 2007 11:35 am
Posts: 476
You could try looking at the javascript triggered by opening a tab, and then see if you can add to that trigger something that will hide the module using JPane. But I think it would be a lot of hassle.

_________________
www.joomlaloft.com - my joomla stuff attic


Top
  E-mail  
 
Posted: Fri May 22, 2009 12:54 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Jan 14, 2006 1:59 pm
Posts: 150
Location: Sunderland UK
With great thanks to coolparth
viewtopic.php?p=1703749#p1703749

Code:
<?php
               $my =& JFactory::getUser();
               //Followed by your code..
               if($my->id>0){
               echo "<jdoc:include type=\"modules\" name=\"right\" headerLevel=\"3\" />";
               }else
               {
               echo "<jdoc:include type=\"modules\" name=\"top\" headerLevel=\"3\" />";
               }
            ?>


I now have this working perfect,
Thanks :)

_________________
http://www.JoomlaMagazine.com
Everything Joomla
http://www.NewWorldDesigns.co.uk
Design - CMS - Ecommerce – SEO


Top
  E-mail  
 
Posted: Wed Jul 08, 2009 12:38 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Nov 04, 2006 1:39 pm
Posts: 102
Location: Hyderabad, India
If any of you are still looking for this hack for 1.0.15, for a custom module (type USER), you would have to edit custom.xml. Took me a while to figure it out, and thought it might help someone.
Thanks for the hack.

_________________
http://www.winnou.com


Top
   
 
Posted: Tue Jul 28, 2009 8:44 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Nov 07, 2005 3:45 am
Posts: 447
anyone get this working for 1.5 AND the hack for only certain users? There's no frontend.php file in 1.5...


Top
  E-mail  
 
Posted: Tue Jul 28, 2009 8:52 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7647
Location: Europe
Hi,

You can use MetaMod to do that.

Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Posted: Tue Jul 28, 2009 9:03 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Nov 07, 2005 3:45 am
Posts: 447
and that module will allow me to hide other modules or just that one module?


Top
  E-mail  
 
Posted: Tue Jul 28, 2009 9:13 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7647
Location: Europe
You can show different modules and hide any module which is loaded by that module.

Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 97 posts ]  Go to page Previous  1, 2, 3, 4

Quick reply

 



Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group