Jump to content

custom page for "not logged in client"


el_makong

Recommended Posts

Hi all,

 

is there any possible way to add menu in main page(not client area nor admin area) that list some servers that "active client product"?

 

the case is this:

  • active client have a product that can be configured to be listed on that page
  • addon module is installed and activated to be used as interface to the database for listing the server on custom page
  • a menu item in navigation bar. probably beside "network status". or maybe replacing that menu item.
  • the page is visible for anyone.not only for admin and/or client. so they doesnt have to create new account just to see that custom page.

 

possibly, i am using the addon module to add the page. is it possible?and how?

i think i cannot use template file to list that as the template cannot contact the database for the data

Link to comment
Share on other sites

i have found the solution for adding the menu to navigation bar.

but then, how do i point the

->setUri()

to the page residing inside the /modules/addons without showing the path?

as for now, if i set

$page->setUri('/customaddonpage.php')

it just point to the whmcs instalation folder.

but, what i want is

$page->setUri('/modules/addons/mymodule/customaddonpage.php')

but it doesn't show up on the URL.

the point is: i dont want to store any custom page outside the module folder or module directory so its less cluttered.

is it possible?

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