I am getting the error Could not find the FrontEndUsers module when this is called using the Company Directory module with an action of fe_edit. If I do a simple call to FEU using {cms_module module=FrontEndUsers} it works as it should so it seems like there is possibly an error in Company Directory connecting with FEU.
Any ideas anyone?
I am using CMSMS v1.2
FEU 1.2.2
Custom Content 1.4.9
Company Directory 1.1
[Solved] Could not find the FrontEndUsers module Error?
[Solved] Could not find the FrontEndUsers module Error?
Last edited by applejack on Thu Nov 01, 2007 6:11 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Could not find the FrontEndUsers module Error?
The code checks if the FrontEndUsers module exists, and if you're currently logged in. I should probably change the error message.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Could not find the FrontEndUsers module Error?
Hi Calguy1000
OK so I have to be logged in first.
Can you let me know the answer to my other post re the Company Directory module as I am unsure as how this all supposed to work together.
I need the functionality of the Company Directory module to be able to create multiple categories and assign more than one category to a Company. Then on the front end to anyone, be able to show the list of categories which then link to a list of companies assigned to that category i.e. summary and then of course the detailed page.
The companies details will be set up initially by the site administrator but after that their needs to be the facility for the companies to be able to edit their own info. Can this be done using these various modules? I do not see how a company record can be assigned to a FEU unless one creates a username and password as part of each companies record and then also set them up in FEU using the same username and password. Or can a company record be assigned to a FEU and if so how?
OK so I have to be logged in first.
Can you let me know the answer to my other post re the Company Directory module as I am unsure as how this all supposed to work together.
I need the functionality of the Company Directory module to be able to create multiple categories and assign more than one category to a Company. Then on the front end to anyone, be able to show the list of categories which then link to a list of companies assigned to that category i.e. summary and then of course the detailed page.
The companies details will be set up initially by the site administrator but after that their needs to be the facility for the companies to be able to edit their own info. Can this be done using these various modules? I do not see how a company record can be assigned to a FEU unless one creates a username and password as part of each companies record and then also set them up in FEU using the same username and password. Or can a company record be assigned to a FEU and if so how?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Could not find the FrontEndUsers module Error?
Sure, the 'categorylist' parameter is in the help for the CompanyDirectory module.I need the functionality of the Company Directory module to be able to create multiple categories and assign more than one category to a Company. Then on the front end to anyone, be able to show the list of categories which then link to a list of companies assigned to that category i.e. summary and then of course the detailed page.
The way I did this was to create a hidden property in FrontEndUsers, the administrator then fills in that property with a related company_id. then you can use the CustomContent property method to get the company id out, and supply that to the CompanyDirectory fe_edit form.The companies details will be set up initially by the site administrator but after that their needs to be the facility for the companies to be able to edit their own info. Can this be done using these various modules? I do not see how a company record can be assigned to a FEU unless one creates a username and password as part of each companies record and then also set them up in FEU using the same username and password. Or can a company record be assigned to a FEU and if so how?
i.e:
Code: Select all
{if $ccuser->loggedin() && $ccuser->memberof('company_editors)}
{CompanyDirectory action='fe_edit' companyid=$ccuser->property('company_id')}
{/if}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Could not find the FrontEndUsers module Error?
Hi Calguy
Ok now that makes sense. Thanks for all your help.
P.S. For anyone else there is a typo error in the code above a missing ' should be
{if $ccuser->loggedin() && $ccuser->memberof('company_editors')}
{CompanyDirectory action='fe_edit' companyid=$ccuser->property('company_id')}
{/if}
Ok now that makes sense. Thanks for all your help.
P.S. For anyone else there is a typo error in the code above a missing ' should be
{if $ccuser->loggedin() && $ccuser->memberof('company_editors')}
{CompanyDirectory action='fe_edit' companyid=$ccuser->property('company_id')}
{/if}
Last edited by applejack on Fri Nov 02, 2007 1:32 pm, edited 1 time in total.
Re: [Solved] Could not find the FrontEndUsers module Error?
Hi,
I am running with the following config:
System:
=======
Debian Linux (Etch 4.x) 2.6.18-5-686 #1
PHP 4.4.4
MySQL 5.0.32
Apache 2.2.3
Modules Listed in this post:
=======
FEU 1.3.1
CompanyDirectory 1.1.1
CGExtensions 1.3
Hmmm....this is exactly what I needed to find. One additional question to add however.
Is it possible to have frontend users modify any record instead of just being restricted to one (as determined by company_id) ??
So, instead of this:
{if $ccuser->loggedin() && $ccuser->memberof('company_editors')}
{CompanyDirectory action='fe_edit' companyid=$ccuser->property('company_id')}
{/if}
You might see something like this:
{if $ccuser->loggedin() && $ccuser->memberof('company_editors')}
{CompanyDirectory action='fe_edit' companyid=$ccuser->property('some_wildcard_char_here')}
{/if}
I looked on the smarty web site and here but am still learning and not sure how or if adding a wildcard here is possible. Does anyone know?
Thanks in advance!!!
I am running with the following config:
System:
=======
Debian Linux (Etch 4.x) 2.6.18-5-686 #1
PHP 4.4.4
MySQL 5.0.32
Apache 2.2.3
Modules Listed in this post:
=======
FEU 1.3.1
CompanyDirectory 1.1.1
CGExtensions 1.3
Hmmm....this is exactly what I needed to find. One additional question to add however.
Is it possible to have frontend users modify any record instead of just being restricted to one (as determined by company_id) ??
So, instead of this:
{if $ccuser->loggedin() && $ccuser->memberof('company_editors')}
{CompanyDirectory action='fe_edit' companyid=$ccuser->property('company_id')}
{/if}
You might see something like this:
{if $ccuser->loggedin() && $ccuser->memberof('company_editors')}
{CompanyDirectory action='fe_edit' companyid=$ccuser->property('some_wildcard_char_here')}
{/if}
I looked on the smarty web site and here but am still learning and not sure how or if adding a wildcard here is possible. Does anyone know?
Thanks in advance!!!