Hello,
Does anyone know how to find the input class or maybe a list of each button number? For example in the css there is input.button172. Or better yet, if we can change the buttons in the mobile version?
Return to Cart:
</td>
<td class="fv">
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td><input type=radio name=68ck value=0 >Text:</td>
<td><input type=text name=68str size=40 value="Return To Cart"></td>
</tr>
<tr>
<td><input type=radio name=68ck value=1 checked>Image:</td>
. . .
<input type=text id="t:68img" name="t:68img" size=60 value="buttons/3col-blue/btn-returntocart.png"
. . .
<input type=image src="https://blister.shopsite.com/11sp1/shopsite-images/en-EU/buttons/3col-blue/btn-returntocart.png" class="button68" align="bottom" border="0" name="Return To Cart" alt="Return To Cart" title="Return To Cart" tabindex="1" onClick="return(CheckIt(68,0));" >
<p align="center"><a href="https://mydomain.com/cgi-bin/sc/registration.cgi?func=4&storeid=*1ca87ee73046274ed0f617fbb4306968&sbid=SSMSB1320771364.27045">Log Out</a></p>
<input type="submit" border="0" align="bottom" onClick="return(CheckIt(475,0));" tabindex="6" title="Log Out" alt="Log Out" name="Log Out" class="button475" value="Log Out"></td>
<input class="button168" type="submit" name=function value="Orders" tabindex="1" onClick="return(CheckIt(168,0));" >
Jim wrote:The Log Out button is not a submit to the form it should be an href to the cgi with a parameter to indicate the function logout.
Here is what I see in my store using one of the ShopSite built in templates.
- Code: Select all
<p align="center"><a href="https://mydomain.com/cgi-bin/sc/registration.cgi?func=4&storeid=*1ca87ee73046274ed0f617fbb4306968&sbid=SSMSB1320771364.27045">Log Out</a></p>
here is what displays on your customer registration page.
- Code: Select all
<input type="submit" border="0" align="bottom" onClick="return(CheckIt(475,0));" tabindex="6" title="Log Out" alt="Log Out" name="Log Out" class="button475" value="Log Out"></td>
So the error message you get, "No function was required", is correct because that form does not contain a function for "Log Out". If you look at all the other submit buttons on that screen the code looks like:Note that they use "name=function" which you do not have in your statement. I don't know if changing the 'name="Log Out" ' in your statement to "name=function" would make it work or not. If I were you I would just add it an <a href...> as it is in the default ShopSite templates.
- Code: Select all
<input class="button168" type="submit" name=function value="Orders" tabindex="1" onClick="return(CheckIt(168,0));" >
Jim wrote:Ok, the Log Out button is now working but when you click it the sign out confirmation screen isn't working correctly. If I click Yes I get an Error in form message, if I click No it seems to just keep loading the same screen again. So check that form against one of the ShopSite provided templates. (You can get a demo store at http://www.shopsite.com/demo.html#manage choose the Try Managing Al's Tool Store – a ShopSite Pro store so you get a Pro store that is already populated with data)
Return to Custom Template Questions
Users browsing this forum: No registered users and 92 guests