any ideas?
I'm racking my brain here...
I don't us any html code with my two cutefields and there
is no problems, but indeed we need to check how to make it
work better with html code input, I will give it a check also Smile
some ideas:
have you tried html in the text area options?
have you tried using " or ' instead?
have you tried to escape them? (src=\'http://www.site.com\' ...)
have you tried without any 'inverted commas' at all? (src=http://www.site.com ...)
tell me if something works Smile![]()
$thisValue = htmlspecialchars(replace_news('admin',$thisValue));
$thisValue = $thisValue;
// Edit text areas
elseif($thisType == "Text"){
$buffer .= '<legend><big>'.$thisDesc.'</big></legend><textarea name="'.$thisField.'" cols="40" rows="8" class="mceNoEditor">'.$thisValue.'</textarea></label><br /><br />';
// Edit text areas
elseif($thisType == "Text"){
$buffer .= '<legend><big>'.$thisDesc.'</big></legend><textarea name="'.$thisField.'" cols="40" rows="8" class="mceNoEditor">'.stripslashes(htmlspecialchars($thisValue)).'</textarea></label><br /><br />';
Fatal error: Call to undefined method MySQL::table_num_rows() in /home/html/CNR/plugins/cutefields2.1.php on line 349
eberswine wrote:finally got around to this.... yeah.. I tried a fresh install and went inside php admin center and had to manually drop the tables and rows created.
I then re-uploaded the plugin and created the tables again and viola. it worked! ... it is weird sometimes when that happens.... but always a good/quick decision. thanks.
I am wondering if there is a way to have {imagepath} work inside the text-field area???
My testing server is at a mail.mywebsite.com and we are moving to a mywebsite.com url pretty soon and I'm trying to get this to work so we can have everything updated before we move???
thanks so much!
What do you mean by {imagepath}?
eberswine wrote:Welcome back DarkSlim!What do you mean by {imagepath}?
I mean, when you upload a picture and then hit the inset button to put it in the full or short story, it comes out with "{imagepath}/031208.pdf" .... for somereason the cutefields don't recognize the {imagepath} (which is the script path in your settings)???
<table>
[ifcf:Contact]<tr>
<td><b>Contact:</b></td>
<td>{cf:Contact}</td>
</tr>[/ifcf:Contact]
</table>
$thisField = $cf_row[$field];
if($thisField == ""){
$output = preg_replace('{\[ifcf:'.$field.'\](.*?)\[\/ifcf:'.$field.'\]}i', '', $output);
}else{
$output = str_replace('[ifcf:'.$field.']', '', $output);
$output = str_replace('[/ifcf:'.$field.']', '', $output);
$output = str_replace('{cf:'.$field.'}', $cf_row[$field], $output);
}
}
return $output;
}
[ifcf:Contact]<table>
<tr>
<td><b>Contact:</b></td>
<td>{cf:Contact}</td>
</tr>
</table>[/ifcf:Contact]
Return to Additional Downloads
Users browsing this forum: No registered users and 1 guest