Remove page title from start page/home page

broon

Avatar: broon

2007-05-18 20:00

Anyone any idea the correct syntax for this?
somewhere on index.php
if start page then text is null
Any help really appreciated.
Many thanks

» Quick.Cms v1.x

broon

openzibi

Avatar: openzibi

2007-05-19 10:08

broon - Try this:

$sFiles = listFiles( $iContent, 'pages_show.tpl' );
if( $p == 'p_'.$config['start_page'] ){
$aData['sName'] = null;}


1. File p_.php in actions_client
2. Find $sFiles.....
3. Add if.......
4. Example: http://www.masterconsulting.pl/


----------------------------------------
openzibi - http://www.rhh.pl

broon

Avatar: broon

2007-05-24 15:03

Sorry for delay replying only just picked this up...Perfect
Thank you.......

Oxana

Avatar: Oxana

2007-09-11 19:38

@openzibi - work perfect!
Thank you!

Perhaps somebody has such easy solution for to hide start_page title in menu also?
(exept hack with addition hidden menu)

Oxana

lfc

Avatar: lfc

2008-03-03 22:01

Hi,

I need to do this same thing, but in version 2.x -- remove the page title on the start page. I see the existing code in p.php is very similar to what openzibi posted above -- is there an existing control to remove the title? Or does someone have a similar hack that will work in 2.x?

Thanks in advance,

lfc

merci

No avatar

2008-03-04 08:44

lfc - in new version you can do this without modyfication - just create new template for start page (the same as default, only without title), and set it in administration as template for your start page.

lfc

Avatar: lfc

2008-03-04 15:56

merci,

Thank you! Exactly what I needed!

lfc

Back to top
about us | contact