roboa Posted March 18, 2009 Report Share Posted March 18, 2009 Hi, When a page is added the system automatically includes a title in the top left corner like this. Is there a way to remove it? many thanks Quote Link to comment Share on other sites More sharing options...
RogerB Posted March 18, 2009 Report Share Posted March 18, 2009 Yes there is. go in to core/modules/pages/pages.php........there is some code for including the title, just remove it...Or just don't put a title.....either way. Quote Link to comment Share on other sites More sharing options...
roboa Posted March 18, 2009 Author Report Share Posted March 18, 2009 Many thanks, worked perfectly ;D Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 18, 2009 Administrators Report Share Posted March 18, 2009 Change it in the page template in the core/templates directory, not in the module controller Quote Link to comment Share on other sites More sharing options...
RogerB Posted March 19, 2009 Report Share Posted March 19, 2009 ahhh, got it Nabeel. never noticed that before..LOL Quote Link to comment Share on other sites More sharing options...
roboa Posted March 21, 2009 Author Report Share Posted March 21, 2009 Just thought I would put this here to save creating another topic. When using the route map using the files in Nabeel's tutorial, is there a way to put it into another page i.e put the map onto a seperate routes page. That seems a bit vague I know;) So, i've tried to put it into an image too. http://img18.imageshack.us/img18/7553/routemap.jpg cheers! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 22, 2009 Administrators Report Share Posted March 22, 2009 Yeah, just echo out extra stuff or use templates to echo everything out. I can't remember if i went over templates? Quote Link to comment Share on other sites More sharing options...
roboa Posted March 22, 2009 Author Report Share Posted March 22, 2009 So, what code would I use for that? Or could I just take the code from the RouteMap.php and put it into the page I want it in? I don't think you went over templates. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 23, 2009 Administrators Report Share Posted March 23, 2009 You could just include it in routemap.php, using the template. Create a file in the core/templates folder called "routemap_page.tpl" or something like that, and put in your HTML in there. Then in the routemap.php, just put: <?php Template::Show('routemap_page.tpl'); Wherever you want that template to show up Quote Link to comment Share on other sites More sharing options...
roboa Posted March 23, 2009 Author Report Share Posted March 23, 2009 Thanks, it worked great. However the map refuses to center using a <div align="center"> before the php starts. It's the same with my schedule routmap. What should I be putting and where? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 23, 2009 Administrators Report Share Posted March 23, 2009 Try <p align="center">, you might need to layer those Quote Link to comment Share on other sites More sharing options...
roboa Posted March 24, 2009 Author Report Share Posted March 24, 2009 No joy. I'll send you a link to the code via pm's so you can see what i'm trying to do. Quote Link to comment Share on other sites More sharing options...
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.