Jump to content

Add funds link question


nay27uk

Recommended Posts

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

Link to comment
Share on other sites

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 by nay27uk
Link to comment
Share on other sites

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}
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated