Just did the upgrade to 2.04 and now I'm having a few questions about some things...
1. Custom form fields (multi-select) and add.cgi
I added such a field to add.html and it is displayed correctly on the page. In 2.03 the selected values of this field were transfered to add_success.html as a string (each value separated by the '#' character). I just did output this string (it's the Form Names that get saved in the database, e.g. "de#en#fr") on add_success.html, because I still didn't figure out how to display the corresponding Form Values ("German, English, French").
Now, after upgrading I get the message 'ARRAY(0x42342)' instead. And it seems that exactly this is saved in the database: the string 'ARRAY(0x42342)'....
So my questions on this:
- How to store the selected values correctly into the database?
- How to display Form Names on add_success.html instead of Form Values? (This one was already discussed, but couldn't work it out)
- In the admin the multi select field is still shown as a single select field when validating a new link, and only the first value is stored into the database. So this bug wasn't fixed? Or did I miss something?
2. Date(s)
When adding a link I receive the notification mail, but its Date is set to 25th of January instead of May.
What could be the reason for this?
And - more important - how to set the correct date?
(All other programs I run still show the correct date, so it's definitely not a wrong server setting)
3. Dynamic display of cool links page
When I try to view the cool page in dynamic mode (haven't built since upgrading) I get a fatal error:
It seems that the SQL statement for building the cool page is incorrect (for some reason it added a second 'DESC'). In setup, I have build_sort_order_cool 'Hits DESC,Rating DESC' and build_cool_gb set to no.
I think this will happen when building static pages, too. So for now I won't build...
Any suggestions would be welcome!
Thank you,
Andreas
Andreas
http://www.archaeologie-online.de
1. Custom form fields (multi-select) and add.cgi
I added such a field to add.html and it is displayed correctly on the page. In 2.03 the selected values of this field were transfered to add_success.html as a string (each value separated by the '#' character). I just did output this string (it's the Form Names that get saved in the database, e.g. "de#en#fr") on add_success.html, because I still didn't figure out how to display the corresponding Form Values ("German, English, French").
Now, after upgrading I get the message 'ARRAY(0x42342)' instead. And it seems that exactly this is saved in the database: the string 'ARRAY(0x42342)'....
So my questions on this:
- How to store the selected values correctly into the database?
- How to display Form Names on add_success.html instead of Form Values? (This one was already discussed, but couldn't work it out)
- In the admin the multi select field is still shown as a single select field when validating a new link, and only the first value is stored into the database. So this bug wasn't fixed? Or did I miss something?
2. Date(s)
When adding a link I receive the notification mail, but its Date is set to 25th of January instead of May.
What could be the reason for this?
And - more important - how to set the correct date?
(All other programs I run still show the correct date, so it's definitely not a wrong server setting)
3. Dynamic display of cool links page
When I try to view the cool page in dynamic mode (haven't built since upgrading) I get a fatal error:
It seems that the SQL statement for building the cool page is incorrect (for some reason it added a second 'DESC'). In setup, I have build_sort_order_cool 'Hits DESC,Rating DESC' and build_cool_gb set to no.
I think this will happen when building static pages, too. So for now I won't build...
Any suggestions would be welcome!
Thank you,
Andreas
Andreas
http://www.archaeologie-online.de