Viewer URLs Problem

9 posts by 5 authors in: Forums > CMS Builder
Last Post: August 22, 2009   (RSS)

By ThreeTree - August 18, 2009

Is it possible to view the page represented in the section editor? When I click on view website for the page I have updated I get "#setThisInAdminMenu" after the domain name. I've tried a variety of options in the detail page URL field but cannot view the page without going to the site home page. I may not understand the function of that field but thought I could view the page I was updating.

Re: [ThreeTree] Viewer URLs Problem

By Kenny - August 18, 2009 - edited: August 18, 2009

Three Tree,

This setting found under General Settings.

You can normally replace #setThisInAdminMenu with just a /

Let us know if that doesn't work.

Kenny

Re: [sagentic] Viewer URLs Problem

By Dave - August 18, 2009

Hmm, do you think we should default that to / or maybe /#setThisInAdminMenu

The idea was to make it easy for people to find where to edit it, but maybe having it do what 90% of the people would want anyways would be a better default.

Thoughts?
Dave Edis - Senior Developer
interactivetools.com

Re: [ThreeTree] Viewer URLs Problem

By Chris - August 19, 2009

Hi ThreeTree,

The "View Website >>>" link only links to a single page, but it is possible to get to a section's List Page URL by clicking the Preview button on the section's record list page.

Hope this helps! :)
All the best,
Chris

Re: [chris] Viewer URLs Problem

By ThreeTree - August 19, 2009

Just to clarify. Are you saying that the view website link can only go to one page on the entire site no matter where it is invoked? What then is the purpose of the setting in the viewer urls field in the section editor. I don't understand "These urls are used when creating links to viewers for this section. Update the urls and filenames to match the viewers you create." It may be the terminology but I don't understand the function. Help!

Re: [ThreeTree] Viewer URLs Problem

By Donna - August 21, 2009

Hi ThreeTree,

The viewer URL's are used by the pages themselves. The "link" code to the detail page (and the "back" buttons as well) use those links to know where to go. :)
Donna

--
support@interactivetools.com

Re: [Donna] Viewer URLs Problem

By ThreeTree - August 21, 2009

If I have a single record page do I need to code the viewer url?

Re: [ThreeTree] Viewer URLs Problem

By Chris - August 22, 2009

Hi ThreeTree,

If you never use $record['_link'] for a section, then there's no need to specify Detail Page Url. If you never use $sectionMetaData['_listPage'], then there's no need to specify List Page Url.

The only time a single record section's Detail Page Url would be used would be if you explicitly loaded its record on another page and added a link to it with $record['_link'].
All the best,
Chris