Forum Replies Created
-
AuthorPosts
-
SteveKeymasterTo edit an existing post you just need to pass the Post ID in the url, like this:
http://yourdomain.com/page-with-form/?_post[ID]=1In your case:
http://uniquesweb.co.in/piklist/sample-page/?_post[ID]=1
SteveKeymaster@hozefasmile– Is the form set to only show for logged in users? I can’t see it.
SteveKeymaster@hozefasmile– Awesome! Looking forward to hearing about it.
Closing this ticket.
SteveKeymaster@txhorselady– I received your plugin via email. As soon as I activated it I noticed you have not changed over to the new Workflow system. Once you do that, the everything will work normally.
SteveKeymasterremember to delete the old Piklist plugin before installing the new.
SteveKeymasterHozefa– Front-end forms are ready to go, and are included in Piklist. No other plugin is necessary. Just added some documentation here>
Sample code for creating a Post from the front-end can be found in the built-in Demos>
Let us know if you have any questions
SteveKeymasterHozefa– Front-end forms are ready to go! Just added some documentation here>
Let me know if you have any questions.
SteveKeymaster@shayneol– The description will be put back to it’s old position in the next version of Piklist. After review, we agree it should be there.
SteveKeymaster@conkid– Welcome to the Piklist community!
When you use a
groupfield, the data can be save in an array, OR as separate values. If you use a field name at the group level, like you did withasset_type, the data will be in an array. If you remove that, and just use field names for each field then it won’t.Try this updated code. It places two select fields side-by-side, 6 columns each (Piklist uses a 12 column grid).
piklist('field', array( 'type' => 'group' ,'label' => 'Select Asset Type' ,'help' => __('Select the type of Asset being logged...') ,'fields' => array( array( 'type' => 'select' ,'field' => 'asset_type' ,'label' => 'Select Asset' ,'columns' => 6 ,'choices' => array( 'laptop' => 'Laptop' ,'docking_station' => 'Docking Station' ,'monitor' => 'Monitor' ,'headset' => 'Headset' ,'office_phone' => 'Office Phone' ,'cell_phone' => 'Cell Phone' ,'software' => 'Software' ,'monitor' => 'Monitor' ,'desktop' => 'Desktop' ,'monitor' => 'Monitor' ,'ram' => 'Ram' ,'hard_drive' => 'Hard Drive' ,'battery' => 'Battery' ,'laptop_charger' => 'Laptop Charger' ) ) ,array( 'type' => 'select' ,'field' => 'manufacturer' ,'label' => 'Select Manufacturer' ,'columns' => 6 ,'help' => __('Select the manufacturer of Asset being logged...') ,'choices' => array( 'hp' => 'HP' ,'lenovo' => 'Lenovo' ,'monitor' => 'Monitor' ,'headset' => 'Headset' ,'office_phone' => 'Office Phone' ,'cell_phone' => 'Cell Phone' ,'software' => 'Software' ,'monitor' => 'Monitor' ,'desktop' => 'Desktop' ,'monitor' => 'Monitor' ,'ram' => 'Ram' ,'hard_drive' => 'Hard Drive' ,'battery' => 'Battery' ,'laptop_charger' => 'Laptop Charger' ) ) ) ));Let me know if this is what you’re looking for.
Attachments:
You must be logged in to view attached files.October 30, 2015 at 10:33 pm in reply to: Creating conditional field for something not equal to 'none' #4799
SteveKeymaster@rachel– Closing this ticket since we resolved via email.
SteveKeymaster@ndbe– You’re the only one who has reported this issue. Can you email your plugin to [email protected]
October 29, 2015 at 12:06 pm in reply to: How can I display meta boxes only on pages with no templates attached? #4788
SteveKeymasterHere’s what I did:
1) Install Soil
2) Add to functions.php:
add_theme_support(‘soil-clean-up’);
add_theme_support(‘soil-disable-trackbacks’);
3) In Helpers, I clicked on the “Appearance” tab and checked off everything from “Remove from template header”.I received no errors. Please let me know if I’m doing this correctly.
October 28, 2015 at 4:14 pm in reply to: How can I display meta boxes only on pages with no templates attached? #4783
SteveKeymaster@kplaneta– Use the template parameter.
Template: default -
AuthorPosts