carlosuc99 Posted July 29, 2012 Report Posted July 29, 2012 Hi, I want to change the name what you see at tab of the browser. Example: In Home Page at the tab you can see Welcome but in the pilots page you can see Pilots. I think it is the name of the module but Is posibble to change this name?? Quote
Sava Posted July 29, 2012 Report Posted July 29, 2012 You can go to the actual controller of the module and change the title. Place the following code public $title = "Your title goes here"; after this class *** extends CodonModule { part Quote
Strider Posted July 30, 2012 Report Posted July 30, 2012 Remember any changes to modules that come with phpvms will be over written, and you will have to do it all again. What is it you want top name it? You want to give each page a different name? Or put Welcome on each page title? If that is what you want to do, fairly easy. Quote
Jeff Posted July 30, 2012 Report Posted July 30, 2012 This should be in your skins layout.tpl then change the name in your Admin Center to show your websites name. Then the tab will show the page title then your website name. For example if you are viewing my Pilot List page, the tab on the browser shows Pilots - Virtual Flight Zone <title><?php echo $page_title; ?></title> Quote
Strider Posted July 31, 2012 Report Posted July 31, 2012 Jeff, I think he wants specific names to come up on specific pages, the layout.tpl will just give the same page name regardless of what page you are on Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.