nay27uk Posted February 24, 2011 Share Posted February 24, 2011 Is there any way of making the add funds link display on everypage in the client area when a client is loged in, at the moment it only displays on the my details page. I have the link in every page but it does not show, would I need to remove the {if statement} from the url on all the other pages to get it to show up 0 Quote Link to comment Share on other sites More sharing options...
nay27uk Posted February 24, 2011 Author Share Posted February 24, 2011 (edited) Yes just tried it and it works admins please move to the tips section and rename the title to "How to display the Add Funds link on all pages" and here is how it is done for anyone wanting this. simply open up all of your template files apart from clientareadetails.tpl and clientareacancelrequest.tpl it is not required on those files. when you open each file simply add the bellow code wher you wish the link to display <img src="templates/{$template}/images/icons/money.gif" alt="Add Funds" width="22" height="22" border="0" class="absmiddle" /><a href="clientarea.php?action=addfunds">{$LANG.addfunds}</a> and thats it Edited February 24, 2011 by nay27uk 0 Quote Link to comment Share on other sites More sharing options...
nay27uk Posted February 24, 2011 Author Share Posted February 24, 2011 Forgot to say the above code would be best placed somwhere between {if $logedin} tags as we only want it to display for actual clients that are paying and loged in. so change the above code to {if $logedin}<img src="templates/{$template}/images/icons/money.gif" alt="Add Funds" width="22" height="22" border="0" class="absmiddle" /><a href="clientarea.php?action=addfunds">{$LANG.addfunds}</a>{/if} 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.