ThemeShaper Forums » Thematic

Disapperaing Theme + Thickbox?

(9 posts)
  • Started 5 years ago by manlikemalcolm
  • Latest reply from Chris
  • This topic is resolved
  1. A couple of questions here:

    I added the thickbox.js file to libraby > scripts.
    I am not sure which file to edit to call this script. I assumed it was header.php - I am clearly not grasping a crucial Thematic concept here.

    Also, after uploading the script and navigating to appearance > editor. Wordpress tells me that I have no themes installed, however the theme still appears to be working.

    Thanks, Malcolm

    Posted 5 years ago #
  2. Hey Malcolm,

    doesn't look as if you're working with a child theme .. in your Thematic directory you'll find a sample directory. Move this one to /wp-content/themes and rename it .. Maybe you should re-install Thematic.

    And now all changes can be done in the child theme's directory.

    Edit your child theme's functions.php and add:

    function my_script() {?>
       <script type="text/javascript" src="http://yourdomain.com/wherever/yourscript.js"></script>
    <?php
    }
    add_action('wp_head', 'my_script',9);

    Cheers,

    Chris

    Posted 5 years ago #
  3. Thanks Chris....haven't quite grasped the child theme concept yet....I just went straight ahead and started hacking away at the thing....but looking at the sample file I know see why this is the way to go.
    Thanks for your help! Thematic is really super awesome!

    Posted 5 years ago #
  4. Hello Chris, thanks that function worked great & I have a pretty good start on the child theme etc. Do you know if the jQuery library included with thematic is compatible with Thickbox? I have troubleshooted all of the other possibilities, all of my paths are correct (verified), I have included the correct class names on my link, etc.

    Thickbox uses a file called jquery-latest.js. I tried including this as well, but no luck...

    Posted 5 years ago #
  5. Malcolm, Thickbox works with WP's standard jQuery and with Thematic. Running both on my blog with NextGEN.

    Could you provide a link?!

    Cheers,

    Chris

    Posted 5 years ago #
  6. Hey Chris, after digging around the forum I decided that the lightbox 2 login would suit my purposes quite well! Thanks again...malcolm

    Posted 5 years ago #
  7. Seems like Lightbox is jumping in (FF3) .. ok .. will test with the other browsers .. works with Chrome, IE6, IE7, Safari and Opera ..

    Posted 5 years ago #
  8. .. you were faster :-)

    Posted 5 years ago #

RSS feed for this topic

Reply

You must log in to post.