Re: [paulmac] Error on preview
Hi,
Your getRecords() call looks correct. However, the url path you are showing:
http://www.doaminname.com/cmsAdmin/newsDetail.php?preview-9999999999
probably won't work. It's looking for a newsDetail.php file inside cmsAdmin, which it probably won't find.
If you go through
Section Editor -> {Your Section Name} -> Viewer Urls
under Preview URL change it from
newsDetail.php
to:
/newDetail.php
And click "Save Details". After that, clicking preview should take you to
http://www.doaminname.com/newsDetail.php?preview-9999999999
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/