remove category title from selected pages

anjo

Avatar: anjo

2007-10-16 14:23

I want to remove category title from certain pages mainly redirect pages when customer completed order payment or cancelled order

I understand this code

edit index.php and find:
$content .= $tpl->tbHtml( 'contents_more.tpl', $sBlock );
before add this:
if( $p == $config['start_page'] )
$aData['sName'] = null;

but I am confused on what i need to type instead of $config['start_page']

for example my cancelled page url is - index.php?p=p_22&sName=cancelled

anyone can help
thanks QCv2

» Quick.Cart v2.x

merci

No avatar

2007-10-17 09:00

anjo - sorry, but I don't understand you...maybe send link to your page, screen and show more clearly what you want.

anjo

Avatar: anjo

2007-10-17 10:15

hi, in categories I have created 2 pages one with thank you for your order and the other payment cancelled . when customer goes through paypayl after fininishing payment paypal redirects back to the shop and the new page i created saying thank you for your order.

I named this page "PayPal Payment" but I want to remove the title from font end of the shop.

merci

No avatar

2007-10-18 08:29

anjo - ok, so try in this code you paste earlier change $p == $config['start_page'] for $p == 'p_22'

anjo

Avatar: anjo

2007-10-18 12:29

great got it working with if( $p == 'p_22' )
$aData['sName'] = null;

How do I had more pages? triedbut cant get it to work

thanks

merci

No avatar

2007-10-19 08:09

anjo - if you want remove this name for more pages, put something similar to:

if( $p == 'p_22' || $p == 'p_25')

anjo

Avatar: anjo

2007-10-19 12:16

hi, fantastic works perfectly.

Thank you

Back to top
about us | contact