ThemeShaper Forums » Thematic

[closed]

Thematic Extensions Structure

(6 posts)
  • Started 5 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:

    widgets.php
    theme-options.php
    shortcodes.php
    scripts.php
    page-numbers.php
    hooks-filters.php
    helpers.php
    dynamic-classes.php
    discussion.php
    author-info-avatar.php

    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 5 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

    Cheers,

    Chris

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

    Posted 5 years ago #
  4. buzztone
    Member

    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 5 years ago #
  5. buzztone
    Member

    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 4 years ago #
  6. That would be really helpful. In the meantime this may help you to some degree.

    http://bluemandala.com/thematic/thematic-structure.html

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.