Quote from: PaulGregory at Jul 17, 2006, 08:34 AM
It looks like the answers thus far have concentrated on changing the page output to have a different title.
But the top post says "the title of a page given in MODx manager". So persepolis, is it just public title display that you want to change, or do you need the page titles in the manager to change also? And is this a one-time change? Does one MODx page display different data depending on other variables?
Hello Paul,
the idea is to store a lot of companies data within my own tables.
These data are used outside of the CMS too.
So if the official name of a department changes the changes have to be reflected by the web sites - the easiest way is to retrieve the data from my tables instead of changing the page titles within MODx too.
Actually within MODx the titles for the department sites are not really important (but for the other sites, therefore the template contains the code
)
I hope I exlained that clearly.
I think my way works fine - it is just ugly to query the database for every web site. Actually there might be 100 sites and maybe 20 departments, so narrow the plugin just to the sites needed would be good
Holger