PDA

View Full Version : bb code - button


tcs
01-19-2006, 06:26 AM
I know I am making to much of this in my head.

I am trying to make a bb code that creates a generic "read more" button and link to an off site url. The url is a user input.

Can someone tell me what I am missing?


<a href="{parm}"><button name="B1">Read More</button></a>

Steve Moore
01-19-2006, 06:38 AM
Post up all your fields so that proper testing can be done. I think I know your problem but without knowing the other fields I can't help yet.

tcs
01-19-2006, 03:57 PM
No problem. I am upset with myself as it is not as difficult as a I am making it.

This is my last attempt code.

Title: Read More
tag: readmore

replacement:

<a href='{option}'><button name="B1">Read More Here</button></a>


Example: Readmore

Description: 'blank for now'
user: yes

imagecode: images/readmore.gif

I think it has to be something stupid I am doing. With my Mad Cow Disease and all.

Borgs8472
01-19-2006, 05:24 PM
^ ^
replace option with param

Steve Moore
01-19-2006, 05:36 PM
Thats what I was about tos ay, thanks Borgs, beat me to it.

tcs
01-19-2006, 05:43 PM
^ ^
replace option with param


I droped the 'a' in the top code. I see it now. Something stupid.