hoffcamp
Forum Replies Created
-
Private fields should be accessible in custom e-mail templates. The fields have to have a nickname, and use the
[item (nickname)]shortcode to access them. If you did these things correctly then I’m not sure where the problem lies.Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Copying FormsIf you look to the right of the form element buttons (text, textarea, etc.) there is a button for ‘insert saved form’, which inserts the fields from another form.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] No serverside validationThis will be in the next major update, but I don’t know when that will be ready.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] File Attachment LinkThe fix will only work on newly uploaded files. The older files are stored as a filename, and in your case a string, ‘%uploads_dir%’, which points to the *current* uploads directory. I missed the fact that this directory changes with time. The update changed things so that files are stored along with the full path of where they were uploaded.
The entries in the DB are serialized PHP arrays, so you could write a script to alter them according to the updated format. Or you could re-upload the files. That’s all I can think of.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Line BreaksFM automatically backs up files other than the default templates to carry them across upgrades. Just name it something other than the default template names. If you are doing this and the files are still being blown away then this is a bug.
There isn’t an easy way, other than writing a small plugin for a shortcode to do this.
Its something that I’m going to add. The original reasoning was that you should just customize the summary template, but looking back it makes too much sense to not do it the way you are asking.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] get image into templateI made a change in the file upload. The code to grab the file url is:
<?php $file = fm_summary_get_item_value('whatever'); $file = unserialize($file); ?> <img src="<?php echo $file['upload_url'].'/'.$file['filename'];?>"/>Note that the url is stored with the file array, and there is no call to
wp_upload_dir().Somebody else on the forums asked this, they made a custom summary template to do this. If your file upload has the nickname ‘whatever’, you would do the following:
<?php $file = fm_summary_get_item_value('whatever'); $file = unserialize($file); ?> <img src="<?php echo $file['upload_url'].'/'.$file['filename'];?>"/>This assumes you are using default options for the upload directory.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Display data as MatrixIf you used a custom summary template you could achieve that result. Use the
formdatashortcode, and specify the custom template name, for example ‘my-custom-template.php’ would be used:[formdata template=my-custom-template]Markus, this is a ‘PHP warning’. It is a known issue but, these should not be showing on a production server anyway. What host are you using?
I don’t know why that is happening, but this must be a bug.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Templates Not UpdatingTry the update 1.6.29. This should fix your problem.
I just posted an update 1.6.29 that might fix your problem.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] authors and summeryThat’s a really good idea. Currently the author of the form isn’t stored, so I’ll have to add that too, but that makes a lot of sense.