Set Detail Page Url for this section in: Admin > Section Editors > Viewer Urls

8 posts by 2 authors in: Forums > CMS Builder
Last Post: October 2, 2014   (RSS)

By northernpenguin - September 28, 2014

Hi everyone

I am getting the error "Set Detail Page Url for this section in: Admin > Section Editors > Viewer Urls" whenever I choose a menu item.

Basically, I created a category menu and placed it in an include file, which is called up on every page in the site.  Here is the include file "menu.inc"

<ul class="sf-menu">
<?php foreach ($menuRecords as $categoryRecord): ?>
<?php echo $categoryRecord['_listItemStart'] ?>

<?php if ($categoryRecord['_isSelected']): ?>
<b><a href="<?php echo $categoryRecord['_link'] ?>"><?php echo $categoryRecord['name'] ?></a></b>
<?php else: ?>
<a href="<?php echo $categoryRecord['_link'] ?>"><?php echo $categoryRecord['name'] ?></a>
<?php endif; ?>

<?php echo $categoryRecord['_listItemEnd'] ?>
<?php endforeach; ?>
</ul>

<?php if (!$selectedMenu): ?>
No category is selected!<br/>
<?php endif ?>

I am not exactly sure for which section editor I should be setting the viewer url.  Can anyone help?

NorthernPenguin

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By northernpenguin - September 30, 2014

Hi Claire:  didn't work.  The weird thing is that I have used this method on a number of web sites, and they always worked.  Not sure what i did differently!

Ragi

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By claire - October 1, 2014

Is it possible that the file isn't in the root folder? If it's in a subfolder, it needs to have the path from the root added to the detail page URL.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By northernpenguin - October 1, 2014

Did that.  I have moved the code from my development server to the pre-production server, where I am getting a different problem.  Still working on it!

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By claire - October 2, 2014

I think this merits a support ticket if you're still having issues. You can submit one using this form: https://www.interactivetools.com/support/email_support_form.php

Do let us know if you're still having issues.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By northernpenguin - October 2, 2014

Fixed it.  My Website root url was incorrect.  that also fixed the original error.

i do have one question.  I use two menus on my site (penguincondo.com/en/).  I get the error "no category is selected" whenever I choose a main menu item.  Any idea what would generate this email?

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By claire - October 2, 2014

Not sure about that one - I haven't seen that kind of error before.

Check and see where that exact error text appears in your viewer file. That should tell you which variable is missing at least.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/