I tried to have a menu appear only to Admins, zo i created the following script (or copied it):
The login script form FrontEndUsers:
{cms_module module=FrontEndUsers}
The Script from CustomContent:
ADMINmenu
{cms_module module='cssmenu'}
But I get the following error... What did i do wrong here?
Fatal error: Call to undefined function: readpreferences() in /home/virtual/site72/fst/home/site/public_html/modules/FrontEndUsers/FrontEndUsers.api.php on line 1032
Error in custom Content module
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Error in custom Content module
I encountered this FrontEndUsers error too, it's fixed in svn. and may be fixed in the latest release I'd have to look back to be sure.
also you need the {cms_module module=CustomContent} tag in your page or template as well.
also you need the {cms_module module=CustomContent} tag in your page or template as well.
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: Error in custom Content module
It isn't fixed in the latest beta release... im using that one...0.11beta5
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Error in custom Content module
Checked the svn diffs and I think I fixed a similar problem in a previous commit. I've just committed a change where I deleted the line that Called ReadPreferences (it wasn't used anyways afaik).
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: Error in custom Content module
Should i download the new SVN or the new customcontent?
Can I overwrite the new SVN over my old installation? or should i install a new version?
Can I overwrite the new SVN over my old installation? or should i install a new version?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Error in custom Content module
First just try deleting the line that is causing the error. That function is no longer needed.
Secondly you would either have to wait for the nightly tarball, or use tortoise svn client or some other svn client to get the change. and it's FrontEndUsers that you want.
Yes, you just over-write the existing files, then go to the module page in the admin section, and click upgrade.
Secondly you would either have to wait for the nightly tarball, or use tortoise svn client or some other svn client to get the change. and it's FrontEndUsers that you want.
Yes, you just over-write the existing files, then go to the module page in the admin section, and click upgrade.
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: Error in custom Content module
after d/l the new version of from frontend users from forge, i still cannot define any properties. after clicking on it, nothing happens?!
Re: Error in custom Content module
Did u set the user rights for FrontEndUsers?
In the users menu is a user rights button, used click the checkbox next to frontend user settings..
In the users menu is a user rights button, used click the checkbox next to frontend user settings..
Re: Error in custom Content module
ahh. stupid me. i remember reading this somewhere from the forum b4 but still missed it. THNX millions, it works. now i m still waiting to see if anyone can come up w/ a fix for the gallery2 integration or to d/l the new module 'SimpleViewer Gallery'. after that, i got everything i needed for my site.