82 posts
  • 3 Years of Membership
  • Austria
  • Collector Level 1
mattmatt88
says

Sorry for another question. I’m a designer and not much a coder. Is there a solution for that. or has anyone a simple way to do that:


Awesome plugin, transition went smoothly.

I have a question, what is the best way to add default value so that when the user activate the theme, it automatically come packed with optiontree + my options + my default value for these options.

I’ve added the entire option-tree folder in the root of my theme, I’ve added the code to reference it in my functions.php, I’ve exported my theme-options.php file, I’ve added it in the theme and referenced it in my functions.php.

When testing on a fresh WP install, option tree is there, my options are there, but they are blank and I can’t access my layouts. So the user can’t choose a predefined sets of value for the options, and they can’t upload any layouts information .. the only way is to have them install the plugin so they can import some layouts data.

Is there a better way?

Thanks!
82 posts
  • 3 Years of Membership
  • Austria
  • Collector Level 1
mattmatt88
says

oh sorry, my version was not up to date. it works great :)

But I still want to integrate an Import function for dummy data. Is there an easy way to do that?

1142 posts It's in the pipeline!
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • Author Level 11
+9 more
purethemes
says

Just wanted to say that I was always a little bit sceptic for Options Tree (version 1) and preferered my own solution, but I’ve started yesterday to dig into it and play a little bit – IT IS AWESOME ! Thank you Derek, you’re amazing!

332 posts Tabvn
  • 3 Years of Membership
  • Affiliate Level 6
  • Author Level 9
  • Beta Tester
+5 more
tabvn
says

Very good job, i tried and it worked perfect :), this plugin save a lot of times! thank you.

1142 posts It's in the pipeline!
  • Top Monthly Author
  • Trendsetter
  • Weekly Top Seller
  • Author Level 11
+9 more
purethemes
says

I know that TinyMCE can’t be used if DOM is loaded so it’s not possible to have it in List Item when we add new element with textarea, but would it be possible to use it if we already have saved this element of List Items?

21 posts
  • 5 Years of Membership
  • Collector Level 4
andiszek
says

Hello, i`m not sure if this is the right place, but i`d like to suggest some very small improvements.

1. it seems that themes with OT included are getting soft-rejected because of: - REQUIRED : get_settings found in the file ot-settings-api.php. Deprecated since version 2.1. Use get_option() instead.

see here: http://themeforest.net/forums/thread/option-tree-comment-form-issue-in-theme-rejection/71429

would it be possible to update the ot-settings-api.php file, so there won`t be any more problems in the future?

2. would it be possible to add a custom class to the Textblock items (Admin – OT – Settings) , so we can color-code Textblock items? for example, i use Textblock items to add a separator between subsections in each Section. i`d like this textblock to be an other color, so i can see where my separators are.

a custom class on textblock items would be sufficient, and i could write my own CSS .

thanks in advance, andi

500 posts Keep Walking
  • Trendsetter
  • 4 Years of Membership
  • Elite Author
  • Author Level 9
+5 more
UXbarn
says

Thank you so much valendesigns, the OptionTree is very awesome! :D

I’m trying to be familiar of implementing it. I’m new to the world of WordPress theme development but I’ve then realized that I found the magical tool here! ;)

Really appreciate your hard work.

500 posts Keep Walking
  • Trendsetter
  • 4 Years of Membership
  • Elite Author
  • Author Level 9
+5 more
UXbarn
says

Hmm. Just wondering that is it possible to create the submenu or tab for each Section? I think the answer may be yes but after digging into the codes I’m just lost… :stress:

Could you guys please give me some guidance to achieve this? :bashful:

2486 posts Premium Scripts, Plugins and Themes
  • 8 Years of Membership
  • Affiliate Level 5
  • Author Level 8
  • Beta Tester
+9 more
LucidStudios
says

OptionTree 2.0 has some great updates and the feature for the support of google webfonts will make it perfect.

3804 posts
  • Elite Author
  • Author Level 11
  • Trendsetter
  • 7 Years of Membership
+12 more
KrownThemes
says

Hi Derek

Is it possible to have an event for the saving action? In your previous OT version you had a function like this in the /classes/class.admin.php file, around line 610 :

function option_tree_array_save()

Inside this function i’ve added a call to an external function which would take some values from the Theme Options and write a file with them.

I still want to do this in my themes so i was wondering if there is a better way to do it that alter the main code.

by
by
by
by
by
by