PDA

View Full Version : Client Area and acces to projects through menus



jfarsen
03-17-12, 01:44 PM
Is there a reason why the link to Projets isn't part of the menu structure, and we have to ask clients to visit specific link instead?

"[...] the client area can be accessed via /index.php?m=project_management."

Matt
03-17-12, 02:54 PM
A module cannot add links dynamically to your custom header template - it wouldn't know where to do it. So you just need to add a link to your header file wherever you want it to display, pointing to "index.php?m=project_management"

Matt

jfarsen
03-20-12, 12:55 PM
A module cannot add links dynamically to your custom header template - it wouldn't know where to do it. So you just need to add a link to your header file wherever you want it to display, pointing to "index.php?m=project_management"

Matt

I added a menu item to header.tpl in the Default theme, but it doesn't show when in the Client Portal's homepage - seems like the menu can't interpret the $_lang.projectoverview string. I can click on the empty space occupied by that menu's DIV element, and once on the Projet Mgmt page, the menu item works ok.

Is there an include I have to add to header.tpl, so that it understands where to fetch the $_lang substitutions?

laszlof
03-20-12, 01:21 PM
It should be {$LANG.projectoverview}

Is this what you have in your template?

jfarsen
03-20-12, 02:04 PM
It should be {$LANG.projectoverview}

Is this what you have in your template?

This is what I have inserted in header.tpl (adding the open/close brackets):

ul
li a href="index.php?m=project_management" {$LANG.projectoverview} /a /li
/ul

VicToMeyeZR
03-21-12, 07:48 PM
A module cannot add links dynamically to your custom header template - it wouldn't know where to do it. So you just need to add a link to your header file wherever you want it to display, pointing to "index.php?m=project_management"

Matt

Actually thats not entirely true. Other "addons" that you sell you already have them coded in the templates with {if} statements.

Since you can turn OFF client access, what would we use for the {if} statement?

All information that would be handy to have in your documentation for a $100 addon don't you think?

leemason
03-21-12, 08:50 PM
ive heard this off a few clients (sell a custom theme). as matt says there is no way the module can do it for you, its not linked to the templates in any way.

im going to open a new thread though becuase it would be nice to add a flag variable which can detectif the addon is available and display the link.

VicToMeyeZR
03-21-12, 11:16 PM
This link doesn't even work. All it does it take you back to the client log in screen

laszlof
03-21-12, 11:57 PM
This link doesn't even work. All it does it take you back to the client log in screen

Update to the latest version of the PM addon.

VicToMeyeZR
03-22-12, 12:04 AM
I downloaded the lastest version. I didn't even buy this until 1.1 was already released.


ok well I guess thats what happens you buy it the same day new one is realeased.. you get old version

VicToMeyeZR
03-22-12, 12:06 AM
NOPE. Same problem

laszlof
03-22-12, 12:11 AM
NOPE. Same problem

http://docs.whmcs.com/Project_Management#Upgrading

VicToMeyeZR
03-22-12, 12:17 AM
hell...... pesky bug. I didn't see that

leemason
03-22-12, 07:13 AM
if your having the login screen appear even after client is logged in you need to apply the patch that is detailed in the installed instructions here:

http://docs.whmcs.com/Project_Management#Upgrading

you have to download the patch and replace the file on your server (i needed to do this with the latest addon version and the latest whmcs version, so it will probably effect everyone)

creativehand
03-29-12, 12:37 PM
I have installed the Project Management module for WHMCS, and it works fine
trying to integrate the client part of it, but when i click on the link in the admin section, it then opens in the top half of the site, not the bottom admin area if that makes sense

is it possible to force it to open in "clientarea.php" instead of "index.php"

see attached screenshots

1 with default theme
one with my own theme