Page Title Question

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
submike
Posts: 50
Joined: Wed 25. Aug 2004, 17:36
Location: Chicago
Contact:

Page Title Question

Post by submike »

I set up a website with a structure as follows:

Image

When a user clicks on Missions Statement/Goals, the page title appears as:
ITC | Missions Statement/Goals | Missions Statement/Goals

I would like it to appear as:
ITC | About Us | Missions Statement/Goals

I noticed the breadcrumbs produce:
Home > About Us > Missions Statement/Goals

The only thing I can think of is to use the code for breadcrumbs, and modify "Home" to say "ITC" and the ">" marks to say "|". Does anyone have any ideas on how I can accomplish this?
Pappnase

Post by Pappnase »

hello

look at the end of the conf.default_tmplate.php!
submike
Posts: 50
Joined: Wed 25. Aug 2004, 17:36
Location: Chicago
Contact:

Post by submike »

Thanks Pappnase. I checked out include > inc_conf > cont.template_default.inc.php. However, changing the following code does not quite accomplish what I'm trying to do.

Code: Select all

$template_default["article"]["index_name"]              = 'Home';
I would like to use the current code for generating the page title, however, modify it, so it displays structure level instead of structure level followed by article. I designed/programmed the site with the following structure:

Image

Current Page Titles
ITC | Mission Statement/Goals (structure) | Mission Statement/Goals (article)
ITC | Documentation (structure) | Documentation (article)

Ideal Page Titles
ITC | About Us (structure) | Mission Statement/Goals (structure)
ITC | Research (structure) | Documentation (structure)

I think I found the breadcrumbs code (front.func.inc.php line 506), but where can I find the code that generates the <title>?

Thanks in advance for any help.
Mike
submike
Posts: 50
Joined: Wed 25. Aug 2004, 17:36
Location: Chicago
Contact:

Post by submike »

I'm thinking from the lack of responses, my question is unclear?

I want to go from this:
Image
Illinois Technology Center | Mission Statement/Goals (structure) | Mission Statement/Goals (article)

to this:
Image
Illinois Technology Center | About Us (structure) | Mission Statement/Goals (structure)

If a solution to this question has been posted on this, could you please point me in the right direction? If not, any ideas would be greatly appreciated as my deadline is approaching fast. One last thing, this post should probably go in hacks and enhancements.

Thanks in advance,
Mike
Post Reply