|
Deep Pockets II Content Items |
|
|
Each of your File Folders may contain any number of Content Items. And this is where we get REALLY tricky. The architecture of Deep Pockets II allows for any number of completely different Content Item Types to be utilised by the system.
EVERY CONTENT ITEM TYPE HAS THE SCOPE TO ALTER ITS OUTPUT NOT ONLY COSMETICALLY, BUT FUNCTIONALLY ALSO !! As long as in the end, the data is packaged in a way that your chosen File Folder can render, a programmer of moderate experience should be able to make these things do whatever they can dream up.
Deep Pockets II Public BETA Release 1 ships with 3 basic Content Item Types:
- Joomla! Content Link Item
- Allows you to link ANY Joomla! Content Item to ANY File Folder / Category.
- Deep Pockets II Category Link Item
- That's right - render links to ANY Deep Pockets II Category alongside the rest of your linked content if you wish!
- Deep Pockets II Content Item
- Our demonstration of the flexibility of these objects. Deep Pockets II Content Items can be used to contain and display content in their own right. But that's not even half of it. These objects are even further configurable with an architecture that will allow you to add as many different DataSets as you can dream up! Each DataSet is capable of introducing as much functionality and contain as many parameters as you desire. We've included a Link-Type DataSet (which accepts and renders a different Title and/or URL for the Content Link Title and ReadMore Link) with the current distribution - but we have plans for this thing that you're not going to believe right now ...
Clicking on a Read More Link on a Deep Pockets II Category Page will get you to the final level of Sub-Templates - the Content Sub-Templates. The example included contains all the code you need to activate and render ALL of the same mamBots that you may have used to construct the content including 'mosimage' and 'mospagebreak' tags.
The architecture that you need to be aware of at this level is a LITTLE different. If you are going to add a custom Content Item Type, you are going to need to add both Backend and Frontend code. We'll cover this later. However, if you only want to change the way your Content Items appear when someone clicks a Read More ... link, you only need to add a custom Content Sub-Template.
Content Sub-Templates are located in :: components/com_deeppockets/subTmpl/content/
- default.html << 'Default' patTemplate file
- default.php << 'Default' Type Class File
- default.xml << 'Default' Type Parameters File
|
|
Last Updated ( Thursday, 12 April 2007 )
|