17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 6018 Views |
-
Re: Page Titles

2 August 2007 at 10:09am Last edited: 2 August 2007 10:10am
I was more suggesting a solution that didn't require hacking the code - I would have thought having a custom title would be a pretty wide-spread requirement of any website
-
Re: Page Titles

2 August 2007 at 10:16am
Well, it's more of a bug fix than a hack - that's the way it was supposed to be done, it was just broken.
But you're right, there should be somewhere in the CMS to set/edit site-wide variables, like the site name, tag-lines etc. Maybe also setting default Meta-data that individual pages can append their keywords etc to. Clicking on the "Site Content" globe in the tree seems like a logical place to me.
Didn't I read somewhere that someone's working on a GUI for editing _config.php stuff?
-
Re: Page Titles

2 August 2007 at 12:33pm Last edited: 2 August 2007 12:33pm
It's not always the optimal solution to move everything from _config.php to a GUI, especially one that your clients can access. ;-) (like letting them change the project code, which would be bad).
But you're right, ones that should be global like the name of the site could be accessed in the CMS directly, leaving the _config.php for more core configuration.
Cheers,
Sean -
Re: Page Titles

2 August 2007 at 12:38pm
Yeah, that was my thinking - you only want the GUI to be able to edit certain settings - namely those that the client should actually care about or have a reason to change. You'd probably want the developer to define what can and can't be set by the client.
-
Re: Page Titles

20 September 2007 at 12:57am
Any chance this still works in the new rc1?
I know I can set the title in the metatags tab, but I want what's done here: put the name of the site in front of the 'page' title.
I put this in my page.ss:
<title>$Title.XML - $SiteName</title>
$MetaTags(false)and this in _config.php
global $SiteName;
$SiteName = "MySiteName";But it doesn't seem to work...
| 6018 Views | ||
| Go to Top | Next > |




