Frontenduser: What has changed in 1.6.10? [SOLVED]
Posted: Fri Oct 30, 2009 6:16 pm
There was a code I used for an earlier website project, which has installed CMS Made Simple 1.5.4 "Carolina" with Frontend User 1.6.4.
Now I put the same code in a new installed CMS Made Simple 1.6.6 "Bonde" with Frontend User 1.6.10 and it does not work! The server only gives out half of the page code, resulting in a half loaded page without CSS. The code stops precisely before the first code tag.
Filebrowser plugin is also involved but works well. I have checked using only this code, rendered all fine:
{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }
Basically Frontend User works too, I have checked this code and it worked out:
{cms_module module=FrontEndUsers returnto="$qm"}
But using the whole code results in half html output. This is the code I used:
{if $ccuser->loggedin() && $ccuser->memberof('QM-Nutzer')}
QM-HANDBUCH
{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }
{cms_module module="frontendusers" form="logout"}
{elseif $ccuser->loggedin() && $ccuser->memberof('QM-Admin')}
QM-HANDBUCH ADMINISTRATOR
{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }
{cms_module module="frontendusers" form="logout"}
{else}
QM-LOGIN
{cms_module module=FrontEndUsers returnto="$qm"}
{/if}
Now I put the same code in a new installed CMS Made Simple 1.6.6 "Bonde" with Frontend User 1.6.10 and it does not work! The server only gives out half of the page code, resulting in a half loaded page without CSS. The code stops precisely before the first code tag.
Filebrowser plugin is also involved but works well. I have checked using only this code, rendered all fine:
{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }
Basically Frontend User works too, I have checked this code and it worked out:
{cms_module module=FrontEndUsers returnto="$qm"}
But using the whole code results in half html output. This is the code I used:
{if $ccuser->loggedin() && $ccuser->memberof('QM-Nutzer')}
QM-HANDBUCH
{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }
{cms_module module="frontendusers" form="logout"}
{elseif $ccuser->loggedin() && $ccuser->memberof('QM-Admin')}
QM-HANDBUCH ADMINISTRATOR
{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }
{cms_module module="frontendusers" form="logout"}
{else}
QM-LOGIN
{cms_module module=FrontEndUsers returnto="$qm"}
{/if}