Block works in format test, doesn't display with format on page
When I test events.xslt with the Events block that produces
events.xml, all the fields display where I want them to.
When I attach events.xslt as a format to the Events block in a Page
Region, nothing appears.
The Events block uses the Events-DD.xml Data Definition.
Under Events, I added a Feed block of http://dmc-app.tamu.edu/calendar/featuredEventsWWW.xml
Under Spotlights, I added a Data Definition block that produces
slideshowContents.xml
Why does it work when I test it, but not in actual use? Does the Events block not produce events.xml? I tried adding a XHTML Block containing events.xml, and some of my fields appeared, but not all of them.
- events.xslt 6.57 KB
- events.xml 28.1 KB
- Events-DD.xml 181 Bytes
- slideshowContents.xml 6.08 KB
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Michael McGinni... on 09 Apr, 2015 05:22 PM
Correction: I tried making events.xml an XML block instead of a XHTML block, and all the fields displayed. So why doesn't it work as a Data Defintion block?
2 Posted by Ryan Griffith on 09 Apr, 2015 07:40 PM
Hi Michael,
I suspect when added to a region, the XML of the Structured Data block may not be starting with
system-data-structure
, like it does when testing via the Format preview.When you have a moment, try switching back to the Structured Data Block adding the following between lines 9 and 11 to see what your XML structure looks like:
Note: This essentially dumps the XML to the page, so you will most likely have to view the source of the preview frame to locate the XML tags.
Please let me know if you have any questions.
Thanks!
3 Posted by Michael McGinni... on 09 Apr, 2015 08:02 PM
Is this what I should expect?
4 Posted by Ryan Griffith on 10 Apr, 2015 12:56 PM
Hi Michael,
That is what I was looking for, thank you.
Notice the
<content>
element for your blocks are empty. Is suspect you will need to adjust the rendering depth of the chooser fields. When you have a moment:Once you modified the rendering depth for the choosers, test your page again to see if the rendering is any different.
Please let me know if you have any questions.
Thanks!
Ryan Griffith closed this discussion on 20 Apr, 2015 02:36 PM.