Jump to content

Custom text in clientareahome.tpl


web2008

Recommended Posts

15 hours ago, web2008 said:

Does anyone know how this can be done?

the more important question to ask is where do you want this text on the page?

there is a hook that can be used to display html/text at a predefined position on the client homepage...

if you need the text elsewhere, then you're looking at using homepage panels, other hooks or editing the template.

either way, then it's just a case of working out the conditions - I think from memory, you should be able to meet those conditional options without needing to query the database.

Link to comment
Share on other sites

first two conditions you can do through existing array value (specifically $clientsstats) - so either as a hook or in the template...

the third condition, where you're checking to see if they have a specific product addon, will surely require pulling the information from the database - by default, the client area home page wouldn't have access to such specific product details.

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.

×
×
  • 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