Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Subsites Virtual Page: Only Pages from 'Main Site' selectable, no matter which Subsite is selected


Reply


1137 Views

Avatar
silverseba

Community Member, 26 Posts

8 May 2009 at 3:12am

Edited: 08/05/2009 3:14am

After hours of debugging I finally found a major bug in subsites module:

When I created a page of the type "Subsites Virtual Page " I wondered why one could only select pages from the 'Main site' (and not form every subsite that existed). In fact there is a dropdown labeled "Subsite" where you can select the subsite you want to choose a page to link to.

It turned out that there were several bugs in the javascript that does the magic of loading the pages into the dropdown.

I filed a bug ticket where I also posted a fix for the bug:
http://open.silverstripe.org/ticket/4012

What I´m asking myself: Hasn´t anyone using the Subsites module noticed this bug? I couldn´t find anything about in in the forum...