Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Templating in my own custom block, is it possible?
  • Posted: 21.09.2006, 13:29
     
    zewtastic
    rank:
    Freshman Freshman
    registered:
     September 2006
    Status:
    offline
    last visit:
    21.09.06
    Posts:
    3
    I am trying to expand on my PostNuke knowledge, so bear with me if these questions are stupid.

    I now see how I can easily make my own block and reference my own custom PHP pages, and it works well. But now I want to take the next step and use the templating system as well, and apply it to my custom PHP pages in that block I made.

    I have read through all the docs I could find but cannot find an example of how I might do this, and my tests have not been successful.

    Is this possible? Or am I going about it incorrectly?

    Any help/pointers appreciated. icon_confused
  • Posted: 21.09.2006, 15:57
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    online
    Posts:
    13418
    Well, you have two options. Either create a custom module and associate a block with it (in much the same way as the RSS module/blocks work in .762). Or you could make a stand alone block as part of the blocks module. This is the approach taken with .8 when the includes/blocks directory is removed.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula