lexandclo

Hi, is there anyway to update a Enum dropdown list on a datobject via a dataextension?

lexandclo

So on the BuilderPage im <% loop Elements %> Then withinh the loop if the element matches a Type <% if Type = 'MainMenu' %> <% include MainMenu %> <% end_if %>

lexandclo

Ok, so ive done <% loop $BuilderPage.Menu(1) %> <li class="nav-item"><a class="nav-link" href="$Link" title="$Title.XML">$MenuTitle.XML</a></li> <% end_loop %> and now it displays the li class, no links, title etc, and it only displays one when there are two pages?

lexandclo

HI All I have a issue which i cant seem to find an answer online for. I have a custom page 'BuilderPage' and has_many dataobjects 'Elements', and i loop over the elements in the page, but the issue i have is one on the elements Template .SS includes the site menu and i cant render the menu at all. Ive tried $http://Up.Menu(1) ,$http://Top.Menu(1), with Menu(1) etc

no joy, so my question is how can i render the menu while im looping the elements?

lexandclo

Hi all. im trying to 'save' a dataobject on change of a dropdown, only 'save' not 'save and close'. i have this (function($) { $.entwine(function($) { $('#Form_ItemEditForm_Type').change(function(){ $('#Form_ItemEditForm').submit(); }); }); })(jQuery); but doesnt seem to work, any ideas or advice for the right way? TIA

lexandclo

Hi All, Im trying to render some DataObject data to a Includes Template of a custom page, but when i echo out the data it renders it at the top of the http://custompage.ss before the html tag, ive tried to 'return' the data but it shows nothing. if($content->Type == 'FullContent'){ $fre = new ArrayData(array(
'Content' => $content, ` )); echo $fre->renderWith('FullContent'); }` this renders it at the top of the page not in the body.

if($content->Type == 'FullContent'){ $fre = new ArrayData(array(
'Content' => $content, ` )); return $fre->renderWith('FullContent'); }`

this doesnt display anything, if i print_r the data is there.

Any help would be appreciated?