close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

updating index page

Thread began 4/02/2013 4:18 pm by Roz431315 | Last modified 7/08/2013 7:55 am by Jason Byrnes | 3431 views | 28 replies |

Roz431315

updating index page

Ray modified my site by creating a new gallery associated with a category called "new arrivals". in \gallaries\new_arrivals.
That works fine, I would like to make it so it is not editable in the store manger. The admin might delete it by accident. The code in index.dwt.php is below.
What changes do I have to make to the code below so the page looks like the attachment and is not editable form the store manage?

<!--<div class="banner ps_pod4">-->
<div class="banner ps_pod4">
<div class="NewArrivalText">New Arrivals</div>
<div class="info">
<?php echo WA_getCMSContent($database_PowerStoreConnection, $PowerStoreConnection, 'Middle Pod' , 'Content'); ?>
</div>
</div>


I change the PHP code to this:
<?php include ('../../../../galleries/new_arrivals/index.php'); ?>

and I got I get this error message on the live index page:
Notice: Undefined index: gallery in C:\xampp\htdocs\relicvintage\galleries\new_arrivals\index.php on line 42

second line below is line 42:
//gallery id, theme
if(empty($pg_id)) $pg_id = $_GET['gallery'];
if(empty($pg_theme)) $pg_theme = 'dark';
if(isset($_GET['theme'])) $pg_theme = strtolower($_GET['theme']);

Thanks in advance for your help and patience, Roz

Sign in to reply to this post

Jason ByrnesWebAssist

change:

php:
<?php echo WA_getCMSContent($database_PowerStoreConnection$PowerStoreConnection'Middle Pod' 'Content'); ?>




to:

php:
<?php echo WA_getCMSContent($database_PowerStoreConnection$PowerStoreConnection'Middle Pod' 'Content'true); ?>
Sign in to reply to this post

Roz431315

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>

Sign in to reply to this post

Jason ByrnesWebAssist

No, there is not a way to prevent that content form being edited from the contents list.

Sign in to reply to this post

Roz431315

Menu & Check out

Hi,

I have a ghost sub-menu under the label "Policy" http://www.relicvintage.com/index.php there is a htaccess file pointing to a construction page.
the attachment shows the store manage showing that there should be 3 editable regions, however there is only one that I see..
I think a few days ago might of changed the "current location" drop down menu in store manager to another location.
Is there a way ti fix this either in store manager or a file to edit?

There is also an issue with the sub-menus for the products for Jewelry (Bracelets, necklaces, Rings)...when you hover over Jewelry and move cursor to one of the sub categories the menu disappears and does not let you select it.


Is there a way to increase the size of the order total and amount on the cart check-out page.
http://www.relicvintage.com/cart.php

The product search, continue shopping, clear cart and update cart...the mouse doesn't change, is that normal? as a fix I updated the hover on them with a border and background color.

Sign in to reply to this post

Jason ByrnesWebAssist

For the Custom Menu, your screen shot shows a Content Section, but no Header or Menu Label

Click the Add Content Button to add a new content for the Custom Menu Section, name the new content area:
Menu Label

add another one, and name it:
Header

in the Menu Label Content, add the text you would like to show in the menu.


for the menu issue, add the following CSS to the webassist/themes/RelicVintage1/css/configurable.css file:

#cssmw ul.level-2 > li {
margin-left: -14px;
}




to change the order total size, edit the webassist/plugins/shopping_cart/cart.css file

add a font size tothe .cartSummaryWrapper .details table td.total and .cartSummaryWrapper .details table th.total selectors

Sign in to reply to this post

Roz431315

Thanks for order total font size and the sub categories menu.

http://www.relicvintage.com/index.php
Still have issues with the menu labeled"Policy", first is there a way to keep the menu from displaying 2 lines if I was to label it "Customer Service" when I do that is go to 2 lines and looks ugly.

Second when I try to add a (Header and Menu Label) I get already exists...see attached

Third, the you hover over the (Policy ) menu label there is a ghost sub menu that has a brown background and takes you this this page:http://www.relicvintage.com/page.php?Custom%20Pages=

Thanks Roz

Sign in to reply to this post

Jason ByrnesWebAssist

for the menu, you would need to edit the CSS to make the menu width wider to allow for the 2 words to be on one line.

for the missing item, i'll need to access the site files to troubleshoot.

Sign in to reply to this post

Roz431315

I am posting the info you requested

Sign in to reply to this post

Jason ByrnesWebAssist

I am not able to access the server using the information you provided

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...