ThemeShaper Forums » Thematic


Thematic Extensions Structure

(6 posts)
  • Started 11 years ago by Ian Stewart
  • Latest reply from em hr
  • This topic is not resolved
  1. This is what the Thematic Extensions directory looks like right now:


    There's a lot of files there. And it's mostly my fault. :) Is this the best structure we can have? Is hooks-filters a cumbersome file that's making less and less sense. Or am I just being anal?

    Posted 11 years ago #
  2. Hey Ian,

    sorry .. I'm still thinking about it, looking into other themes and so on but I still haven't found the one and only system to keep things in order .. hooks-filters is indeed a cumbersome file.

    Let's take a look on all files:

    widgets.php - OK .. everything 'bout the Widgets
    theme-options.php - OK .. Thematic Options
    shortcodes.php - OK .. Shortcodes (currently Footer only, could be more)
    scripts.php - OK .. Scripts we need for the menu (more to come?)
    page-numbers.php - ?? .. Do we need this one in a separate file?
    hooks-filters.php - ?? .. needs to be splitted (new system?)
    helpers.php - OK .. everything that goes around the core
    dynamic-classes.php - OK .. the markup
    discussion.php - OK .. allow discussions in the comments
    author-info-avatar.php - ?? .. Do we need this one in a separate file?

    What about splitting the hooks-filters according to the markup (still would need a scheme for the file names)?

    - head
    - header
    - content
    - sidebar
    - footer



    Posted 11 years ago #
  3. I agree with Chris. Hooks needs to be splitted. it's always a mess looking inside of it

    Posted 11 years ago #
  4. buzztone

    Hi - came across this while looking for an up to date list of Thematic hooks & filters (ideally with description of what each one does. Looks like I can get this by trawling through Thematic\thematic\library\extensions. However I thought someone might be able to point me at an easier way of doing this.

    Regards Neil

    Posted 10 years ago #
  5. buzztone

    Hi again - I guess what I am looking for is something like the WordPress Hooks Database created by Adam Brown but covering Thematic's Hooks. Similar functionality would make developing with Thematic easier.

    Posted 10 years ago #
  6. That would be really helpful. In the meantime this may help you to some degree.

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.