| Post |
|
Guest
| Andre SC 1:40 pm September 17, 2008
| |
|
|
Please replace the ??? with your data!
[desc]: Hi. Great plugin. Used to work perfectly except somewhere along the line it started populating hidden fields for the permalink and title with the same incorect value, irrespective on which page the form is being submitted from. Suspect it started after an ('automatic') upgrade of CForms. Doesn't create any error messages.
Any ideas
Thanx.
André SC_
|
|
|
Guest
| Andre SC 2:04 pm September 17, 2008
| |
|
|
to clarify; we have three forms on most pages, typically one generated inside 'the Loop' and two outside of the loop. It is the two outside the wordpress 'Loop' that are giving the hassles, I've tried calling wp_reset_query() before insert_cform() but no luck that way. The field specifications in the admin are exactly the same. :-(
|
|
|
Admin
| Oliver Munich, Germany posts 6094 8:01 pm September 17, 2008
| |
|
|
except somewhere along the line it started populating hidden fields for the permalink and title with the same incorect value, irrespective on which page the form is being submitted from.
If the forms are not inside the loop, you can't use the permalink variable since there is no post/page context to get the permalink info in the first place.
Doesn't create any error messages
Not sure what you mean byy that.
|
|
|
|
|
Guest
| AndreSC 9:59 am September 18, 2008
| |
|
|
thanx, could the values be communicated by e.g. parameters in the function call
(still weird that it used to work:-/ )
|
|
|
Admin
| Oliver Munich, Germany posts 6094 5:21 pm September 18, 2008
| |
|
|
you can try and use{Page}, which refers to $_SERVER['REQUEST_URI']
|
|
|
|