Very new to MODX and could not find this answer in forums.
Helping a client make some minor changes to their site and the person who created the site used MODX.
I've been able to figure out quite a bit, but for some reason I can't get a new location element I added to show on the front end of the website.
I even cloned an existing good element and modified it, but no luck.
Any input is greatly appreciated.
Location element not showing up is Tampa Florida.
I attached screen shots of the element on the back end. Thanks-
Your Tampa Resource does not appear to belong to any Resource Groups. It would be worth comparing it to others that work correctly to see it should belong to one.
There is a comma in the url (resource alias) which might cause problems?
Looking at all the other locations, they are Containers. I can't see what they contain, but I wonder if the site is using Containers with other Resources that contain the Location Data and the Containers are pulling the location data using getResources or something similar?
As Treigh says, seeing some of the code would be useful.
Thanks for the replies. I've made some more adjustments, but still no luck.
Here is the Location Template code:
[[$head]]
<div id="body_bg">
[[$header]]
<div id="main" class="clearfix" role="main">
<div class="widthwrap">
<h1 class="page_title">[[getResourceField? &id=`[[UltimateParent? &ignore=`7`]]` &field=`longtitle`]]</h1>
<div id="content_bg" class="clearfix">
[[UltimateParent:is=`[[*id]]`:then=``:else=`<h2 class="content_title">[[*longtitle:default=`pagetitle`]]</h2>`? &ignore=`7`]]
[[$side-menu]]
<div id="content">
[[*content]]
<div id="map"></div>
<ul id="map-list"></ul>
<div id="locations">
[[getResources?
&tpl=`location`
&parents=`[[*id]]`
&includeTVs=`1`
&sortby=`menuindex`
&sortdir=`asc`
&depth=`0`
&limit=`0`
]]
</div>
</div>
</div>
</div>
</div>
</div>
[[$footer]]
[[$script-footer]]