|
I recently realized two important things about PLUM
and don't I feel silly.
1. There's a plain version of each plum site
www.domain.com/plain that comes
out of the box and is prepopulated with placeholder text.
2. Google and other Bots will pick this
up
Is the browser/cookie test on the client or server,
and does anyone know if the search-engine bots pass this test to reach the
real site ?
---Stephen Ansari
----- Original Message -----
Sent: Friday, June 03, 2005 11:35
AM
Subject: [plum] Change to custom tag
DisplayTextInput
I added the attribute readonly because I have multiple forms
that are chained together and it puts the primary key column in a filtered
select and I have thousands of records so it automagically makes you enter
info in a text box because it went over the maximun allowed whatever. So since
I did not want people to actually change the pk field I am using a text input
because I still need the value. I made the attribute readonly so users can't
change it. Line added <cfparam name="Attributes.readonly"
type="string" default=""> then on line 73 looks
like
<td><input type="#Iif(Attributes.passwordInput, DE('password'),
DE('text'))#" name="#Attributes.column#"
value="#HtmlEditFormat(Trim(Form[Attributes.column]))#"
size="#Attributes.size#"<cfif Attributes.maxLength GT 0>
maxlength="#Attributes.maxLength#" #Attributes.readonly#</cfif>
</cfoutput> Now everything is peachy. I beleive I pointed
out the change request to get the primary column on forms that edit to default
to readonly.
Hope this makes sense.
-- Tim Blankenship [EMAIL PROTECTED] www.vespri.com
|