Update index.dwt.php
Hi Jason, thank you for that change.
I can see that the that the admin can not click in the upper left corner of that pod to edit from the home page.
When I log into the store manager as a admin (not super admin) I can't delete the pod but I can still edit the pod/ gallery. is there a way to prevent anyone from updating this part of the home page?
Maybe there is a better approach. I basically copied & pasted the "banner ps_pod4". The first displays the content "store message". The second pulls in the "new_arrivals gallery. Working with Ray, this gallery displays products and then brings you to the product detail page. I would prefer that this could only be edited through the code, is that possible? Is there another way to pull the gallery into the home page?
This is what the code looks like now:
<div class="banner ps_pod4">
<div class="info"><?php echo WA_getCMSContent($database_PowerStoreConnection, $PowerStoreConnection,"Home Page", "Site Message"); ?>
</div>
</div>
<div class="banner ps_pod4">
<div class="NewArrivalText">New Arrivals</div>
<div class="info">
<?php echo WA_getCMSContent($database_PowerStoreConnection, $PowerStoreConnection, 'Middle Pod' , 'Content', true); ?>
</div>
</div>