The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Sat Jun 20, 2009 6:18 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 16, 2009 6:56 am
Posts: 26
i am new to joomla.just now started developing a simple project. which involves many internal links that i took it from category blog layout which displays the corresponding articles.
now i put the tab system ,i used gavick tabmanager 3 and i wrote the coresponding code in the index page only,default it is displaying in front page.

<?php if($this->countModules('tab1') and JRequest::getCmd('layout')!='form'): ?>

<div id="tabs1" align="center">
<jdoc:include type="modules" name="tab1" />
</div>
<?php endif;?>

this is the code what i wrote to display the tabsystem.

but now my problem is when i click any of links it will show the corresponding data but it is showing the tab system also which i dont want to display it on my second page, is there any module which helps me, or any code i need to write to restrict the display on next page.because in the module of GK3 there is no option to do it.. please any one can help me..

reagrds

prathiba


Top
 Profile  
 
PostPosted: Tue Jul 07, 2009 4:49 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Oct 24, 2008 5:35 am
Posts: 671
Location: Adodis Technology Pvt Ltd, Bangalore
Dear prathiba,

Use this code.
<?php if($this->countModules('tab1') && (JRequest::getCmd('layout')!='form')): ?>

<div id="tabs1" align="center">
<jdoc:include type="modules" name="tab1" />
</div>
<?php endif;?>

And In the admin side have option make it to display the page.
So you have to disable this module for homepage from admin side.

_________________
http://www.outsource-website-design.com/ - Outsource Your Website Design and Development
http://www.ecommerce-web-developers.com/ - ECommerce Web Development


Top
 Profile  
 
PostPosted: Tue Jul 07, 2009 5:50 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 16, 2009 6:56 am
Posts: 26
ok.. thanks for the reply, but can u assist me how can i hide the module display from the admin side...waiting for reply

reagrds
prathi


Top
 Profile  
 
PostPosted: Tue Jul 07, 2009 6:10 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Oct 24, 2008 5:35 am
Posts: 671
Location: Adodis Technology Pvt Ltd, Bangalore
Login to Admin panel

Modules->Site modules->Select your module
Now you can select to display which pages.
See the attachment.
If you need any other help , Please post me.


You do not have the required permissions to view the files attached to this post.

_________________
http://www.outsource-website-design.com/ - Outsource Your Website Design and Development
http://www.ecommerce-web-developers.com/ - ECommerce Web Development


Top
 Profile  
 
PostPosted: Tue Jul 14, 2009 11:56 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 16, 2009 6:56 am
Posts: 26
ok.. thanks for ur reply.. but i am using joomla 1.5 . i dint get anywhere that site module as it is oomla 1.5, can u please help me how can i achieve module hiding for 1.5..


Top
 Profile  
 
PostPosted: Tue Jul 14, 2009 12:19 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 16, 2009 6:56 am
Posts: 26
please can anyone help me in hiding the modules on front page


Top
 Profile  
 
PostPosted: Fri Aug 28, 2009 6:06 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Jul 23, 2007 1:48 pm
Posts: 81
Location: Sweden
I have a similar problem. My FrontPage is a category blog page. On frontpage I have a modul with welcome-message and image above the blog. When clicking on read more for blog-item the module shows again. Is there a way not to come around this?


Top
 Profile  
 
PostPosted: Sun Dec 13, 2009 10:54 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Sun Feb 08, 2009 5:10 pm
Posts: 275
If I am not mistaken, it seems to me that this is a misfunction/problem with Joomla core. Modules assigned to the homepage Only will still show in couple of pages. I have been having the same problem.
Any solution to this issue shall be appreciate.
Thanks

_________________
- http://www.divulgaterium.com: Divulgaterium - Free Business Website Directory
- http://www.egliseprimitive.org: Christian Website


Top
 Profile  
 
PostPosted: Mon Dec 14, 2009 6:19 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Jul 23, 2007 1:48 pm
Posts: 81
Location: Sweden
I use the meta-mod module. There You can set a module only to be shown in frontPage. http://www.metamodpro.com/


Top
 Profile  
 
PostPosted: Mon Dec 21, 2009 6:09 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Dec 21, 2009 5:59 pm
Posts: 1
Hi all,

I am new to joomla too, and I am facing the same problem,i can't hide the module display from the admin side.

_________________
"Creativity is the key" - Jared Eric, Copywriter of [url=http://[spam].com/hub/hostgator_coupon]HostGator Coupon[/url]


Top
 Profile  
 
PostPosted: Tue Dec 22, 2009 6:22 am 
Joomla! Intern
Joomla! Intern

Joined: Mon Jul 23, 2007 1:48 pm
Posts: 81
Location: Sweden
Have you tried meta-mod?


Top
 Profile  
 
PostPosted: Sat Jan 09, 2010 12:05 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Mon Mar 09, 2009 9:54 am
Posts: 459
Location: Dallas, TX
Quote:
i am new to joomla.just now started developing a simple project. which involves many internal links that i took it from category blog layout which displays the corresponding articles.


Quote:
but now my problem is when i click any of links it will show the corresponding data but it is showing the tab system also which i dont want to display it on my second page, is there any module which helps me, or any code i need to write to restrict the display on next page.because in the module of GK3 there is no option to do it.. please any one can help me..


The way you are doing it is not good, especially if you don't want to display the tab module in the whole site.

If you want to accomplish this task by adding the code in your index.php, I will recommend doing it this way.

Ok I'm going to give a solution as an example.

You have your blog categories and you are creating links out of those categories.

Step 1. You will need to create a new MENU inside MENU MANAGER on the administrator side.

Example Menu Blog Links

Step 2. Duplicate your whole template. For instance if you have a template called rhuk_milkway, copy the template and on that copy insert your GK tab code inside the index.php. Then rename that template to probably rhuk_milkway2.

As a result, you will have two templates. One with the code in the index.php and the other without the code.

Step 3. Zip your new modified template and install it on your administrator side.

Step 4. Assign the modified template (the one with the GK code on the index.php) to the home page.

Step 5. Then finally assign the other template (the one without the code on the index.php) to the rest of the website.

This is only one solution and there will be more problems of course. Now the new menu you create on the menu manager (Ex. Menu Blog Links). You will be creating link pages inside that menu so you can assign modules and templates to those pages.

If you want to hide a module on Joomla 1.5

Go to Extensions --> Module Manager --> and click on Your Module

Inside there under the Menu assignment section, choose on what pages do you want to display your module.

If you are inserting a module code through the index.php have in mind that everything you insert there, will be appearing on the whole website, and you will be going through more steps in order to make it appear on one page only.

NOTE: I will recommend for those coming to this same question. Post the message on the Joomla 1.5 board. index.php

_________________
http://cmsteachings.com - Joomla Tips & Tutorials
http://ubrainmedia.com - My Joomla Company

My Joomla Advice is my personal experience. It does not means I am right or wrong. It just means that I work with Joomla in my own way and it works for me.


Top
 Profile  
 
PostPosted: Mon Feb 21, 2011 1:48 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 10, 2011 1:25 pm
Posts: 29
Location: Israel
No no gentlemen, we should not touch the code of templates at all to show modules on certain pages and hide them on other pages... This should be dome from the settings of the module and therefore there is "Menu assignment" in the settings of each module...

This problem seems has repeated itself in Joomla 1.6... Because I have the same problem as you, and I believe this is a bug in joomla 1.6... I also created a thread and hopefully some expert will appear soon to answer our question...

The link to my thread is:
viewtopic.php?f=615&t=595942

Regards/Jerod


Top
 Profile  
 
PostPosted: Fri Jun 15, 2012 4:01 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue Nov 04, 2008 12:34 am
Posts: 314
Location: On the far side of the moon and/or under your chair
kalby wrote:
I use the meta-mod module. There You can set a module only to be shown in frontPage. http://www.metamodpro.com/


Hmm... What if the modules are assigned to the frontpage as desired, but the register page is part of the frontpage in my case, because I have jomsocial set as the homepage... How can I make it so the news modules do not show when a user clicks the join button?

_________________
CriticalUnity.org - Need to Know Info
===> Clarifying conspiracy realities of mass deception for Humanity before it's too late....
THE TIME IS NOW to investigate!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


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® Forum Software © phpBB Group