Preview problem
3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 8, 2012 (RSS)
By apolgree - August 8, 2012
I have a multi record section and I have set viewer urls for the list and detail pages. When in CMS Builder and modifying a record, there is a preview button but when clicked I receive this message:
"Preview isn't supported when website membership uses separate login or alternate table name."
What am I doing wrong?
"Preview isn't supported when website membership uses separate login or alternate table name."
What am I doing wrong?
Re: [apolgree] Preview problem
By Jason - August 8, 2012
Hi,
CMS Builder won't support record previewing if you are using a separate login/account table with website membership. This is due to section permission issues.
If you don't have website membership, then you have stumbled upon a bug that's in 2.15. This issue will be permanently fixed in 2.16. Until then, here is a patch.
Open up cmsAdmin/lib/viewer_functions.php
on line 234 you'll see this line:
You need to remove the "!" at the beginning of the if statement, so the line will look like this:
That should take care of the issue for you.
Hope this helps
CMS Builder won't support record previewing if you are using a separate login/account table with website membership. This is due to section permission issues.
If you don't have website membership, then you have stumbled upon a bug that's in 2.15. This issue will be permanently fixed in 2.16. Until then, here is a patch.
Open up cmsAdmin/lib/viewer_functions.php
on line 234 you'll see this line:
if (!$wmNotSupported) { die(t("Preview isn't supported when website membership uses separate login or alternate table name.")); }
You need to remove the "!" at the beginning of the if statement, so the line will look like this:
if ($wmNotSupported) { die(t("Preview isn't supported when website membership uses separate login or alternate table name.")); }
That should take care of the issue for you.
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Preview problem
By apolgree - August 8, 2012
Thanks Jason, this fixed the issue. Much appreciated.