<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-27023608</id><updated>2011-12-08T23:54:10.293-08:00</updated><title type='text'>PHP Programming for Dummies Like Me</title><subtitle type='html'>This journal records the things I learned along the way as I customize our newspaper Content Management System using PHP and MySQL. I try to leave breadcrumbs along the way of usable code snippets.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-27023608.post-114768276372840343</id><published>2006-05-15T01:42:00.000-07:00</published><updated>2006-05-15T01:46:03.740-07:00</updated><title type='text'>A simple user login and registration system</title><content type='html'>The &lt;a href="http://www.gmtt.co.uk/details.php?file=10"&gt;GMTT Lite Login System &lt;/a&gt;is a wonderful little easily understood piece of code. There's a lot of other good stuff on the site, but it's being rebuilt so you have to navigate arounda bit from the &lt;a href="http://coding.phpground.net/downloads-cat74.html"&gt;front page &lt;/a&gt;to find it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114768276372840343?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114768276372840343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114768276372840343' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114768276372840343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114768276372840343'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/05/simple-user-login-and-registration.html' title='A simple user login and registration system'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114665375292795899</id><published>2006-05-03T03:50:00.000-07:00</published><updated>2006-05-03T03:55:52.940-07:00</updated><title type='text'>Programmer’s Critique of Joomla</title><content type='html'>&lt;strong&gt;Ten reasons Joomla!/Mambo is an outdated CMS&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;[From: "RipperDoc’s Clinic, Dissecting just about everything, live from Hong Kong, China"]&lt;br /&gt;&lt;br /&gt;"Having recently been working intensely with Joomla!, and in the same time with Wordpress and some AJAX-development I have come to the following conclusion: Joomla!/Mambo is outdated. It has moved from being cool and hot to being mainstream, boring and just old…here is my list of reasons that it’s outdated…” &lt;br /&gt;&lt;br /&gt;“The layout is based on tables.” &lt;br /&gt;&lt;br /&gt;[Shouldn't the parts of a Content Management System be distributed as follows: content [database], presentation [template file], and control flow [program file]?]&lt;br /&gt;&lt;br /&gt;“It is also very cluttered and when making a template, you have very little control on how system outputted data should be displayed.”&lt;br /&gt;&lt;br /&gt;[The &lt;strong&gt;template tags&lt;/strong&gt; in Movable Type and Wordpress REALLY DO separate the data and presentation layer]&lt;br /&gt;&lt;br /&gt;The templates and style sheets tend to be large and cluttered, with heaps of different, class names, often confusingly named. &lt;br /&gt;&lt;br /&gt;[Again &lt;strong&gt;template tags&lt;/strong&gt;]&lt;br /&gt;&lt;br /&gt;“The administrative interface is slow and not very user friendly.” &lt;br /&gt;&lt;br /&gt;[Modules seemed easy to handle. components couldn’t figure out]&lt;br /&gt;&lt;br /&gt;“You can still not sort tables after columns, even though they look sortable. You often get stuck by pressing back and getting the message “Do you want to resend the POSTDATA?”. &lt;br /&gt;&lt;br /&gt;“Some simple AJAX and usability thinking would make the interface much better. “&lt;br /&gt;&lt;br /&gt;[Usability for sure, but not really sure how making it asynchronous would make it simpler]&lt;br /&gt;&lt;br /&gt;There is a plethora of templates and plugins, but it’s very hard to find good ones. Many plugins are badly developed, very specialized or cost money. When searching for templates you get hundreds of sites selling templates but not looking very trustworthy. &lt;br /&gt;&lt;br /&gt;[One plug and play module with functionality (poll, login, quiz...) that you can put in any CMS block (left, top, right, center) that can be used in any CMS, Joomla, PostNuke, Wordpress…]&lt;br /&gt;&lt;br /&gt;“Of course, the fork has caused greats problem. Plugins are being shifted from Mambo to Joomla, some deprecated, and the confusion is considerable.”&lt;br /&gt;&lt;br /&gt;[It confuses me, but its free, how can I complain?]&lt;br /&gt;&lt;br /&gt;“This is very different from the Wordpress community, where most plugins are of high quality, and where you quite easily can find the plugins thanks to the blogging community.”&lt;br /&gt;&lt;br /&gt;[Wordpress looks like it has everything and the registration is in one non-OO file, I’m going to try this]&lt;br /&gt; &lt;br /&gt;“The code base is huge and the API is complicated and often inconsequent. Just getting the right information as a developer is a challenge. To add to this, the balance between backwards compability and refactoring is a constant issue, and it seems Mambo is always somewhere in between, in the bad sense.”&lt;br /&gt;&lt;br /&gt;[Getting right information, that’s it. Wasted a lot of time. Just going to use a debugger.]&lt;br /&gt; &lt;br /&gt;“The whole CMS package is big and bulky, and so is the system itself. It’s often slow, either in loading or in finishing administrative tasks, due to many page loads until completion of a task.”&lt;br /&gt;&lt;br /&gt;[Is Wordpress or any PHP system really any faster?]&lt;br /&gt; &lt;br /&gt;“The category system is inconseqent, having sections, with categories, but no more sub levels. Add to this components with their own separate systems. This needs a real cleanup. The same problems occur in the user management system, with a rigid hiearchy of ACL that is buggy and not used everywhere… Where is the social collaboration in Mambo… “&lt;br /&gt;&lt;br /&gt;[Make the content taggable with multiple key words, so it can role up into different semantic hierarchies]&lt;br /&gt;&lt;br /&gt;"Development is very slow. It takes months and months to make just a slight update, which mostly consists of bug fixes. The whole mess around the forking of the code into Joomla! also made a halt in the progress. My guess is that the code base is cluttered and makes it hard for developers to quickly add features, especially when having to consider backwards compability."&lt;br /&gt; &lt;br /&gt;"I admit, I have compared with Wordpress in many of these issues. And Wordpress is a clear role model, but it is a blog system, not a full-fledged CMS. Even though Wordpress can be a CMS, with some plugins, it’s not optimal. Where are all the modern and original CMS:es? There must be a huge user base that’s craving something new, light-weight, easily integrated and extendable?" &lt;br /&gt;&lt;br /&gt;[Seems like Wordpress. I’ll give it a try. Don’t mean to be negative, but need something simple to understand]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114665375292795899?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114665375292795899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114665375292795899' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114665375292795899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114665375292795899'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/05/programmers-critique-of-joomla.html' title='&lt;a href=&quot;http://blog.nogo.se/2006/03/22/ten-reasons-joomlamambo-is-an-outdated-cms/&quot;&gt;Programmer’s Critique of Joomla&lt;/a&gt;'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114665085138148835</id><published>2006-05-03T03:03:00.000-07:00</published><updated>2006-05-03T03:07:31.380-07:00</updated><title type='text'>Choosing a PHP Debugger II</title><content type='html'>The &lt;a href="http://en.wikipedia.org/wiki/Eclipse_(computing)"&gt;Eclipse&lt;/a&gt; IDE (&lt;a href="http://en.wikipedia.org/wiki/Integrated_development_environment"&gt;Integrated Development Environment&lt;/a&gt;) with PHP plugin seems like the best option for stepping through CMS execution to see how control flow and variable scope works. &lt;br /&gt;&lt;br /&gt;The combination must be widely used since there is even an acronym for it &lt;a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)"&gt;AMPLE&lt;/a&gt; (Apache Mysql PHP Eclipse) programming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114665085138148835?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114665085138148835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114665085138148835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114665085138148835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114665085138148835'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/05/choosing-php-debugger-ii.html' title='Choosing a PHP Debugger II'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114665003345146948</id><published>2006-05-03T02:17:00.000-07:00</published><updated>2006-05-03T03:01:04.106-07:00</updated><title type='text'>Confusing mix of object-oriented and imperative programming</title><content type='html'>There’s a confusing mix of imperative and object-oriented PHP in the registration module. What’s confusing is that in the object-oriented presentation layer I have to make a call back to the non-OO data layer to look up the subscriber id in a table.&lt;br /&gt;&lt;br /&gt;I’m running it under PHP 4 also. I thought PHP 5 was object oriented? What’s up? So I guess I have to find out what PHP 4 OO programming was. Luckily there’s a little &lt;a href="http://www.devx.com/webdev/Article/10007/1954?pf=true"&gt;article by the authors of PHP themselves&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To understand what is happening I’ve also started to recall those old ideas from the theory of programming languages: &lt;a href="http://en.wikipedia.org/wiki/Scope_(programming)"&gt;variable scope &lt;/a&gt;and &lt;a href="http://en.wikipedia.org/wiki/Control_flow"&gt;control flow&lt;/a&gt; (as well as the &lt;a href="http://en.wikipedia.org/wiki/Scheme_programming_language"&gt;Scheme&lt;/a&gt; concepts of &lt;a href="http://en.wikipedia.org/wiki/Closure_%28computer_science%29"&gt;closures&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Continuation"&gt;continuations&lt;/a&gt; that help make sense of the most difficult aspects like &lt;a href="http://en.wikipedia.org/wiki/Control_flow#Structured_non-local_control_flow"&gt;non-local control flow&lt;/a&gt; and scope in objects).&lt;br /&gt;&lt;br /&gt;Anyway don't mean to be negative, but I am going to make sense of this stuff, and this blog is going to record the steps I take to understand it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114665003345146948?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114665003345146948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114665003345146948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114665003345146948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114665003345146948'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/05/confusing-mix-of-object-oriented-and.html' title='Confusing mix of object-oriented and imperative programming'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114656883534207553</id><published>2006-05-02T04:08:00.000-07:00</published><updated>2006-05-02T04:20:35.350-07:00</updated><title type='text'>Debugger to follow control flow and namespaces with</title><content type='html'>I can already see that I'm going to need a PHP debugger since I can print variables out to the Joomla webpage. It will also show what namespaces are defined in any given part of a program and also show me control flow.&lt;br /&gt;&lt;br /&gt;Wikipedia has a &lt;a href="http://en.wikipedia.org/wiki/List_of_PHP_editors"&gt;list of PHP editors&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Debugger_front-end"&gt;debugger front-ends&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;What debugger to choose? &lt;br /&gt;&lt;br /&gt;I downloaded &lt;a href="http://en.wikipedia.org/wiki/ActiveState_Komodo"&gt;Activestate's Komodo IDE&lt;/a&gt; to check out first.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114656883534207553?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114656883534207553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114656883534207553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114656883534207553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114656883534207553'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/05/debugger-to-follow-control-flow-and.html' title='Debugger to follow control flow and namespaces with'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114656797982282541</id><published>2006-05-02T03:43:00.000-07:00</published><updated>2006-05-02T04:08:21.710-07:00</updated><title type='text'>Modifying the registration component II</title><content type='html'>&lt;strong&gt;Control flows&lt;/strong&gt; from registration.php to registration.html.php, from the data layer to the presentation layer. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;registration.php&lt;/strong&gt; just has functions, no classes.&lt;br /&gt;&lt;strong&gt;registration.html.php&lt;/strong&gt; has one big class in it called HTML_registration.&lt;br /&gt;&lt;br /&gt;The main switch statement in registration.php calls registerForm below.&lt;br /&gt;&lt;br /&gt;The data layer function registerForm calls the presentation layer function registerForm: &lt;strong&gt;HTML_registration::registerForm($option, $useractivation);&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Control then passes to &lt;strong&gt;the validation if-statement&lt;/strong&gt; that I'm modifying.&lt;br /&gt;&lt;br /&gt;If I define the function &lt;strong&gt;subscriber_exists()&lt;/strong&gt; and the constant &lt;strong&gt;_REGWARN_SUBSCRIBER&lt;/strong&gt; in registration.php it should be available inside the class HTML_registration?&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;registration.php:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;font color="#000000"&gt;&lt;br /&gt;function registerForm( $option, $useractivation ) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;global $mainframe;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (!$mainframe-&amp;gt;getCfg( 'allowUserRegistration' )) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mosNotAuth();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$mainframe-&amp;gt;SetPageTitle(_REGISTER_TITLE);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HTML_registration::registerForm($option, $useractivation);&lt;br /&gt;}&lt;/font&gt;&lt;br /&gt;&lt;/code&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;registration.html.php:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;font color="#000000"&gt;&lt;br /&gt;function registerForm($option, $useractivation) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;?&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function submitbutton() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var form = document.mosForm;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var r = new RegExp("[\&amp;lt;|\&amp;gt;|\"|\'|\%|\;|\(|\)|\&amp;amp;|\+|\-]", "i");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// do field validation&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (subscriber_exists(form.subscriberid.value)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_SUBSCRIBER&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.name.value == "") {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_NAME&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.username.value == "") {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_UNAME&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (r.exec(form.username.value) || form.username.value.length &amp;lt; 3) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php printf&lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_VALID_AZ09&lt;/font&gt;&lt;font color="#007700"&gt;), &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_PROMPT_UNAME&lt;/font&gt;&lt;font color="#007700"&gt;), &lt;/font&gt;&lt;font color="#0000BB"&gt;2 &lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.email.value == "") {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_MAIL&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.password.value.length &amp;lt; 6) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_PASS&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.password2.value == "") {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_VPASS1&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if ((form.password.value != "") &amp;amp;&amp;amp; (form.password.value != form.password2.value)){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_VPASS2&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (r.exec(form.password.value)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php printf&lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_VALID_AZ09&lt;/font&gt;&lt;font color="#007700"&gt;), &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGISTER_PASS&lt;/font&gt;&lt;font color="#007700"&gt;), &lt;/font&gt;&lt;font color="#0000BB"&gt;6 &lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;form.submit();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/font&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114656797982282541?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114656797982282541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114656797982282541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114656797982282541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114656797982282541'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/05/modifying-registration-component-ii.html' title='Modifying the registration component II'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114656589517571705</id><published>2006-05-02T03:09:00.000-07:00</published><updated>2006-05-02T03:36:31.443-07:00</updated><title type='text'>Modifying the registration component (com_registration)</title><content type='html'>Today I decided to jump straight into the the registration component and modify it. &lt;br /&gt;&lt;br /&gt;The form-validation if-statement in registration.html.php listed below was quick to modify. Now I have to decide where to define the two things I'm adding:&lt;br /&gt;&lt;br /&gt;1. The subscriber validation function: &lt;strong&gt;subscriber_exists($id)&lt;/strong&gt; &lt;br /&gt;2. The error message constant: &lt;strong&gt;_REGWARN_SUBSCRIBER&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The function does a database lookup so I guess I got to put it in the data later: registration.php, not the presentation layer: registration.html.php , but there are no obvious examples to follow. Going to have look it over and make a reasonable guess.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;font color="#000000"&gt;&lt;br /&gt;function submitbutton() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var form = document.mosForm;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var r = new RegExp("[\&amp;lt;|\&amp;gt;|\"|\'|\%|\;|\(|\)|\&amp;amp;|\+|\-]", "i");&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// do field validation&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (subscriber_exists(form.subscriberid.value)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_SUBSCRIBER&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.name.value == "") {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_NAME&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.username.value == "") {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_UNAME&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (r.exec(form.username.value) || form.username.value.length &amp;lt; 3) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php printf&lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_VALID_AZ09&lt;/font&gt;&lt;font color="#007700"&gt;), &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_PROMPT_UNAME&lt;/font&gt;&lt;font color="#007700"&gt;), &lt;/font&gt;&lt;font color="#0000BB"&gt;2 &lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.email.value == "") {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_MAIL&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.password.value.length &amp;lt; 6) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_PASS&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (form.password2.value == "") {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_VPASS1&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if ((form.password.value != "") &amp;amp;&amp;amp; (form.password.value != form.password2.value)){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGWARN_VPASS2&lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (r.exec(form.password.value)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alert( "&lt;font color="#0000BB"&gt;&amp;lt;?php printf&lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_VALID_AZ09&lt;/font&gt;&lt;font color="#007700"&gt;), &lt;/font&gt;&lt;font color="#0000BB"&gt;html_entity_decode&lt;/font&gt;&lt;font color="#007700"&gt;(&lt;/font&gt;&lt;font color="#0000BB"&gt;_REGISTER_PASS&lt;/font&gt;&lt;font color="#007700"&gt;), &lt;/font&gt;&lt;font color="#0000BB"&gt;6 &lt;/font&gt;&lt;font color="#007700"&gt;);&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;" );&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;form.submit();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;/font&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114656589517571705?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114656589517571705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114656589517571705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114656589517571705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114656589517571705'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/05/modifying-registration-component.html' title='Modifying the registration component (com_registration)'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114649729798217810</id><published>2006-05-01T08:21:00.000-07:00</published><updated>2006-05-01T08:29:15.616-07:00</updated><title type='text'>Reasonable people can't understand Joomla</title><content type='html'>I posted the following to &lt;a href="http://www.opensourcecms.com/index.php?option=content&amp;task=view&amp;id=2097&amp;Itemid=159"&gt;OpenSourceCMS&lt;/a&gt;. I haven't given up on Joomla! (as if anyone cares) and &lt;strong&gt;when I am finished mastering it, I am going to create some documentation that describes the big picture because the details are pretty intuitive already.&lt;/strong&gt; If they don't want it on the Joomla! site, I'll just stick in this blog, which can double as a general web publishing platform (if you pre-date entries to the very beginning of the blog and then put links to them in the right sidebar): &lt;br /&gt;&lt;br /&gt;Two quotes from people who have been having problems with Joomla! documentation:&lt;br /&gt;&lt;br /&gt;"I must say that if the team behind Joomla, and also the other developers that use it, want to see it beeing widely used and really apreciated by the rest of us an effort torwards clear, adequate and effective starting documentation must be in place. I would love to start using it, since there are so many good opinions about its strengths, unfortunatly good documentation not being one of them." &lt;br /&gt;&lt;br /&gt;"I'm a programmer and ever reading through what little documentation I could find I still could not get the site configured in any sort of decent manner."&lt;br /&gt;&lt;br /&gt;I agree. I've had a hard time customizing it without delving deeply into the code. I can actually write what I need in fairly simple PHP so I think stanadalone system is the approach I'm going to take unless I can find a simpler system to customize.&lt;br /&gt;&lt;br /&gt;The incredibly rude replies are probably by people who've never had a job in their life or incredibly socially inept.&lt;br /&gt;&lt;br /&gt;REALITY: Increasingly non-programmers or programmers who have a only a limited amount of time to spare from other duties are being called on to customize CMSs. CMSs that adapt themselves to these peoples' needs will survive, those that don't, won't. The documentation doesn't explain the big picture of how the whole thing operates. Once you know the big picture, everything else should be common-sense. Movable-Type is an example of a CMS like this. The presentation of content on web pages also usually violates long established principles. Take for instance, Anna's Joomla! Tips which should be in h2 or h1 and visible on this page when it displays without scrolling:&lt;br /&gt;&lt;br /&gt;http://forum.joomla.org/index.php/topic,5503.0.html&lt;br /&gt;&lt;br /&gt;Jon Fernquest&lt;br /&gt;http://joomlafordummieslikeme.blogspot.com/&lt;br /&gt;Posted by Jon Fernquest on Monday, 01 May 2006 at 1:43&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114649729798217810?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114649729798217810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114649729798217810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114649729798217810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114649729798217810'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/05/reasonable-people-cant-understand.html' title='Reasonable people can&apos;t understand Joomla'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114646165681293383</id><published>2006-04-30T22:32:00.000-07:00</published><updated>2006-04-30T22:34:16.813-07:00</updated><title type='text'>Making sense of components II</title><content type='html'>There are some confusing things about components. My personal approach to figuring out how a system works without manuals is to poke around the system looking at menus, the database, and source code files looking for patterns and consistencies. Gotta admit it didn't help much this time. Going to dig a little deeper, like right into the guts of the code, I guess. Trying to find patterns, here's what I found:&lt;br /&gt;&lt;br /&gt;There are 14 components in the component directory:&lt;br /&gt;&lt;br /&gt;com_banners&lt;br /&gt;com_contact&lt;br /&gt;com_content&lt;br /&gt;com_frontpage&lt;br /&gt;com_login&lt;br /&gt;com_messages&lt;br /&gt;com_newsfeeds&lt;br /&gt;com_poll&lt;br /&gt;com_registration&lt;br /&gt;com_rss&lt;br /&gt;com_search&lt;br /&gt;com_user&lt;br /&gt;com_weblinks&lt;br /&gt;com_wrapper&lt;br /&gt;&lt;br /&gt;But only 10 of the 14 components are used in the jos_components table:&lt;br /&gt;&lt;br /&gt;com_banners&lt;br /&gt;com_weblinks&lt;br /&gt;com_contact&lt;br /&gt;com_frontpage&lt;br /&gt;com_poll&lt;br /&gt;com_newsfeeds&lt;br /&gt;com_login&lt;br /&gt;com_search&lt;br /&gt;com_syndicate&lt;br /&gt;com_massmail&lt;br /&gt;&lt;br /&gt;And it is not one row per component as you would expect like it is in the modules table, so how do I know if the component install was successful? Isn't the component officially recorded somewhere in the db at install time?&lt;br /&gt;&lt;br /&gt;The even more important question is: what do I do with the component after I install it? Connect it to the main menu would be a reasonable thing to do. &lt;br /&gt;&lt;br /&gt;Menu -&gt; Main Menu -&gt; New -&gt; [check component] Next &lt;br /&gt;&lt;br /&gt;Gets you to: Add Menu Item :: Component&lt;br /&gt;&lt;br /&gt;How do you get your new component to show up in the little list of components on this screen? Only 7 of the 14 components can be found there:&lt;br /&gt;&lt;br /&gt;Contacts &lt;br /&gt;FrontPage&lt;br /&gt;Login&lt;br /&gt;News Feeds&lt;br /&gt;Polls&lt;br /&gt;Search&lt;br /&gt;Web Links&lt;br /&gt;&lt;br /&gt;It's also worth noting that only x of the 14 components display on the Components menu in Administration:&lt;br /&gt;&lt;br /&gt;Banners &lt;br /&gt;Contacts&lt;br /&gt;Mass Mail&lt;br /&gt;News Feeds&lt;br /&gt;Polls&lt;br /&gt;Syndicate&lt;br /&gt;Web Links&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114646165681293383?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114646165681293383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114646165681293383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114646165681293383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114646165681293383'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/making-sense-of-components-ii.html' title='Making sense of components II'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114646155040572637</id><published>2006-04-30T22:29:00.000-07:00</published><updated>2006-04-30T22:32:30.416-07:00</updated><title type='text'>Making sense of Joomla! components I</title><content type='html'>What was I thinking? I want to create my first new component. What do I do? Clone it, of course. Take com_content let's and change everything to com_content2. Immediately there's a problem. No content.xml install file, so I clone &lt;a href="http://joomlafordummieslikeme.blogspot.com/2006/04/from-database-to-web-page.html"&gt;one I already have&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I zip the three files together using &lt;a href="http://www.thefreesite.com/easyzip111.htm"&gt;this free zip utility&lt;/a&gt;, a Winzip clone. Then I get error messages indicating that I got to stick the xml file in the directory ../joomla/media/ so I do this and no error messages, so &lt;strong&gt;I guess it's installed, but how do I really know&lt;/strong&gt;. There doesn't seem to be a master list of all the components anywhere, not in the administration menus or in the tables themselves...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114646155040572637?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114646155040572637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114646155040572637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114646155040572637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114646155040572637'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/making-sense-of-joomla-components-i.html' title='Making sense of Joomla! components I'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114641072850310578</id><published>2006-04-30T08:08:00.000-07:00</published><updated>2006-04-30T08:25:28.510-07:00</updated><title type='text'>Mambo -&gt; Joomla 1.0 -&gt; Joomla 1.5</title><content type='html'>Mambo tutorials seem to help somewhat, but sometimes they are way off. Like Joomla! components added an extra presentation layer, e.g. hello.html.php gets added to hello.php.&lt;br /&gt;&lt;br /&gt;I'm confident about finishing my little Jambla I mean Joomla customization quickly and I will post haste contribute to documentation, but the budding Joomalateer has to carefully navigate between the Scylla of Mambo and Charybdis of Joomla 1.5 with the new Joomla Framework API (everything prefixed with a J, JExec, JGetParam, etc...thought Joomla and Java were getting together there for a moment).&lt;br /&gt;&lt;br /&gt;The tutorials at &lt;a href="http://dev.joomla.org/component/option,com_jd-wiki/Itemid,32/"&gt;Joomla Development Wiki (Tutorials&lt;/a&gt; seem to all use the new API so they are Joomla 1.5 which I would like to master here shortly, but I got to get a reliable production system running quickly. Joomla 1.5 appears to only be in the Alpha stage.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114641072850310578?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114641072850310578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114641072850310578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114641072850310578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114641072850310578'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/mambo-joomla-10-joomla-15.html' title='Mambo -&gt; Joomla 1.0 -&gt; Joomla 1.5'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114640483810562207</id><published>2006-04-30T06:45:00.000-07:00</published><updated>2006-04-30T07:08:19.590-07:00</updated><title type='text'>Joomla!-Mambo Help Videos</title><content type='html'>Mambodemo has a &lt;a href="http://www.mambodemo.com/joomla_1.0/"&gt;full set of videos &lt;/a&gt;that help you step through Joomla! tasks. The list of tasks is itself informative, a sort of list of all the things you can do with Joomla! :&lt;br /&gt;&lt;br /&gt;Add a Category    &lt;br /&gt;Add a Contact  &lt;br /&gt;Add a Content Item     &lt;br /&gt;Add a Menu Item - Blog Category    &lt;br /&gt;Add a Menu Item - Component     &lt;br /&gt;Add a Menu Item - Link URL    &lt;br /&gt;Add a Menu Item - Table Category     &lt;br /&gt;Add a Menu Item - Wrapper    &lt;br /&gt;Add a Section     &lt;br /&gt;Add Content from the Frontend    &lt;br /&gt;Approve a Submitted Item      &lt;br /&gt;Archive Manager    &lt;br /&gt;Assign a Template      &lt;br /&gt;Change Access Level of Content    &lt;br /&gt;Change Menu Orientation      &lt;br /&gt;Change the Frontpage Layout    &lt;br /&gt;Change the Home Page     &lt;br /&gt;Change the Installed Directory    &lt;br /&gt;Create a Module     &lt;br /&gt;Database Backup with phpMyAdmin    &lt;br /&gt;Edit the Content Layout    &lt;br /&gt;Edit the Template    &lt;br /&gt;Email Users     &lt;br /&gt;Enable SEF URLs    &lt;br /&gt;Install a Component      &lt;br /&gt;Install a Component Manually    &lt;br /&gt;Install a Language     &lt;br /&gt;Install a Language Manually    &lt;br /&gt;Install a Mambot      &lt;br /&gt;Install a Mambot Manually    &lt;br /&gt;Install a Module    &lt;br /&gt;Install a Module Manually    &lt;br /&gt;Install a Template      &lt;br /&gt;Install a Template Manually    &lt;br /&gt;Install Joomla with cPanel    &lt;br /&gt;Manage the Global Configuration    &lt;br /&gt;Publishing Control of Content    &lt;br /&gt;Setup RSS    &lt;br /&gt;Updating Users - Backend    &lt;br /&gt;Updating Users - Frontend    &lt;br /&gt;Using the Media Manager    &lt;br /&gt;Using the Menu Manager    &lt;br /&gt;Using the Module Manager     &lt;br /&gt;Using the Trash Manager    &lt;br /&gt;Using the User Manager&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114640483810562207?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114640483810562207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114640483810562207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114640483810562207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114640483810562207'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/joomla-mambo-help-videos.html' title='Joomla!-Mambo Help Videos'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114640231490404874</id><published>2006-04-30T05:58:00.000-07:00</published><updated>2006-04-30T06:05:14.913-07:00</updated><title type='text'>The Mambo legacy, tutorials, etc...</title><content type='html'>Got to remind myself to look at Mambo examples, tutorials, too. &lt;br /&gt;&lt;br /&gt;Joomla! has just recently &lt;a href="http://en.wikipedia.org/wiki/Fork_(software)"&gt;forked&lt;/a&gt; from Mambo. &lt;br /&gt;&lt;br /&gt;Mambohut's basic module and component is about as simple as you can get. Get info from database, display info web page:&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://www.mambohut.com/creating_a_quick_and_easy_module.html"&gt;Module tutorial&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://www.mambohut.com/creating_a_quick_and_easy_mambo_component_3.html"&gt;Component tutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114640231490404874?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114640231490404874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114640231490404874' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114640231490404874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114640231490404874'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/mambo-legacy-tutorials-etc.html' title='The Mambo legacy, tutorials, etc...'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114639884060311629</id><published>2006-04-30T04:43:00.000-07:00</published><updated>2006-04-30T06:33:38.750-07:00</updated><title type='text'>Content items = articles</title><content type='html'>I think I'm starting to understand Joomla!. The &lt;strong&gt;articles&lt;/strong&gt; you publish everyday are called &lt;strong&gt;content items&lt;/strong&gt;. Here's a meaty definition:&lt;br /&gt;&lt;br /&gt;"A &lt;strong&gt;content item&lt;/strong&gt; is a discrete piece of content within &lt;strong&gt;the Joomla! hierarchy&lt;/strong&gt;. A content item may be associated with a particular Section/Category combination or a Static Content Item. Usually content items are &lt;strong&gt;displayed in the main body of your page&lt;/strong&gt;. Content item is the last in &lt;strong&gt;the Section/Category/Content Items hierarchy&lt;/strong&gt; or it can be a separate Static Content Item."&lt;br /&gt;&lt;br /&gt;1. Joomla! hierarchy = Section/Category/Content-Items hierarchy, for example: business/marketing/how to sell people things they don't need, the section is business and the category is marketing. &lt;br /&gt;&lt;br /&gt;[&lt;strong&gt;Observation:&lt;/strong&gt; Joomla!'s hierarchy is a tree, but forests like folk taxonomies in &lt;a href="http://en.wikipedia.org/wiki/Del.icio.us"&gt;del.icio.us&lt;/a&gt; allow for different categorizations, different ways of looking at the same thing. The tree versus forest distinction has been around for a long time though. I used to deal with trees all the time as a COBOL-CICS General Ledger computer consultant in corporate America. For example, better designed General Ledgers for corporations have corporate reporting structures built into the hierarchy of accounts and these hierarchies are forests, not trees. The various reports of a company will break down the same information in different ways.]&lt;br /&gt;&lt;br /&gt;2. Main body of page = center, so...&lt;br /&gt;&lt;br /&gt;3. Components must display content items.&lt;br /&gt;&lt;br /&gt;4. An ItemId must be the unique identifier of a content item, right? &lt;br /&gt;&lt;br /&gt;[No, if you look at the menu manager screen under administrator, ItemId is in one column and CID which must mean content id is in another. Not the same.]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114639884060311629?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114639884060311629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114639884060311629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114639884060311629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114639884060311629'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/content-items-articles.html' title='Content items = articles'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114639553575499025</id><published>2006-04-30T04:07:00.000-07:00</published><updated>2006-04-30T04:31:26.120-07:00</updated><title type='text'>ItemId, the definition?</title><content type='html'>One day I will discover what an &lt;strong&gt;ItemId&lt;/strong&gt; is.&lt;br /&gt;&lt;br /&gt;It gets tacked on to the end of almost every Joomla! URL I've seen. &lt;br /&gt;&lt;br /&gt;Like &lt;strong&gt;Home&lt;/strong&gt;, the mother of all URLs:&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_frontpage&amp;Itemid=1&lt;br /&gt;&lt;br /&gt;Or &lt;strong&gt;News&lt;/strong&gt;, another important destination:&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_content&amp;task=section&amp;id=1&amp;Itemid=2&lt;br /&gt;&lt;br /&gt;But as &lt;a href="http://forum.joomla.org/index.php/topic,38936.0.html"&gt;this thread&lt;/a&gt; at Joomla! Forums tells me, there may be no easy definition, but I'm not losing hope.&lt;br /&gt;&lt;br /&gt;I am creating &lt;a href="http://joomlafordummieslikeme.blogspot.com/2006/04/my-joomla-glossary.html"&gt;my own little Joomla! Glossary&lt;/a&gt; to celebrate when I discover simple definitions for complicated little things like ItemId!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114639553575499025?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114639553575499025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114639553575499025' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114639553575499025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114639553575499025'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/itemid-definition.html' title='ItemId, the definition?'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114638852900496116</id><published>2006-04-30T02:12:00.000-07:00</published><updated>2006-04-30T03:56:44.713-07:00</updated><title type='text'>Parameters II</title><content type='html'>Where do parameters come from mommy?&lt;br /&gt;&lt;br /&gt;Playing around with the Joomla front page. Clicking on something and seeing what URL it gives me. Inside the URL I can see parameters ($REQUIRE, $GET) being passed to a component that will display in the center of the page. Still doesn't tell me how or why they got there, but it's a start in unravelling the logic of Joomla! code.&lt;br /&gt;&lt;br /&gt;Hit the &lt;strong&gt;Register&lt;/strong&gt; link on the Joomla front page and I get this URL:&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_registration&amp;task=register&lt;br /&gt;&lt;br /&gt;On the Main Menu:&lt;br /&gt;&lt;br /&gt;1. &lt;strong&gt;Home:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_frontpage&amp;Itemid=1&lt;br /&gt;&lt;br /&gt;2. &lt;strong&gt;Joomla! License:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_content&amp;task=view&amp;id=5&amp;Itemid=6&lt;br /&gt;&lt;br /&gt;3. &lt;strong&gt;News:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_content&amp;task=section&amp;id=1&amp;Itemid=2&lt;br /&gt;&lt;br /&gt;4. &lt;strong&gt;Blog:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_content&amp;task=blogsection&amp;id=0&amp;Itemid=9&lt;br /&gt;&lt;br /&gt;5. &lt;strong&gt;Links:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_weblinks&amp;Itemid=23&lt;br /&gt;&lt;br /&gt;6. &lt;strong&gt;Contact Us:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_contact&amp;Itemid=3&lt;br /&gt;&lt;br /&gt;7. &lt;strong&gt;Search:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_search&amp;Itemid=5&lt;br /&gt;&lt;br /&gt;8. &lt;strong&gt;News Feeds:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_newsfeeds&amp;Itemid=7&lt;br /&gt;&lt;br /&gt;9. &lt;strong&gt;FAQs:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_content&amp;task=category&amp;sectionid=3&amp;id=7&amp;Itemid=25&lt;br /&gt;&lt;br /&gt;10. &lt;strong&gt;Wrapper:&lt;/strong&gt; &lt;br /&gt;http://127.0.0.1/joomla/index.php?option=com_wrapper&amp;Itemid=8&lt;br /&gt;&lt;br /&gt;11. &lt;strong&gt;Joomla! Home:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;http://www.joomla.org/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Some &lt;strong&gt;generalizations&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;1. &lt;strong&gt;Option&lt;/strong&gt; is the &lt;strong&gt;component&lt;/strong&gt; being called like com_registration. So after you click on the frontpage something is mapping your click to a component call. Must be the infamous &lt;strong&gt;template&lt;/strong&gt; I've been hearing so much about.&lt;br /&gt;&lt;br /&gt;2. &lt;strong&gt;Task&lt;/strong&gt; comes from a limited set: view, section, register, blogsection... It selects the thing to do once you reach the component.&lt;br /&gt;&lt;br /&gt;3. &lt;strong&gt;ItemId&lt;/strong&gt; ?????????????? &lt;br /&gt;&lt;br /&gt;4. &lt;strong&gt;Id&lt;/strong&gt; I guess would be a user Id, maybe?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114638852900496116?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114638852900496116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114638852900496116' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114638852900496116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114638852900496116'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/parameters-ii.html' title='Parameters II'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114638591374146411</id><published>2006-04-30T01:30:00.000-07:00</published><updated>2006-04-30T03:25:30.826-07:00</updated><title type='text'>Parameters I</title><content type='html'>What I need to understand next about modules is how they get &lt;strong&gt;input parameters&lt;/strong&gt; like $task, $option, or $id. For example, from &lt;a href="http://help.joomla.org/content/view/20/125/"&gt;mod_relcontent&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;$option = trim( mosGetParam( $_REQUEST, 'option', null ) );&lt;br /&gt;&lt;br /&gt;Or from mod_latestnews : &lt;br /&gt;&lt;br /&gt;$type = intval( $params-&gt;get( 'type', 1 ) );&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;mosGetParam&lt;/strong&gt; must be the preferred to the raw PHP $params-&gt;get() since it is in the &lt;a href="http://help.joomla.org/content/view/516/155/"&gt;Joomla! API&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;mod_login&lt;/strong&gt; also has to get &lt;strong&gt;user supplied parameters&lt;/strong&gt; like username and password. What are all the parameters defined in &lt;strong&gt;mod_login.xml&lt;/strong&gt; used for?&lt;br /&gt;&lt;br /&gt;Where do parameters like $task come from? Where do they go? What are the calling conventions in modules? Which parameters are required and which are optional? &lt;br /&gt;&lt;br /&gt;Time to hit the code again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114638591374146411?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114638591374146411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114638591374146411' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114638591374146411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114638591374146411'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/parameters-i.html' title='Parameters I'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114638405330743718</id><published>2006-04-30T00:52:00.000-07:00</published><updated>2006-04-30T01:36:39.460-07:00</updated><title type='text'>Modules vs. Components in Joomla! III</title><content type='html'>Joomla! Modules are written differently from components. They use different function calls and variables, so they need different example programs. &lt;br /&gt;&lt;br /&gt;For example, take &lt;strong&gt;login&lt;/strong&gt; and &lt;strong&gt;user registration&lt;/strong&gt;. If a user can't login, then she registers first. We login to a module on the left, right, or top. We register in a component in the center.&lt;br /&gt;&lt;br /&gt;Compare the login code with the registration code. The login code is in one file: mod_login.php. The registration code is in the directory: com_registration. There are two registration program files:&lt;br /&gt;&lt;br /&gt;1. &lt;strong&gt;registration.html.php&lt;/strong&gt; : displays data&lt;br /&gt;2. &lt;strong&gt;registration.php&lt;/strong&gt; : makes decisions about what to display (does logic).&lt;br /&gt;&lt;br /&gt;Both files get data from the database. Right now I'm going to stick with figuring out modules, even though my goal is to modify user registration. My user registration customization will require the user  to supply an 8-digit subscriber id checked against a table of ids added to Joomla.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114638405330743718?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114638405330743718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114638405330743718' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114638405330743718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114638405330743718'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/modules-vs-components-in-joomla-iii_30.html' title='Modules vs. Components in Joomla! III'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114632299998367167</id><published>2006-04-29T07:56:00.000-07:00</published><updated>2006-04-29T08:03:49.873-07:00</updated><title type='text'>Joomla! cookbook anyone?</title><content type='html'>Surprised to see that the &lt;a href="http://pleac.sourceforge.net/pleac_php/index.html"&gt;PHP&lt;/a&gt; cookbook is only 2.9% finished at &lt;a href="http://pleac.sourceforge.net/"&gt;PLEAC&lt;/a&gt;, the repository of code snippets for programming (PLEAC = Programming Language Examples Alike Cookbook). Why?&lt;br /&gt;&lt;br /&gt;Maybe PHP is different from other programming languages so it needs its own special list of code snippets?&lt;br /&gt;&lt;br /&gt;Maybe it's better to start &lt;strong&gt;thinking at the level of applications&lt;/strong&gt;, like a Joomla or Content Management System cookbook.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114632299998367167?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114632299998367167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114632299998367167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114632299998367167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114632299998367167'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/joomla-cookbook-anyone.html' title='Joomla! cookbook anyone?'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114631455769591898</id><published>2006-04-29T05:39:00.000-07:00</published><updated>2006-04-29T06:56:55.906-07:00</updated><title type='text'>Programming in small doses?</title><content type='html'>Maybe programming in small doses is the antidote to &lt;a href="http://www.cmurray.org/?p=41"&gt;this Joomla! user's&lt;/a&gt; problems:&lt;br /&gt;&lt;br /&gt;"I found Joomla very frustrating though. I installed the dummy template site that comes with the distribution, a site about soccer teams. I wanted to remove the frames in the site, change the background images and colors, and otherwise set up a small publishing site with news and blogs. I was unable to do a lot of this without digging in directly to the css, which is of course far too much to ask a common user. I spent several hours with this, learning how the interface work and making backend changes, and mostly gave up out of frustration and lack of time to devote."&lt;br /&gt;&lt;br /&gt;That's why I'm focusing on &lt;strong&gt;code snippets&lt;/strong&gt;. Little pieces of stand alone code that do a small task that you can learn from.&lt;br /&gt;&lt;br /&gt;A &lt;a href="http://forum.joomla.org/index.php?topic=54981.msg294273"&gt;forum or library of code snippets &lt;/a&gt;does seems to be in the making over at the official Joomla org.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114631455769591898?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114631455769591898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114631455769591898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114631455769591898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114631455769591898'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/programming-in-small-doses.html' title='Programming in small doses?'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114630680026198502</id><published>2006-04-29T03:23:00.000-07:00</published><updated>2006-04-30T05:28:20.913-07:00</updated><title type='text'>From database to web page</title><content type='html'>Here's a tiny module to get data from the Joomla database and display it on the front Joomla! page. Take the &lt;a href="http://www.geocities.com/bayinnaung/blogfiles/getandgive.zip"&gt;zip file&lt;/a&gt; and &lt;a href="http://joomlafordummieslikeme.blogspot.com/2006/04/very-very-simple-module.html"&gt;install the module&lt;/a&gt;. It will will list the published modules and their positions, one per line. The file contents is given below.&lt;br /&gt;&lt;br /&gt;[Note: There's a &lt;a href="http://www.mambohut.com/creating_a_quick_and_easy_module.html"&gt;Mambo module tutorial&lt;/a&gt; that has almost the same thing.]&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;mod_getandgive.php:&lt;/strong&gt;&lt;br /&gt;&lt;code&gt;&lt;font color="#000000"&gt;&lt;br /&gt;&lt;font color="#0000BB"&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;defined&lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#DD0000"&gt;'_VALID_MOS' &lt;/font&gt;&lt;font color="#007700"&gt;) &lt;br&gt;or die( &lt;/font&gt;&lt;font color="#DD0000"&gt;'Direct Access not allowed.' &lt;/font&gt;&lt;font color="#007700"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000BB"&gt;$query &lt;/font&gt;&lt;font color="#007700"&gt;= &lt;/font&gt;&lt;font color="#DD0000"&gt;"SELECT * FROM jos__session"&lt;/font&gt;&lt;font color="#007700"&gt;;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000BB"&gt;$database&lt;/font&gt;&lt;font color="#007700"&gt;-&amp;gt;&lt;/font&gt;&lt;font color="#0000BB"&gt;setQuery&lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#0000BB"&gt;$query &lt;/font&gt;&lt;font color="#007700"&gt;);&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000BB"&gt;$result &lt;/font&gt;&lt;font color="#007700"&gt;= &lt;/font&gt;&lt;font color="#0000BB"&gt;$database&lt;/font&gt;&lt;font color="#007700"&gt;-&amp;gt;&lt;/font&gt;&lt;font color="#0000BB"&gt;loadResult&lt;/font&gt;&lt;font color="#007700"&gt;();&lt;br /&gt;echo &lt;/font&gt;&lt;font color="#DD0000"&gt;"result: " &lt;/font&gt;&lt;font color="#007700"&gt;. &lt;/font&gt;&lt;font color="#0000BB"&gt;$result&lt;/font&gt;&lt;font color="#007700"&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;/code&gt; &lt;br /&gt;&lt;strong&gt;getandgive.xml:&lt;/strong&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;?xml version="1.0" ?&gt;&lt;br /&gt;&amp;lt;mosinstall type='module'&gt;&lt;br /&gt;  &amp;lt;name&gt;getandgive&amp;lt;/name&gt;&lt;br /&gt;  &amp;lt;creationDate&gt;19/Jun/2006&amp;lt;/creationDate&gt;&lt;br /&gt;  &amp;lt;author&gt;Mr. Hello Smiley&amp;lt;/author&gt;&lt;br /&gt;  &amp;lt;copyright&gt;This template is released &lt;br&gt;under the GNU/GPL License&amp;lt;/copyright&gt;&lt;br /&gt;  &amp;lt;authorEmail&gt;blackhole@saynotospam.com&amp;lt;/authorEmail&gt;&lt;br /&gt;  &amp;lt;authorUrl&gt;http://readbangkokpost.com/business/&amp;lt;/authorUrl&gt;&lt;br /&gt;  &amp;lt;version&gt;1.0&amp;lt;/version&gt;&lt;br /&gt;  &amp;lt;description&gt;To get something from the Joomla database&lt;br&gt; and display it in a box on the front of Joomla&amp;lt;/description&gt;&lt;br /&gt;  &amp;lt;files&gt;&lt;br /&gt;    &amp;lt;filename module='mod_getandgive'&gt;mod_getandgive.php&amp;lt;/filename&gt;&lt;br /&gt;  &amp;lt;/files&gt;&lt;br /&gt;&amp;lt;/mosinstall&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114630680026198502?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114630680026198502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114630680026198502' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114630680026198502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114630680026198502'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/from-database-to-web-page.html' title='From database to web page'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114630590263938198</id><published>2006-04-29T03:07:00.000-07:00</published><updated>2006-04-30T06:45:32.653-07:00</updated><title type='text'>Installing a Module</title><content type='html'>The following steps will make your module the last thing on the right-hand sidebar.&lt;br /&gt;&lt;br /&gt;1. Download a zip file with the two files mod_mymodulename.php and mymodulename.xml inside. &lt;br /&gt;&lt;br /&gt;2. From the administrators panel in Joomla select: installers -&gt; modules. &lt;br /&gt;&lt;br /&gt;3. Then browse and select the zip file. &lt;br /&gt;&lt;br /&gt;4. Then select "Upload file and install". &lt;br /&gt;&lt;br /&gt;5. There shouldn't be any error messages. &lt;br /&gt;&lt;br /&gt;6. Then select from the navigation bar running along the top of the administrators panel: Modules -&gt; Site Modules. &lt;br /&gt;&lt;br /&gt;7. Then click on the name of your module. &lt;br /&gt;&lt;br /&gt;8. Now you are editing the settings for your module. &lt;br /&gt;&lt;br /&gt;9. Choose position: Right. &lt;br /&gt;&lt;br /&gt;10. Choose Access Level: at-the-very-bottom-of-everything. &lt;br /&gt;&lt;br /&gt;11. Choose: Public.&lt;br /&gt;&lt;br /&gt;12. Then save. &lt;br /&gt;&lt;br /&gt;13. Then check the box in the left column next to your module name and publish. &lt;br /&gt;&lt;br /&gt;14. Go to the front of Joomla (http://joomla/index.php). &lt;br /&gt;&lt;br /&gt;15. Hit the browser refresh button. &lt;br /&gt;&lt;br /&gt;16. You should see a box with your module's name on it on the bottom with whatever your module displays inside of it. &lt;br /&gt;&lt;br /&gt;17. I know this descrption is overkill, but didn't want to leave anything out.&lt;br /&gt;&lt;br /&gt;There are other descriptions of how to do this &lt;a href="http://www.mambodemo.com/joomla_1.0/install_a_module.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114630590263938198?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114630590263938198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114630590263938198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114630590263938198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114630590263938198'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/installing-module.html' title='Installing a Module'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114622087468681489</id><published>2006-04-28T02:01:00.000-07:00</published><updated>2006-04-30T06:40:37.406-07:00</updated><title type='text'>A very, very simple module</title><content type='html'>Whoopee! I can display text in a Joomla box. Use the two files listed below or this &lt;a href="http://www.geocities.com/bayinnaung/blogfiles/helloworld4.zip"&gt;zip file &lt;/a&gt; and &lt;a href="http://joomlafordummieslikeme.blogspot.com/2006/04/installing-module.html"&gt;install the module&lt;/a&gt;. Here is the contents of the two files in the zip file:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;helloworld4.php:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;font color="#000000"&gt;&lt;br /&gt;&lt;font color="#0000BB"&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;defined&lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#DD0000"&gt;'_VALID_MOS' &lt;/font&gt;&lt;font color="#007700"&gt;) or die( &lt;/font&gt;&lt;font color="#DD0000"&gt;'Direct Access to this location is not allowed.' &lt;/font&gt;&lt;font color="#007700"&gt;);&lt;br /&gt;&lt;br /&gt;echo &lt;/font&gt;&lt;font color="#DD0000"&gt;"Hello World!"&lt;/font&gt;&lt;font color="#007700"&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;/font&gt;&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;/code&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;helloworld4.xml:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;?xml version="1.0" ?&gt;&lt;br /&gt;&amp;lt;mosinstall type='module'&gt;&lt;br /&gt;  &amp;lt;name&gt;helloworld4&amp;lt;/name&gt;&lt;br /&gt;  &amp;lt;creationDate&gt;19/Jun/2006&amp;lt;/creationDate&gt;&lt;br /&gt;  &amp;lt;author&gt;Mr. Hello Smiley&amp;lt;/author&gt;&lt;br /&gt;  &amp;lt;copyright&gt;This template is released under the GNU/GPL License&amp;lt;/copyright&gt;&lt;br /&gt;  &amp;lt;authorEmail&gt;blackhole@saynotospam.com&amp;lt;/authorEmail&gt;&lt;br /&gt;  &amp;lt;authorUrl&gt;http://readbangkokpost.com/business/&amp;lt;/authorUrl&gt;&lt;br /&gt;  &amp;lt;version&gt;1.0&amp;lt;/version&gt;&lt;br /&gt;  &amp;lt;description&gt;To display some text in a box on the front of Joomla&amp;lt;/description&gt;&lt;br /&gt;  &amp;lt;files&gt;&lt;br /&gt;    &amp;lt;filename module='mod_helloworld4'&gt;mod_helloworld4.php&amp;lt;/filename&gt;&lt;br /&gt;  &amp;lt;/files&gt;&lt;br /&gt;&amp;lt;/mosinstall&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114622087468681489?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114622087468681489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114622087468681489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114622087468681489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114622087468681489'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/very-very-simple-module.html' title='A very, very simple module'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114621207103881404</id><published>2006-04-28T00:55:00.000-07:00</published><updated>2006-04-28T01:14:31.046-07:00</updated><title type='text'>Pretty printing PHP for documentation examples</title><content type='html'>How do I format php and html properly to provide examples in documentation?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Prettyprint"&gt;Prettyprint&lt;/a&gt; of course! How could I forget that?&lt;br /&gt;&lt;br /&gt;Here's an online &lt;a href="http://www.prettyprinter.de/"&gt;PHP pretty printer&lt;/a&gt; that indents html properly also. &lt;br /&gt;&lt;br /&gt;It maps plain text file space ("_") to html file space ("&amp;amp;nbsp;") using &lt;a href="http://en.wikipedia.org/wiki/GNU_indent"&gt;GNU's Indent&lt;/a&gt; and plain text file angle brackets ("&amp;lt;", "&amp;gt;") to html angle brackets ("&amp;amp;lt;", "&amp;amp;gt;"). &lt;br /&gt;&lt;br /&gt;Here's an &lt;a href="http://joomlafordummieslikeme.blogspot.com/2006/04/modules-vs-components-in-joomla-ii.html"&gt;example&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114621207103881404?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114621207103881404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114621207103881404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114621207103881404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114621207103881404'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/pretty-printing-php-for-documentation.html' title='Pretty printing PHP for documentation examples'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114619108622218244</id><published>2006-04-27T19:13:00.000-07:00</published><updated>2006-04-28T00:55:51.006-07:00</updated><title type='text'>Modules vs. Components in Joomla II</title><content type='html'>There's a complete set of tutorials in the &lt;a href="http://help.joomla.org/content/section/12/125/"&gt;Developers Manual&lt;/a&gt; at help.joomla.org. Mastering these tutorials should be the first step to learn programming in Joomla, it seems.&lt;br /&gt;&lt;br /&gt;One of the tutorial pages makes one difference between modules and components very clear. As you can see in this tutorial page on templates &lt;a href="http://help.joomla.org/content/view/44/125/"&gt;"The Layout File"&lt;/a&gt;, modules (mosLoadModules) go on the top and into the left and right sidebars. Components go into the center (mosMainBody):&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;table cellspacing="0" cellpadding="5" border="0"&amp;gt;&lt;br /&gt;22:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;23:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td colspan="3"&amp;gt;&lt;br /&gt;24:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#0000BB"&gt;&amp;lt;?php &lt;/font&gt;&lt;font color="#007700"&gt;echo &lt;/font&gt;&lt;font color="#0000BB"&gt;$mosConfig_sitename&lt;/font&gt;&lt;font color="#007700"&gt;; &lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;br /&gt;&lt;/font&gt;25:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;26:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;27:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;28:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td colspan="3"&amp;gt;&lt;br /&gt;29:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#0000BB"&gt;&amp;lt;?php mosLoadModules &lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#DD0000"&gt;'top'&lt;/font&gt;&lt;font color="#007700"&gt;, &lt;/font&gt;&lt;font color="#0000BB"&gt;1 &lt;/font&gt;&lt;font color="#007700"&gt;); &lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;br /&gt;&lt;/font&gt;30:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;31:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;32:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;33:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td width="20%" valign="top"&amp;gt;&lt;br /&gt;34:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#0000BB"&gt;&amp;lt;?php mosLoadModules &lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#DD0000"&gt;'left' &lt;/font&gt;&lt;font color="#007700"&gt;); &lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;br /&gt;&lt;/font&gt;35:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;36:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td width="60%" valign="top"&amp;gt;&lt;br /&gt;37:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#0000BB"&gt;&amp;lt;?php mosMainBody&lt;/font&gt;&lt;font color="#007700"&gt;(); &lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;br /&gt;&lt;/font&gt;38:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;39:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td width="20%" valign="top"&amp;gt;&lt;br /&gt;40:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#0000BB"&gt;&amp;lt;?php mosLoadModules &lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#DD0000"&gt;'right' &lt;/font&gt;&lt;font color="#007700"&gt;); &lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;br /&gt;&lt;/font&gt;41:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;42:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;43:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;44:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td colspan="3" valign="top"&amp;gt;&lt;br /&gt;45:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#0000BB"&gt;&amp;lt;?php mosLoadModules &lt;/font&gt;&lt;font color="#007700"&gt;( &lt;/font&gt;&lt;font color="#DD0000"&gt;'bottom' &lt;/font&gt;&lt;font color="#007700"&gt;); &lt;/font&gt;&lt;font color="#0000BB"&gt;?&amp;gt;&lt;br /&gt;&lt;/font&gt;46:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;47:&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;48: &amp;lt;/table&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114619108622218244?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114619108622218244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114619108622218244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114619108622218244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114619108622218244'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/modules-vs-components-in-joomla-ii.html' title='Modules vs. Components in Joomla II'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114612507957944474</id><published>2006-04-27T00:59:00.000-07:00</published><updated>2006-04-27T01:28:24.706-07:00</updated><title type='text'>Installing Modules and Components</title><content type='html'>If you are confused about installing Joomla! components or modules like I was initially (or getting error messages) do the Joomla! tutorial &lt;a href="http://help.joomla.org/content/view/20/125/"&gt;"Writing a Simple Module"&lt;/a&gt; and you'll get to do a module install.&lt;br /&gt;&lt;br /&gt;Watch out for closing XML tags like: &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&amp;lt;mytag&amp;gt; &amp;lt;/mytag&amp;gt;&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;That turned out to be the problem in &lt;a href="http://forum.joomla.org/index.php?topic=40754.msg221987"&gt;this thread&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114612507957944474?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114612507957944474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114612507957944474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114612507957944474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114612507957944474'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/installing-modules-and-components.html' title='Installing Modules and Components'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114606172522748562</id><published>2006-04-26T07:08:00.000-07:00</published><updated>2006-04-26T22:56:04.080-07:00</updated><title type='text'>Modules vs. components in Joomla?</title><content type='html'>Was just flipping through some easy to read stuff on Php-Nuke modules in the book &lt;a href="http://safari.phptr.com/?XmlId=0131855166"&gt;Php Nuke Garage&lt;/a&gt;. Joomla components sure seem similar to Php Nuke modules, the way they take those &lt;a href="http://en.wikipedia.org/wiki/HTTP#Request_methods"&gt;HTTP POST&lt;/a&gt; values from the &lt;a href="http://en.wikipedia.org/wiki/Apache_HTTP_Server"&gt;Apache server&lt;/a&gt;: &lt;br /&gt;&lt;br /&gt;http://joomla/index.php?module=mymodule&amp;op=one&lt;br /&gt;&lt;br /&gt;Do a switch statement on them, and then execute something. Same basic structure. Well from the &lt;a href="http://help.joomla.org/component/option,com_glossary/Itemid,213/"&gt;Joomla! glossary&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Modules:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Extend the capabilities of Joomla! giving the software new functionality. &lt;br /&gt;2. Are small content items that can be displayed anywhere that your template allows it to be displayed. &lt;br /&gt;3. Include: Main Menu, Top menu, Template Chooser, Polls, Newsflash, Hit Counter, etc. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Components:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Are Joomla!’s content elements or applications that are usually displayed in the center of the main content area of a template. &lt;br /&gt;2. Depend on the design of the template in use. &lt;br /&gt;3. Are core elements of Joomla!’s functionality. &lt;br /&gt;4. Include Banners, Contact, News Feeds, Polls and Web Links. &lt;br /&gt;&lt;br /&gt;So modules are minor things that go in the left and right sidebars of a three column layout and components are major things that go in the center? The plot thickens. I'll find out tommorrow!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114606172522748562?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114606172522748562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114606172522748562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114606172522748562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114606172522748562'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/modules-vs-components-in-joomla.html' title='Modules vs. components in Joomla?'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114639481581129405</id><published>2006-04-15T03:59:00.000-07:00</published><updated>2006-04-30T04:18:49.426-07:00</updated><title type='text'>My Joomla! Glossary</title><content type='html'>&lt;strong&gt;Component&lt;/strong&gt; - the PHP program controlling content in the &lt;strong&gt;center&lt;/strong&gt; of the Joomla! frontpage&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Module&lt;/strong&gt; - the PHP program controlling a &lt;strong&gt;content box&lt;/strong&gt; on the &lt;strong&gt;left, top, or right&lt;/strong&gt; of the Joomla! frontpage&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ItemId&lt;/strong&gt; - ???????????&lt;br /&gt;&lt;br /&gt;[Warning: As I become smarter and know more (become less dumb) these definitions will become shorter and more precise.]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114639481581129405?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114639481581129405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114639481581129405' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114639481581129405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114639481581129405'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/my-joomla-glossary.html' title='My Joomla! Glossary'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114640437932698141</id><published>2006-04-14T06:37:00.000-07:00</published><updated>2006-04-30T06:39:39.326-07:00</updated><title type='text'>My Joomla! Rules of Thumb</title><content type='html'>1. &lt;a href="http://joomlafordummieslikeme.blogspot.com/2006/04/installing-module.html"&gt;Install a Module&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;[Only just begun...]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114640437932698141?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114640437932698141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114640437932698141' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114640437932698141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114640437932698141'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/my-joomla-rules-of-thumb.html' title='My Joomla! Rules of Thumb'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27023608.post-114622295299406345</id><published>2006-04-05T04:12:00.000-07:00</published><updated>2006-05-02T00:48:10.570-07:00</updated><title type='text'>My Joomla! Examples</title><content type='html'>This is a list of Joomla examples I have created to teach myself Joomla!&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://joomlafordummieslikeme.blogspot.com/2006/04/very-very-simple-module.html"&gt;A very, very simple module:&lt;/a&gt; Displays text in a box on the left, right, or top.&lt;br /&gt;&lt;br /&gt;2. &lt;a href="http://joomlafordummieslikeme.blogspot.com/2006/04/from-database-to-web-page.html"&gt;mod_getandgive.php:&lt;/a&gt; A module that gets data from the database and gives it to the front page.&lt;br /&gt;&lt;br /&gt;[Examples from this blog will be put here]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/27023608-114622295299406345?l=joomlafordummieslikeme.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joomlafordummieslikeme.blogspot.com/feeds/114622295299406345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=27023608&amp;postID=114622295299406345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114622295299406345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27023608/posts/default/114622295299406345'/><link rel='alternate' type='text/html' href='http://joomlafordummieslikeme.blogspot.com/2006/04/my-joomla-examples.html' title='My Joomla! Examples'/><author><name>Jon Fernquest</name><uri>http://www.blogger.com/profile/14974424595128404537</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_T6bVtLV5UOY/R6xK-1zt3SI/AAAAAAAAACI/ZNXa-1cNDgM/S220/mydog.jpg'/></author><thr:total>0</thr:total></entry></feed>
