Automatic title addition

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

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.

Many thanks, worked perfectly ;D

Change it in the page template in the core/templates directory, not in the module controller

ahhh, got it Nabeel.  never noticed that before..LOL

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!

Yeah, just echo out extra stuff or use templates to echo everything out. I can’t remember if i went over templates?

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.

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

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?

Try <p align=“center”>, you might need to layer those

No joy. I’ll send you a link to the code via pm’s so you can see what i’m trying to do.