Jump to content

Sidebar hook


Strolch

Recommended Posts

Greetings,

just started using version 6 and a little confused - woho so many changes and i could not find an real answer in the docs.

 

Is there a way to add an sidebar hook and only display them on an specified page?

E.g. Sidebar only if client logged in and at domains, register domains and transfer domains?

 

2nd

After a client logged in, only the first given name is shown - how can i add the full name of the customer?

 

many thanks for your help

 

regards

marcus

Link to comment
Share on other sites

yes you can do all of that, I do believe that you can find example for all of these options answered before in this forum already

 

for example, this one will be displayed in clientarea.php, only if client is logged in, and it will get client credit and display it:

http://forum.whmcs.com/showthread.php?106891-Display-Credit-Balance-In-Six-Template

 

there is many other examples just ask :)

Link to comment
Share on other sites

THX for the input

dealing a couple of hours and no running solution - it's late and time for a nap...

would be great if someone can help me with this little code ....

I think sentq's hook is a great starting point for your solution to the first issue...

 

for the second, it would be helpful to know where you mean...

 

PZnWTbJ.png

 

to change 'title' would probably require a template edit; to change the 'menu', that would need a navbar hook to change the label.

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