Disabling Preview Buttons
3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 7, 2011 (RSS)
Hi!
Due to the nature of the CMSB setup on one of my sites, the preview buttons will never work (not Interactive tools fault!), so I need to disable them.
In multi record menus there are 2 types of preview buttons.
One type previews individual records, and I can disable those previews by changing the schema to say:
_disablePreview = 1
However, the other type of preview button that shows the list of records is proving more tricky. Any suggestions on how to disable this one, preferably via the schema files.
Thanks in advance.
Paul
Due to the nature of the CMSB setup on one of my sites, the preview buttons will never work (not Interactive tools fault!), so I need to disable them.
In multi record menus there are 2 types of preview buttons.
One type previews individual records, and I can disable those previews by changing the schema to say:
_disablePreview = 1
However, the other type of preview button that shows the list of records is proving more tricky. Any suggestions on how to disable this one, preferably via the schema files.
Thanks in advance.
Paul
Re: [Pixels & Beats] Disabling Preview Buttons
By Jason - September 6, 2011
Hi Paul,
To disable the preview button seen on the list page of your section, you need to go into your section editor, click on "Viewer Urls" and remove the url form the "List Page" field. This is the currently the only way of removing the preview here. This filename only appears in the _listPage field in your MetaData when you use getRecords, so chances are you aren't using it.
Hope this helps
To disable the preview button seen on the list page of your section, you need to go into your section editor, click on "Viewer Urls" and remove the url form the "List Page" field. This is the currently the only way of removing the preview here. This filename only appears in the _listPage field in your MetaData when you use getRecords, so chances are you aren't using it.
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] Disabling Preview Buttons
Fantastic!! All sorted.
Thanks Jason.
Thanks Jason.