Labs JFoobar, blogging on anything related to content management systems and Open Source http://jfoobar.org/labs.feed 2010-09-07T17:39:08Z Joomla! 1.5 - Open Source Content Management Snippet - layout switching 2009-06-19T08:45:53Z 2009-06-19T08:45:53Z http://jfoobar.org/labs/code-snippets/289-snippet-layout-switching.html Arno Zijlstra arno.alvaana@gmail.com <ul class="extension clearfix"> <li>Type: Code Snippet</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-06-19</li> </ul> <p>Here's some code you can use in your template index file to switch between different layouts based on the menu tree -> menu item ID. You can do all kinds of funky stuff with this.</p> <ul class="extension clearfix"> <li>Type: Code Snippet</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-06-19</li> </ul> <p>Here's some code you can use in your template index file to switch between different layouts based on the menu tree -> menu item ID. You can do all kinds of funky stuff with this.</p> Component - Prototyper 2009-06-19T08:21:40Z 2009-06-19T08:21:40Z http://jfoobar.org/labs/joomla-components/287-prototyper-component.html Arno Zijlstra arno.alvaana@gmail.com <ul class="extension clearfix"> <li><strong>Name: jfoobar prototyper</strong></li> <li>Type: Component</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-06-19</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>With this component you can create your sites complete menu system without even creating sections, categories or articles.</p> <ul class="extension clearfix"> <li><strong>Name: jfoobar prototyper</strong></li> <li>Type: Component</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-06-19</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>With this component you can create your sites complete menu system without even creating sections, categories or articles.</p> Template - Prototyper 2009-06-19T08:21:40Z 2009-06-19T08:21:40Z http://jfoobar.org/labs/other/288-prototyper-template.html Arno Zijlstra arno.alvaana@gmail.com <ul class="extension clearfix"> <li><strong>Name: jfoobar prototyper</strong></li> <li>Type: Template</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-06-19</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>This is a base or start template. Everything is commented in the html and css for learning purposes.</p> <ul class="extension clearfix"> <li><strong>Name: jfoobar prototyper</strong></li> <li>Type: Template</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-06-19</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>This is a base or start template. Everything is commented in the html and css for learning purposes.</p> Phorum module 2009-01-30T09:28:59Z 2009-01-30T09:28:59Z http://jfoobar.org/labs/other/213-phorum-module.html Wilco Jansen jansen.wilco@gmail.com <ul class="extension clearfix"> <li><strong>Name: phorum</strong></li> <li>Type: Phorum module</li> <li>Compatible: Phorum 5.2+</li> <li>Last update: 2009-02-13</li> <li>Copyright: moovum</li> <li>License: GPL 2.0</li> </ul> <p>This is a Phorum module extension (so not a Joomla! module!) that enables bi-directional user management and also bi-directional single sign on between your Joomla! and your Phorum installation.</p> <p>Along with the Joomla! plugin it provides the following logic:<p> <ul> <li>Bi-directional user login and logout. This means that when a user logs into Joomla, it also logs you into Phorum. This also works the other way around, logging into Phorum will log you into Joomla. Logout logic works the same.</li> <li>Bi-directional user management. When you create/update/delete a user in Joomla! it will be also created in Phorum. Only those fields that are used in both systems will be used (obviously). The same logic works also from within Phorum, a password change will also be implemented in Joomla (as with change of username and mail address).</li> <li>New user registration logic of Phorum also works towards Joomla! The user account will only be accessible from within Joomla! after the user has confirmed the registration mail (if configured).</li> </ul> <p>To install the phorum module, just unpack the zipfile, configure and enable. The only fields you need are the absolute path to the Joomla! installation, and a default group assignment for new users within Joomla! </p> <p>To have it all working, you also need to upgrade the Joomla plugin to version 1.1. If you use the 1.0 version, you will suffer a login/user update recursion problem. </p> <div class="infobox-red"><p>Please read the detailed instructions before you start using this Phorum module.</p></div> <ul class="extension clearfix"> <li><strong>Name: phorum</strong></li> <li>Type: Phorum module</li> <li>Compatible: Phorum 5.2+</li> <li>Last update: 2009-02-13</li> <li>Copyright: moovum</li> <li>License: GPL 2.0</li> </ul> <p>This is a Phorum module extension (so not a Joomla! module!) that enables bi-directional user management and also bi-directional single sign on between your Joomla! and your Phorum installation.</p> <p>Along with the Joomla! plugin it provides the following logic:<p> <ul> <li>Bi-directional user login and logout. This means that when a user logs into Joomla, it also logs you into Phorum. This also works the other way around, logging into Phorum will log you into Joomla. Logout logic works the same.</li> <li>Bi-directional user management. When you create/update/delete a user in Joomla! it will be also created in Phorum. Only those fields that are used in both systems will be used (obviously). The same logic works also from within Phorum, a password change will also be implemented in Joomla (as with change of username and mail address).</li> <li>New user registration logic of Phorum also works towards Joomla! The user account will only be accessible from within Joomla! after the user has confirmed the registration mail (if configured).</li> </ul> <p>To install the phorum module, just unpack the zipfile, configure and enable. The only fields you need are the absolute path to the Joomla! installation, and a default group assignment for new users within Joomla! </p> <p>To have it all working, you also need to upgrade the Joomla plugin to version 1.1. If you use the 1.0 version, you will suffer a login/user update recursion problem. </p> <div class="infobox-red"><p>Please read the detailed instructions before you start using this Phorum module.</p></div> Phorum plugin 2009-01-17T10:03:07Z 2009-01-17T10:03:07Z http://jfoobar.org/labs/joomla-components/204-phorum-plugin.html Wilco Jansen jansen.wilco@gmail.com <ul class="extension clearfix"> <li><strong>Name: phorum</strong></li> <li>Type: System Plugin</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-01-30</li> <li>Copyright: moovum</li> <li>License: GPL 2.0</li> </ul> <p>With this Joomla! 1.5+ plug-in you can synchronize the users between <a href="http://www.joomla.org" class="ext">Joomla!</a> and the <a href="http://www.phorum.org/" class="ext">Phorum</a> forum solution. This plug-in also does single sign-on authentication when a user logs in the Joomla! site.</p> <p>The username, login and password are synchronized between Joomla! and Phorum. Yhe user is automatically created when it is added within Joomla! The user details are automatically changed when you (or your user) changes his information, when you delete a user from Joomla! the user also will get removed from Phorum. The user will be blocked from Phorum login if you block a user in Joomla!</p> <p>This is a very simple plug-in that handles basic user management. You need a Phorum extension if you also want to synchronise user management from within Forum. This solution is (not yet) provided here.</p> <div class="infobox-red"><p>Please read the detailed instructions before you start using the plug-in.</p></div> <ul class="extension clearfix"> <li><strong>Name: phorum</strong></li> <li>Type: System Plugin</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-01-30</li> <li>Copyright: moovum</li> <li>License: GPL 2.0</li> </ul> <p>With this Joomla! 1.5+ plug-in you can synchronize the users between <a href="http://www.joomla.org" class="ext">Joomla!</a> and the <a href="http://www.phorum.org/" class="ext">Phorum</a> forum solution. This plug-in also does single sign-on authentication when a user logs in the Joomla! site.</p> <p>The username, login and password are synchronized between Joomla! and Phorum. Yhe user is automatically created when it is added within Joomla! The user details are automatically changed when you (or your user) changes his information, when you delete a user from Joomla! the user also will get removed from Phorum. The user will be blocked from Phorum login if you block a user in Joomla!</p> <p>This is a very simple plug-in that handles basic user management. You need a Phorum extension if you also want to synchronise user management from within Forum. This solution is (not yet) provided here.</p> <div class="infobox-red"><p>Please read the detailed instructions before you start using the plug-in.</p></div> Plugin - Redirect 2009-01-14T10:00:00Z 2009-01-14T10:00:00Z http://jfoobar.org/labs/joomla-plugins/186-plugin-redirect.html Wilco Jansen jansen.wilco@gmail.com <ul class="extension clearfix"> <li><strong>Name: jfoobar_redirect</strong></li> <li>Type: System Plugin</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-01-10</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>With this Joomla! 1.5+ plugin your installation can understand different URL's. For example we could use http://jfoobar.org/tiny-147 as a valid URL. The plug-in then redirects to the corresponding article. This logic is used in social environments like twitter. This plug-in is used on the JFoobar twitter page.</p> <p>The plugin does not intervene with any existing plugin that does SEF or URL replacement. All it does is send a redirect to the browser when an article is found, so all existing URL's will remain untouched</p> <div class="infobox-red"><p>Please read the detailed instructions before you start using the plug-in.</p></div> <ul class="extension clearfix"> <li><strong>Name: jfoobar_redirect</strong></li> <li>Type: System Plugin</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-01-10</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>With this Joomla! 1.5+ plugin your installation can understand different URL's. For example we could use http://jfoobar.org/tiny-147 as a valid URL. The plug-in then redirects to the corresponding article. This logic is used in social environments like twitter. This plug-in is used on the JFoobar twitter page.</p> <p>The plugin does not intervene with any existing plugin that does SEF or URL replacement. All it does is send a redirect to the browser when an article is found, so all existing URL's will remain untouched</p> <div class="infobox-red"><p>Please read the detailed instructions before you start using the plug-in.</p></div> Plugin - Crunchbase 2009-01-09T16:00:00Z 2009-01-09T16:00:00Z http://jfoobar.org/labs/joomla-components/182-plugin-crunchbase-plugin.html jfoobar jfoobar.org@gmail.com <ul class="extension clearfix"> <li><strong>Name: jfoobar_crunchbase</strong></li> <li>Type: System Plugin</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-01-09</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>With this Joomla! 1.5+ plugin you can insert <a href="http://www.crunchbase.com/" class="ext">Crunchbase</a> information using content markups. When you look at <a href="http://www.techcrunch.com/" class="ext">Techcrunch</a> articles you see they use the methodology to insert informational snippets from techcrunch, with this plugin you can do exactly the same but then from within Joomla!</> <p>CrunchBase is the free database of technology companies, people, and investors that anyone can edit. TechCrunch, founded on June 11, 2005, is a weblog dedicated to obsessively profiling and reviewing new Internet products and companies. In addition to covering new companies, we profile existing companies that are making an impact (commercial and/or cultural) on the new web space.</p> <ul class="extension clearfix"> <li><strong>Name: jfoobar_crunchbase</strong></li> <li>Type: System Plugin</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-01-09</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>With this Joomla! 1.5+ plugin you can insert <a href="http://www.crunchbase.com/" class="ext">Crunchbase</a> information using content markups. When you look at <a href="http://www.techcrunch.com/" class="ext">Techcrunch</a> articles you see they use the methodology to insert informational snippets from techcrunch, with this plugin you can do exactly the same but then from within Joomla!</> <p>CrunchBase is the free database of technology companies, people, and investors that anyone can edit. TechCrunch, founded on June 11, 2005, is a weblog dedicated to obsessively profiling and reviewing new Internet products and companies. In addition to covering new companies, we profile existing companies that are making an impact (commercial and/or cultural) on the new web space.</p> Tip - Why does some HTML get removed from articles in version 1.5.8? 2008-12-18T22:30:57Z 2008-12-18T22:30:57Z http://jfoobar.org/labs/other/133-why-does-some-html-get-removed-from-articles-in-version-158.html Arno Zijlstra arno.alvaana@gmail.com <p>In Joomla! 1.5.8, a default filtering choice is in place for those who have not selected an Article Filter option. The default applied for those who have not made a selection implements "black list" filtering as a security precaution against possible XSS.</p> <p>Due to this change, you might notice problems trying to save a Youtube video, or embedding other Javascript or Flash objects into your Articles.</p> <p>If the default filtering option is not suitable for your needs, you can change it by using the Article Global Configuration options.</p> <p><a href="http://docs.joomla.org/Why_does_some_HTML_get_removed_from_articles_in_version_1.5.8%3F" title="Joomla! 1.5.8 default filtering" class="ext">Full info and examples</a></p> <p>In Joomla! 1.5.8, a default filtering choice is in place for those who have not selected an Article Filter option. The default applied for those who have not made a selection implements "black list" filtering as a security precaution against possible XSS.</p> <p>Due to this change, you might notice problems trying to save a Youtube video, or embedding other Javascript or Flash objects into your Articles.</p> <p>If the default filtering option is not suitable for your needs, you can change it by using the Article Global Configuration options.</p> <p><a href="http://docs.joomla.org/Why_does_some_HTML_get_removed_from_articles_in_version_1.5.8%3F" title="Joomla! 1.5.8 default filtering" class="ext">Full info and examples</a></p> Plugin - Author Biograph 2008-12-16T23:28:39Z 2008-12-16T23:28:39Z http://jfoobar.org/labs/joomla-plugins/116-plugin-author-biograph.html Wilco Jansen jansen.wilco@gmail.com <ul class="extension clearfix"> <li><strong>Name: jfoobar_author_bio</strong></li> <li>Type: System Plugin</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-02-13</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>With this Joomla! 1.5+ plugin you can create an content item (article) for registered users on your site and when a visitor clicks on the article detail (or read more) from a specific user, the user details page is rendered. This logic is used on the JFoobar site.</p> <ul class="extension clearfix"> <li><strong>Name: jfoobar_author_bio</strong></li> <li>Type: System Plugin</li> <li>Compatible: Joomla! 1.5+</li> <li>Last update: 2009-02-13</li> <li>Copyright: jfoobar</li> <li>License: GPL 2.0</li> </ul> <p>With this Joomla! 1.5+ plugin you can create an content item (article) for registered users on your site and when a visitor clicks on the article detail (or read more) from a specific user, the user details page is rendered. This logic is used on the JFoobar site.</p> Snippet - Load module in article 2008-12-16T08:58:23Z 2008-12-16T08:58:23Z http://jfoobar.org/labs/code-snippets/130-snippet-load-module-in-article.html Arno Zijlstra arno.alvaana@gmail.com <p>You can load a module position in a Joomla! 1.5 article with following tag:</p> <pre class="codeblock"> <code class="jsh:html"> { loadposition user7 } </code> </pre> <p>Change user7 to a different position name to load the published modules for that position.</p> <p>You can load a module position in a Joomla! 1.5 article with following tag:</p> <pre class="codeblock"> <code class="jsh:html"> { loadposition user7 } </code> </pre> <p>Change user7 to a different position name to load the published modules for that position.</p>