The Joomla name and logo is used under a limited license from Open Source Matters in the United States and other countries.SmartAddons.Com is not affiliated with or endorsed by Open Source Matters or the Joomla Project.It is used all over the world to power everything from simple, personal homepages to complex corporate web applications.And best of all, Joomla is free, open, and tto all under the GNUGPL v2 license.
Sobipro Template License From OpenJoomla is a registered trademark of Open Source Matters, Inc. ![]() The single unknown for me was the degree of difficulty in learning the EXtensible Stylesheet Language (XSLT) technology. For those not familiar, XSLT is a template technology that parses an XML document and generates HTML. I liked the idea of being able to manipulate the data model along with the view. Thankfully, I was able to easily understand the XSLT syntax. Once I became familiar with the Section, Category, Item hierarchy, I understood that I could create a variety of field types within an item, and that the Item is like a custom Joomla Article. The Item then is my back-end data entry form in CCK nomenclature, a custom content type. This form is used to create an item (the SobiPro name for an article) that can be accessed from the front end via one or many categories. At this point, I thought of sections as applications, since the demo data that comes with SobiPro has different sections each for a specific application (Marketplace, Real Estate, Business Directory, etc.). At this point I also now understood that the my-section-name folder was a template in addition to an application or a section. Depending upon the flow of your data presentation, there are a variety of XSLT files that you need to be aware of. For my application, I was concerned with just four XSLT files. I used (3) to create a list of project imagesanchors for a category, and when the anchor was clicked, control was passed to the specific entry (4) in that category. Having had some exposure to real time programming, I found these control flows very similar to real time programming flow and control. ![]() Here is an example of a piece of XML generated by my application. PHP can easily accessed while in your XSLT template via a custom function or via SobiPro built in functions. An example of a custom PHP function is the following, which is used to set the value of the fromCategory variable from a cookie named from CategoryCookie. Additionally, having seen the power of XSL, I am an advocate for its usage throughout Joomla, as it allows developers to (optionally) generate XML and also incorporate XSLT usage into Joomlas template architecture. ![]() The Joomla Project relies on revenue from these advertisements so please consider disabling the ad blocker for this domain.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |