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

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 14.12.2004, 18:54   #11 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 35
snapadoos is on a distinguished road
Default Re: Dynamic Title Override

Quote:
Originally Posted by yipppie
!bump!

Would really like to find a solution to this one day.

will this work-it seems to be what you are looking for, although I tried it and I can't seem to get it to work. Maybe you could have a peek and share if you can get it to work as it says it does.

"...This version of the title fix, uses the title_alias if it is defined, so that you can create long effective titles. It also allows title to be passed in the url, which can be handy for linking to components where Mambo will otherwise be confused as to where the title should come from."



http://www.marsjupiter.com/mambo/con...-Mambo-Portal/
snapadoos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 15.12.2004, 01:53   #12 (permalink)
Mamber
 
Join Date: Jul 2004
Posts: 97
yipppie is on a distinguished road
Default Re: Dynamic Title Override

Hi Snapadoos,

I think i have used this before on an old version of mambo.

Its a great solution but i dont think that it works with 4.5.1

This is because the title has been defined in a different way for mambo now.

Ill have a go with it and see if i can hack it to work with 4.5.1.

If anyone else can have a go at this i will be in debt to you for the rest of my life.

yipppie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.12.2004, 02:37   #13 (permalink)
Mamber
 
Join Date: Jul 2004
Posts: 97
yipppie is on a distinguished road
Default Re: Dynamic Title Override

Nope it doesnt seem to work.

I have managed to get it into the template and the section works along with top level documents like Contact US and News (the default section that comes with mambo) but it wont work with Categories or items.

It seems like this is the same for all solutions, none of them will work with categories and items. Its a real pain in the ***, coz it seems such a simple thing.

I think the reason why it wont work is because in earlier versions of mambo, category and item lists were incorporated into the menu system of mambo. Now this has all been changed, because of the use/integration of the mymenus system in mambo, that allows you to have multiple menus.

I wish i could get every page in mambo including sections and categories to have its own specific title. Mambo is such a cool CMS, however, if i cant get this simple functionality to work , I might have to abandon it and try some other CMS because titles are too important to be overlooked.
yipppie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.12.2004, 15:57   #14 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 35
snapadoos is on a distinguished road
Default Re: Dynamic Title Override

maybe if we contacted marsjupiter.com who wrote/posts this fix they would be interested in fixing it up to work in 4.5.1a. I am also interested in getting something like this to work. marsjupiter person has already invested the time and has the knowledge of the file, maybe it is a simple thing to fix right up for us. has anyone contacted them? I will do now...
snapadoos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.12.2004, 16:44   #15 (permalink)
Junior Mamber
 
Join Date: Dec 2004
Posts: 31
jema is on a distinguished road
Default Re: Dynamic Title Override

Yep it does all seem to be changed in 4.51a, thanks for bringing this to my attention.

I will do my best to see what can be done about this.

jema
jema is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.12.2004, 17:06   #16 (permalink)
Junior Mamber
 
Join Date: Dec 2004
Posts: 31
jema is on a distinguished road
Default Re: Dynamic Title Override

I am a bit confused as to what is wanted here?

I use long titles and title alias's in 4.51.

I am not convinced that long titles in sections and categories are as important in the scheme of things as good article optimisation.

But how about this for a hack, find the menu code and make it truncate at "-" when display the item name.

So you could make your title:

About Us - All about downsizer.net

but only see "About Us" in menus.

jema
jema is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.12.2004, 17:32   #17 (permalink)
Junior Mamber
 
Join Date: Dec 2004
Posts: 31
jema is on a distinguished road
Default Re: Dynamic Title Override

So you could modify mod_mainmenu.php

at line 24:
ADD
$mitem->name = strtok($mitem->name,"-");

I am going to do this at downsizer.

jema
jema is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.12.2004, 18:04   #18 (permalink)
Mamber
 
Join Date: Jul 2004
Posts: 97
yipppie is on a distinguished road
Default Re: Dynamic Title Override

Thanks v much Jema

I really hope this works, it seems to have worked well on your site.

I will try it when i get home and if it does work, i owe you many smiley faces.

Many thanks
yipppie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15.12.2004, 20:37   #19 (permalink)
Junior Mamber
 
Join Date: Dec 2004
Posts: 31
jema is on a distinguished road
Default Re: Dynamic Title Override

I have put the hack in, but no one has altered the text yet so I am not as yet using it.

jema
jema is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16.12.2004, 00:03   #20 (permalink)
Junior Mamber
 
Join Date: Nov 2004
Posts: 35
snapadoos is on a distinguished road
Default Re: Dynamic Title Override

Quote:
Originally Posted by jema
So you could modify mod_mainmenu.php

at line 24:
ADD
$mitem->name = strtok($mitem->name,"-");

I am going to do this at downsizer.

jema

jema could you please clarify what the entire line 24 should look like - thank you!
snapadoos 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
Hide item's title MBaas Mambo 4.5.1 'How Do I' Questions 7 16.05.2005 00:06
Dynamic Page Title not working divamissx Mambo 4.5.1 'How Do I' Questions 4 03.02.2005 02:51
Page Title Bugs??? swalian Mambo 4.5.1 Bugs 2 30.11.2004 18:42
Custom Page Title dezomat Mambo 4.5 'How Do I' Questions 7 20.09.2004 02:27
How to add the content title into the web site title? gdrak Mambo 4.5 'How Do I' Questions 3 21.05.2004 12:38


All times are GMT +2. The time now is 11:36.

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.