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

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 > Mambo 4.5.1 > Mambo 4.5.1 'How Do I' Questions

Reply
 
LinkBack Thread Tools Display Modes
Old 02.02.2005, 16:13   #1 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 20
be2004 is on a distinguished road
Question Instantiating the Component Name in the title.

Hello, I wonder can someone help.

On the front page of my site: I would like to have the <title>:
Quote:
Frontpage :: BonoEstente.com :: Living & Working in Germany
in which the frist word 'Frontpage' could come from parsing the 'com_frontpage' component title. On the weather page:I would like to have the title:
Quote:
Weather :: BonoEstente.com :: Living & Working in Germany
where again the 'Weather' part could come from the 'com_weather' component title. The same would apply to 'Forums', 'Guestbook', 'Contact Us' etc etc. I have the word 'Contact' present in the title of the 'Contact Us' page and also the content title on each of the content pages. How would I do this for my own com_weather page?

I have tried to find a way in the mambo.php file and also in the com_weather/weather.php page, for example, but have had no luck so far. Can anyone help as to how I can instantiate this variable into the <title> tag, perhaps in the template or whatever?

Also, if this is possible, I have a variable '$v_city' in my weather component which I would also like to add the title, such as it would give:
Quote:
Berlin Weather :: BonoEstente.com :: Living & Working in Germany
Does anyone have any ideas? I have seen some similar topics on the board but have been unable to find one that fits
Appreciative of any help/advice.

Dave
be2004 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 02.02.2005, 16:20   #2 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 20
be2004 is on a distinguished road
Default Re: Instantiating the Component Name in the title.

ooops, found it:

$mainframe->setPageTitle( 'title extra text here' );
be2004 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
Users Component Under Development MamboJoe Component Development 50 21.04.2006 17:45
Jinzora 1.1rc2.1 Component for Mambo 4.5 1.0.9 sacr0 Development Announcements 6 21.04.2005 06:37
Classifieds component released zvonci Development Announcements 6 28.01.2005 19:43
A6 MamboCredits - Fair Use... zorkhh Community Smalltalk 134 04.01.2005 22:55
anyone switched to communitybuilder component?? champie Mambo 4.5.1 'How Do I' Questions 4 10.12.2004 09:42


All times are GMT +2. The time now is 14:55.

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.