Recent Topics

1 May 31, 2008 00:34    

My b2evolution Version: Not Entered

Really dumb question here:

How do you put a link in the blog to something? I can put in a URL OK, but using HTML causes it to burp.

Here's what I'm trying to plug in:

<form action="http://www.suncountrygems.com/cgi-bin/sc/order.cgi" method=post>
Quantity <input type=text size="2" name="1230:qnty" value="1" >
<input type=hidden name="storeid" value="*1c8c5de59128ffbb215a477ac72c40c1">
<input type=hidden name="dbname" value="products">
<input type=hidden name="function" value="add">

I tried putting <div = "links"> in front, but that didn't work.

I tried clicking the "Link" button up top on the page, but that doesn't do anything. What is that for anyway?

Can you advise please?

2 May 31, 2008 00:46

Try adding these lines:

  <input type="submit" value="Send"> <input type="reset">
 </form>

I haven't got a clue what you are trying to achieve, but this is a form and not a link. If your question is: "where is the submit button" than I gave you the answer. Consider yourself lucky: I am an expert on missing submit buttons.

Good luck

3 May 31, 2008 23:30

OK, the form code was a last minute add that really was what I wanted, but I started out trying to put the following in, and it didn't work.

<a href="http://www.suncountrygems.com/Books.html">text here</a>

What did work was putting

http://www.suncountrygems.com/Books.html

However, that was just testing the waters. My shopping cart software has a thing they call an "order anywhere" button. That's what the form code was supposed to do. It is supposed to work in any HTML environment.

<form action="http://www.suncountrygems.com/cgi-bin/sc/order.cgi" method=post>
Quantity <input type=text size="2" name="2244:qnty" value="1" >
<input type=hidden name="storeid" value="*1cfc55e591689f4b216a476ac70c4067">
<input type=hidden name="dbname" value="products">
<input type=hidden name="function" value="add">
<input type=hidden name="itemnum" value="2244">
<input type=image src="http://www.suncountrygems.com/media/add_to_cart2.gif" alt="add_to_cart2.gif" width="101" height="36" vspace="3" hspace="3" border="0" align="bottom" name="Add to Cart">
</form>

Allows you to click the button and it puts the item in the cart of my web site. I thought it would be kinda cool if I could allow blog readers to instantly purchase the item I was blogging about.

I tried putting the following in, but got errors again.

<input type="submit" value="Send"> <input type="reset">
</form>

Was I supposed to put the form code for the button between the "Send> and <input type=" or someplace else?

4 Jun 01, 2008 00:08

You want to temporarily lower the XHTML checker. Go to Users -> Groups -> Administrators -> XHTML validation -> Basic security checking.
Now make your post and then set the XHTML validation back to Force valid XHTML + strong security.

Good luck

5 Jun 01, 2008 01:38

Thanks! That did it.


Form is loading...