Anyone that knows Coldfusion..... need your help!

joohang

Lifer
Oct 22, 2000
12,340
1
0
I don't know Cold Fusion and never coded it, but I recall seeing a tag that does some sort of an equivalent to an if statement. Or maybe you have to add a script tag.
 

ILikeSprite

Banned
Oct 14, 2001
1,772
0
0
i figured it out.....

<!--- START CODE MODIFICATIONS --->
<cfif #vchAuthorIcon# does not contain "http">
<img src="i/authorsicons/#vchAuthorIcon#" border="0">
<cfelse>
<img src="#vchAuthorIcon#" border="0">
</cfif>
<!--- END CODE MODIFICATIONS --->

Modifying Fusetalk is mucho fun! I am making it so users can have custom avatars from alternate locations. :D
 

Nocturnal

Lifer
Jan 8, 2002
18,927
0
76


<< i figured it out.....

<!--- START CODE MODIFICATIONS --->
<cfif #vchAuthorIcon# does not contain "http">
<img src="i/authorsicons/#vchAuthorIcon#" border="0">
<cfelse>
<img src="#vchAuthorIcon#" border="0">
</cfif>
<!--- END CODE MODIFICATIONS --->

Modifying Fusetalk is mucho fun! I am making it so users can have custom avatars from alternate locations. :D
>>



your version is the one that you can modify code? open source?

cool. how much did you pay again?
 

ILikeSprite

Banned
Oct 14, 2001
1,772
0
0


<< your version is the one that you can modify code? open source?

cool. how much did you pay again?
>>



yup..... i've already made endless modifications to it. :D and for the price.... well..... too much. :eek:
 

Derango

Diamond Member
Jan 1, 2002
3,113
1
0


<< yup..... i've already made endless modifications to it. :D and for the price.... well..... too much. :eek: >>



Heh, that line pretty much sums up Coldfusion right there :)