Blu_ Posted March 10, 2014 Share Posted March 10, 2014 Alright so basically from my understanding, every other page that starts with clientarea.php 's $pagetitle is "Client Area". This is a problem for me. I need this page "clientarea.php?action=details" and some other ones to have their very own unique pagetitle so my {if} statments can work... 0 Quote Link to comment Share on other sites More sharing options...
Alistair Posted March 10, 2014 Share Posted March 10, 2014 Alright so basically from my understanding, every other page that starts with clientarea.php 's $pagetitle is "Client Area". This is a problem for me. I need this page "clientarea.php?action=details" and some other ones to have their very own unique pagetitle so my {if} statments can work... You can use an IF statement like this - no need to change page titles: {if $clientareaaction eq 'details'} {elseif $clientareaaction eq 'changepw'} {elseif $clientareaaction eq 'invoices'} {/if} 0 Quote Link to comment Share on other sites More sharing options...
Blu_ Posted March 11, 2014 Author Share Posted March 11, 2014 Thanks! Worked perfectly 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted March 11, 2014 Share Posted March 11, 2014 You can use an IF statement like this - no need to change page titles: {if $clientareaaction eq 'details'} {elseif $clientareaaction eq 'changepw'} {elseif $clientareaaction eq 'invoices'} {/if} Very nice code, I've never seen this way of detecting specific client area pages. I would always use the pagetitle string. This is a better way of doing it. 0 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.