• Previous message: [greg-dev] Plugin
  • Next message: [greg-dev] Plugin suggestion : sort of highlighter for specifics keywords
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Plugin

    Hi Marco,
    
    hope you have more time now and can do more the things you like as the
    things you must ;-)
    
    The plugin is used to integrate templates in to the 'main-template'
    (don't know if I should call it as this) - to keep it small and slim.
    So you can source out parts into small templates or put new things into
    it and integrate them into the theme-template.
    
    For example - what I have done in my template (still under construction :-/)
    
    I wanted to integrate a meta section - for buttons and/or counter and
    this stuff - so I created a meta.php and want to include it into the
    template. Therefore I created this plugin. Another thing is the stats -
    which are integrated into the feeds.php - I separted them into a new
    tmeplate. All the new templated should behave like the original - access
    the environment.
    
    What I did in the code - you see - is very simple. And the function will
    only be declared if it does not exist allready - so there will be no risc.
    
    A puulout from my index.php template:
    
    ...
    
      <div id="sidebar">
        <?php rss_nav(); ?>
    
        <ul id="sidemenu">
          <?php rss_main_sidemenu("li"); ?>
        </ul>					
    
        <div id="channels">
          <?php rss_main_feeds(); ?>
        </div>
    
        <!-- custom template for statistics -->
        <?php rss_custom_template("stats"); ?>
    		
        <!-- custom template for meta-tags -->
        <?php rss_custom_template("meta"); ?>
    				
        <?= rss_nav_afternav(); ?>
      </div>
    ...
    
    Hopefully you get what I tried to say ,-))
    
    regards,
    Marcus
    
    Marcus Kimpenhaus
    
    Polsumer Str. 56
    45896 Gelsenkirchen
    
    +49 (209) 9256075
    marcus at kimpenhaus.de
    
    Marco Bonetti schrieb:
    > Marcus, hello.
    > 
    > Sorry for the lack of feedback, I've been quite busy as of lately.
    > 
    > Re: the plugin. I remember taking a look at it, and wondering what
    > exactly it was meant for :) Would you mind giving a practical use-case
    > where this could be used?
    > 
    > Re: your patch. It makes sense, I just committed it, thank you :)
    > 
    >  -m
    > 
    > 
    > 
    > On 10/24/05, Marcus Kimpenhaus <marcus at kimpenhaus.de> wrote:
    > 
    >>Hi,
    >>
    >>on 14. October I tried to register a plugin
    >>(http://plugins.gregarius.net/index.php?req=info&id=18) but nothing
    >>happened. Maybe someone can have a look at it?
    >>
    >>And another open point is mailing-list entry:
    >>http://sinless.org/pipermail/gregarius-dev/2005-October/000597.html
    >>Nothing happened on this either - maybe someone - a feedback would be
    >>appreciated ,-)
    >>
    >>regards,
    >>Marcus.
    >>
    >>
    >>--
    >>Marcus Kimpenhaus
    >>
    >>Polsumer Str. 56
    >>45896 Gelsenkirchen
    >>
    >>+49 (209) 9256075
    >>marcus at kimpenhaus.de
    >>_______________________________________________
    >>gregarius-dev mailing list
    >>gregarius-dev at sinless.org
    >>http://sinless.org/mailman/listinfo/gregarius-dev
    >>
    
    
    Posted by Marcus Kimpenhaus [reply] at Mon Oct 24 21:17:51 CEST 2005