Hello there. I’ve been using the Static Field Extension in EE 1.6.6 and generally great results - setting default values for multiple custom fields and weblogs as reqired - but with the exception that textarea fields seem to fail (have tried servers with PHP4 and 5 plus older and newer MySQL versions too.)
The error I get is a SQL one since the extension seems to repeat the field id name in the SQL statement when trying to insert a new record on publish (see bold text):
Query: INSERT INTO `exp_weblog_data` (`entry_id`, `weblog_id`, `field_id_16`, `field_ft_16`, `field_id_18`, `field_ft_18`, `field_id_17`, `field_ft_17`, `field_id_19`, `field_ft_19`, `field_id_21`, `field_ft_21`, `field_id_20`, `field_ft_20`, `field_id_22`, `field_ft_22`, `field_id_23`, `field_ft_23`, `field_ft_27`, `field_id_15`, `field_ft_15`, `field_id_14`, `field_ft_14`, `field_id_11`, `field_ft_11`, `field_id_field_id_12`, `field_ft_12`, `field_id_24`, `field_ft_24`, `site_id`) VALUES (‘89’, ‘4’, ‘’, ‘textile’, ‘’, ‘none’, ‘’, ‘textile’, ‘’, ‘none’, ‘’, ‘none’, ‘’, ‘none’, ‘’, ‘none’, ‘’, ‘none’, ‘xhtml’, ‘’, ‘textile’, ‘’, ‘textile’, ‘’, ‘textile’, ‘30 minutes = $ 40.00\n45 minutes = $ 55.00\n60 minutes = $ 65.00\nAll prices inclusive of GST\n\n*Fees are subject to change*’, ‘textile’, ‘’, ‘textile’, ‘1’)
I had a quick hunt round on the authors site but didn’t notice this mentioned and couldn’t find a contact email and also tried to contact direct through the forums here but with no luck - so just wondered if anyone has come across the same problem or come up with a solution. It would be great if I could use it for these custom fields.
All the best
Martin