• Really cool and easy to use plugin!

    I was just wondering, if I can also integrate it into a theme, so the theme users don’t have to deal with plungin installation and data import. I would like to provide out of the box functionality. So as soon as the user activates the theme, he should have the theme option menu with all the options ready to start.

    Is that pollible now or in future versions?

    Thank you.

Viewing 15 replies - 16 through 30 (of 33 total)
  • @ghostpool and @vauvarin
    did you solve the
    “No direct script access allowed”
    issue?

    Full theme integration would be just pure AWESOMENESSSSSS. Would liek to see a options for developers to comment out the documentation and settings pages for end users also. Being able to add pages with just text and images would be nice for liek info on using the theme or somehitng… if this isnt already in there.

    I got it to work without errors but no CSS or images are working.

    Plugin Author Derek Herman

    (@valendesigns)

    I’ll be updating the plugin again later this week to accept a default XML file in your theme so options are not added via the admin panel. It’s the best solution for keeping the plugin updated on every site/theme using OptionTree without creating a separate non plugin framework.

    Also a INPRODUCTION option will be nice, so when its activate (via functions.php) the documentation and settings are disabled.
    define(OPTION_TREE_INPRODUCTION, "yes");
    Something like that.
    I hope im clear, thanks in advance.

    yes, would be nice to be able to hide the documentation and settings menus when the site is shipped to client

    I also ran into the “No direct script access allowed” issue. . .

    Here’s what I had to change:

    In the class.admin.php page there are 3 spots where I changed

    OT_PLUGIN_DIR.’/front-end

    to

    TEMPLATEPATH . ‘/option-tree/front-end

    Hopefully that helps minimize someone’s troubles.

    I think this plugin is AWESOME and having the ability to have it built in to a theme is even more AWESOME!

    THIS CODE WORKS WELL FOR ME (for css/images issue)

    require_once (TEMPLATEPATH . '/lib/plugins/option-tree/index.php');
    define( 'OT_PLUGIN_DIR', TEMPLATEPATH . '/lib/plugins/option-tree');
    define( 'OT_PLUGIN_URL', get_template_directory_uri()  . '/lib/plugins/option-tree');

    Plugin Author Derek Herman

    (@valendesigns)

    Later today there will be a new version that has the ability to integrate with a theme and hides the settings and docs pages while pulling in the theme options from an XML file on install or upgrade. Also, the options data will be populated from a TXT file for new installs.

    That’s really great Derek.

    I am curious if you would be interested in some development I’ve done on your 1.1.6 version that allows a user to save settings into an alternate array (option) to have easily accessible layouts that can be activated / deleted / exported.

    The purpose of coding this was to allow a client to easily manage several designs for their site within the Options Tree Settings without have to export / import txt files.

    Just a simple click of the mouse let’s a user save the current settings as a new design and then create / activate / delete & export many more of them.

    We also added some action hooks into a few places that allow more control over the internal processes.

    Let me know as I would be happy to share it with you and the community.

    Plugin Author Derek Herman

    (@valendesigns)

    @skooks I would love to see what you’ve done contact me derek[at]valendesigns.com and we’ll see about integrating your changes into OptionTree.

    @derek, awesome work with the plugin, it’s been pivotal in the new theme we’ve been developing.

    I’m +1 for integrating the plugin directly into a theme as opposed to a plugin. Updates are not a big deal for users and, in fact, are a liability. For those of us extending your work, It’s best for the developer to release updated themes with OptionTree built in rather than risk a new version of OptionTree destroying any current settings/mods.

    We’ve also branched off some new features. One implements a checkbox toggle to show/hide additional options. Another implements full image upload insertion in the slider option (before you had to directly type in the file path to the image). Now you can use the image library to insert pictures. Let me know if you’d like the code.

    @derek, I second the awesomeness of this plugin.

    @warpol, I would love to get the code for the full image upload insertion.

    Plugin Author Derek Herman

    (@valendesigns)

    @warpol Yes send me the code and an explanation of where you changed it and what it’s doing and I’ll add it to the core.

    Send it to derek[at]valendesigns[dot]com.

    Plugin Author Derek Herman

    (@valendesigns)

    I added image upload to the slider in 1.1.7 that will be available tomorrow after the beta testers have verified it’s working along with all the other updates. You all are more than welcome to follow bleeding edge progress over at github and commit changes if you feel something is lacking.

    https://github.com/valendesigns/option-tree

    Also, thanks guys for all the support and for the handful of people that actually have been submitting code to the project.

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘[Plugin: OptionTree] Theme Integration’ is closed to new replies.