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

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.08.2004, 00:27   #1 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 11
lauren40883 is on a distinguished road
Question Remove listing of categories on section page

Hello. I need to edit the way my content is displayed. I would like to know if it is possible to NOT display the list of categories on the main section page. I have links to these categories in my main menu and would rather not show them on the section content page.

This must be possible through a hack. I am just not sure where and what file to hack. Maybe components/com_content/content.html.php?? I am not sure.

Has anyone else tried to do this or something similar?

Please help!! Please!
lauren40883 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 13.08.2004, 04:50   #2 (permalink)
Professional Mamber
 
stingrey's Avatar
 
Join Date: Apr 2004
Location: Marikina, Manila, Philippines
Posts: 776
stingrey is on a distinguished road
Default Re: Remove listing of categories on section page

Quote:
Hello. I need to edit the way my content is displayed. I would like to know if it is possible to NOT display the list of categories on the main section page. I have links to these categories in my main menu and would rather not show them on the section content page.
Sorry I'm abit confused, if you dont list any categories in teh Section List page, than the page doesnt list anything.

In 4.5.1 Beta 4 you now have much greater control of visible elements, but I'm not sure what you mean.

Could you maybe make a screenshot of what you mean and point to the relevant area
__________________
Joomla! Core Team Member
Software Coding & Design - Stability Team Leader
www.joomla.org
Former Mambo Core Team Member
stingrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.08.2004, 11:16   #3 (permalink)
Professional Mamber
 
dot°NETt's Avatar
 
Join Date: Jul 2004
Posts: 660
dot°NETt will become famous soon enough
Default Re: Remove listing of categories on section page

Hi lauren40883,

the solution for 4.5 (1.0.9) - didn't try with 4.5.1Beta4:
Delete at the end of function showContentList () {} in components/com_content_content.html.php line 142 up to 171 (may be it's a bit different in your file):
PHP Code:
        <?php
        
if (count$categories ) > || (count$categories ) < && count$items ) < 1)) {
            foreach (
$categories as $row) {
                if (
$catid == $row->id) {
// ...
                            
<a href="<?php echo sefRelToAbs("index.php?option=com_registration&amp;task=register"); ?>">
                            ( <?
php echo _E_REGISTERED?> )</a>
                        <?php
                        
?>
                        </td>
                    </tr>
                <?php
                
}
            }
        }
      
?>
cu dot°NETt
dot°NETt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.08.2004, 11:45   #4 (permalink)
Professional Mamber
 
stingrey's Avatar
 
Join Date: Apr 2004
Location: Marikina, Manila, Philippines
Posts: 776
stingrey is on a distinguished road
Default Re: Remove listing of categories on section page

Still dont understand why you dont want to display any categories in the section page.

Wouldnt that mean you have nothing to display??
__________________
Joomla! Core Team Member
Software Coding & Design - Stability Team Leader
www.joomla.org
Former Mambo Core Team Member
stingrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.08.2004, 11:59   #5 (permalink)
Professional Mamber
 
dot°NETt's Avatar
 
Join Date: Jul 2004
Posts: 660
dot°NETt will become famous soon enough
Default Re: Remove listing of categories on section page

Quote:
Originally Posted by lauren40883
... I have links to these categories in my main menu and would rather not show them on the section content page.
My understandig was -> lauren40883 intends, that the user should use the main menu (and only the menu) to navigate and open the categories.

Why not?

cu dot°NETt
dot°NETt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.08.2004, 17:32   #6 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 11
lauren40883 is on a distinguished road
Default Re: Remove listing of categories on section page

yes dotnet you are right. I want the user to use the main menu to navigate through the different categories in the section.

and stingrey, there will still be something to display on the page. I am showing the description for that section in the main body of my page. and will have the links to the categories in the main menu.

ok I will try out the solution you posted now dotnet and let you know how it goes. thanks!
lauren40883 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.08.2004, 18:05   #7 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 11
lauren40883 is on a distinguished road
Default Re: Remove listing of categories on section page

thanks dotnet!!!!!!!

it works!!!!!!! you have made a happy Lauren!
lauren40883 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
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 19:38
Module Page Assignment with new Section MacDaddy Module 'How Do I' Questions 0 30.07.2004 01:56
Main menu - module to only display the current section with its categories? gauperaa Module 'How Do I' Questions 0 14.07.2004 16:26
Getting categories in phpshop to show on main page weavers Component 'How Do I' Questions 0 04.06.2004 15:34
AkoGallery Component -> How do I show 10 categories per page ZeroZen Component 'How Do I' Questions 2 16.04.2004 18:09


All times are GMT +2. The time now is 06:37.

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.