johanW-2
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Remove pagination from content template
Started by: johanW-2 in: Toolset Professional Support |
2 | 5 | 4 years, 4 months ago | ||
Do I have to translate with WPML?
1
2
Started by: johanW-2
in: Toolset Professional Support
Problem: I would like to translate the "--- not set ---" string in a CRED form, but I cannot find it to translated in any MO or PO files. Solution: This string is not currently translatable using the standard MO / PO workflow. We are working on a fix to make this string translatable in CRED 1.9.3, which should be available soon. |
2 | 16 | 7 years, 5 months ago | ||
Is it possible to import data for custom select field options
Started by: johanW-2
in: Toolset Professional Support
Problem: I would like to import the options for a custom select field Solution: First create two options manually. Then use Toolset Export to export all your custom fields. Open the zip file and modify the XML file to include the desired custom fields. Each option tag should have a unique name. See the format below. <field> <id>my-select</id> <slug>my-select</slug> <type>select</type> <name>my-select</name> <description></description> <data> <options> <wpcf-fields-select-option-f0ad8e37f8db21b2b56e09589bc4610b-1> <title>Option title 1</title> <value>1</value> </wpcf-fields-select-option-f0ad8e37f8db21b2b56e09589bc4610b-1> <wpcf-fields-select-option-b3ae68667fc8b5bdf4049bcf0b5cea72-1> <title>Option title 2</title> <value>2</value> </wpcf-fields-select-option-b3ae68667fc8b5bdf4049bcf0b5cea72-1> <wpcf-fields-select-option-my-option-name> <title>My Option Name</title> <value>myoptionvalue</value> </wpcf-fields-select-option-my-option-name> <wpcf-fields-select-option-my-next-option-name> <title>My Next Option Name</title> <value>mynextoptionvalue</value> </wpcf-fields-select-option-my-next-option-name> <default>no-default</default> </options> <submit-key>select-650458854</submit-key> <disabled_by_type>0</disabled_by_type> </data> <meta_key>wpcf-my-select</meta_key> <meta_type>postmeta</meta_type> <wpml_action>2</wpml_action> <__types_id>my-select</__types_id> <__types_title>my-select</__types_title> <hash>c983de0b2103b034786aa5c37b33328f</hash> <checksum>c983de0b2103b034786aa5c37b33328f</checksum> </field> Verify the XML file is valid using a service like validator.w3.org. Then, zip up the new XML file and the PHP file (no edits are required in the PHP file) into a new archive. Note that the two files should be zipped directly, not added to a directory first. Use Toolset Import to import the archive with your new options in place. Relevant Documentation: https://toolset.com/documentation/user-guides/how-to-importexport-types-structures/ |
2 | 7 | 7 years, 6 months ago | ||
Can I remove the list classes from radiobuttons
Started by: johanW-2
in: Toolset Professional Support
Problem: Solution: .wpt-form-set-radios-wpcf-rating li { float: left; width: 20%; } .wpt-form-set-radios-wpcf-rating { width: 100% !important; float: left; } .wpt-form-set-radios-wpcf-rating input[type="radio"], input[type="checkbox"] { margin: 4px 0 0; margin-top: 1px \9; line-height: normal; float: left; margin: 10px 4px !important; } NOTE: Please change “wpt-form-set-radios-wpcf-rating” to your class name. |
2 | 5 | 7 years, 6 months ago |