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

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 08.07.2004, 15:56   #1 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 8
fishboy is on a distinguished road
Default pathway question - remove the last bit?

Hi, I’m looking for an answer that’s been bugging me for a while. Basically I would like to miss off the final section of the paththway (the article name) so that when you are reading the article you only see the links for the home and category section etc.

So for example, if you were reading and article called Tutorial 1 the pathway would normally show this..

Home > Category > Sub Category > Tutorial 1

What I would like is to miss of the end bit and only show this…

Home > Category > Subcategory

The reason why is that I don’t see the point of having the title of the article appear on the page twice, once in the pathway links and once as the actual title of article itself. Also articles with long title names make the pathway look really ugly!

I assume I just need to delete a section from the pathway.php file but I can’t seem to find which bit to remove.

Hope this makes sense and that somebody out there has the answer

Cheers;
Paul.
fishboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 08.07.2004, 18:52   #2 (permalink)
Mamber
 
manuman's Avatar
 
Join Date: Apr 2004
Location: Western Australia
Posts: 106
manuman is on a distinguished road
Default Re: pathway question - remove the last bit?

Back up as I haven't fully tested this but it seems to do what you want.

Open pathway.php in you Mambo root folder.

At about row 233 find...

PHP Code:
$newlink "  $item->name";{ 
And replace with...

PHP Code:
$newlink "";{ 
That should do it.
__________________
Joomla! Core Team Member :: Documentation Team Co-Leader ::www.joomla.org
The J! Factory :: http://www.thejfactory.com
manuman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.07.2004, 19:24   #3 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 8
fishboy is on a distinguished road
Default Re: pathway question - remove the last bit?

Ohhh... that's close.

I did what you said and it does kinda work.

Now when yuo are in the article the pathway is exactly what i want (abnd all hyperlinked)...

home > news > category

Unfortunately now when you go to.... www.domian.com/news/

rather than the pathway showing...

home > news

it only shows...

home

ond not hyperlinked so it just looks like some floating text.

Maybey tweaked a little this could be it?

Any further ideas as i'm finding it a little tricky to follow the code in pathway.php

Cheers
Paul.
fishboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.07.2004, 19:44   #4 (permalink)
Mamber
 
manuman's Avatar
 
Join Date: Apr 2004
Location: Western Australia
Posts: 106
manuman is on a distinguished road
Default Re: pathway question - remove the last bit?

Yes I noticed that... it will be the case for any first level paths as if your at news the until you go into a news item; news is the last level and hence it will not display (did that make any sense??? ) Thats the trade off. The only thing I can suggest is that you adjust the code so that the pathway does not display unless your at a second level path.
__________________
Joomla! Core Team Member :: Documentation Team Co-Leader ::www.joomla.org
The J! Factory :: http://www.thejfactory.com
manuman 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
Pathway for Blog Category article PeterH Mambo 4.5 General Talk 3 14.08.2004 05:36
Pathway display issue? akuate Template Discussions 1 07.07.2004 23:46
Show com_frontpage in pathway noobnuggets Mambo 4.5 'How Do I' Questions 3 21.06.2004 20:59
Pathway through out website.... traderx Mambo 4.5 'How Do I' Questions 0 17.06.2004 20:48
problem mit pathway blog_section moremiles Mambo 4.5 Allgemein 0 08.06.2004 17:39


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

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.