Joomla / Mambo - Web content management system |
| Wednesday, 13 April 2005 21:32 |
Mambo - MamboServerMambo was nice back in the day. Most everyone left the mambo scene for Joomla...Mambots List Menus for mambo Talks about site organization and structure A good list of components for community building How to create mambo components fix joomla permissionsaka. notes on which directories might need to be owned by your webserverchown apache -R images chown apache -R language #chown apache -R mambots chown apache -R media chown apache -R modules chown apache -R templates chown apache -R administrator chown apache -R cache chown apache -R components chown apache -R logs chown apache -R plugins chown apache -R tmp Table notes for Joomlajos_content - contains all the typed contentjos_menu_migration - contains all the menu items Redirection issues with MamboOne this that really annoyed me about the latest version of Mambo was that when you saved content, it actually redirected you to the frontpage and not back to the content you just edited. To fix this edit your components/com_content/content.php and add the following on line 1365:if ( $Itemid ) { mosRedirect( 'index.php?option=com_content&task=view&id='. $row->id .'&Itemid='. $Itemid,$msg); } else { mosRedirect( 'index.php', $msg ); }Then there is one more thing you'll have to change: $link = 'index.php?option=com_content&task=edit&id='. $row->id .'&Itemid='. $Itemid .'&Returnid='. $row->id;Another thing you might want to change is the includes/footer.php file so that you can change the default footer. SEF / SEO with mamboOk I've gotten to the point now, that I get a bit of traffic from search engines and I think it is time to step it up a notch. Mambo in its default configuration doesn't have SEF support. Yes, it does have some simple SEF function that maps content into something a little more pleasent. However, it doesn't really allow you to name your URLs as you please.Here is some of the research I've done into getting SEF to work on your Mambo or Joomla. First there is a commerical solution called SEF Advance but for me I'm not really interested in something that is pay... esp. for something I consider SO fundamental. Next there is a project called Xaneon Alias Manager and Xaneon Extensions for Mambo both available from: http://xaneon.com/ However, this project seems to be dead because the developers have moved to Drupal. All further development for Mambo SEF has been moved to http://opensef.org/. At this point I'm a little confused on the whole thing and I might just have to evaluate going back to Drupal. I used it a long while ago and switched to Mambo. However, lately there has been almost NO new development on Mambo and there are many problems that need to be solved. Look here for more information in the future.... Mambo and Joomla exposed as script kiddies have their summer holidays Mambo announces more improvements in 4.6 Generating static HTML-Pages from Joomla/Mambo go from mambo to joomla JoomlaJoomla is the new direction of the code and community I believe. Mambo has not released anything in a long time.... I'm moving.Joomla! Help Site - Migrating to Joomla! from Mambo Joomla! Help Site - Joomla! 1.5 Migration Guide Joomla! Administrator's Security Checklist JoomlaCode > Projects > Joomla! > SVN > Access info Developing JoomlaHow to create joomla1.5 MVC(model view controller) component helloworld 2 tutorialJoomla Tutorials - Home Joomla! Developer Redirection issues with JoomlaJoomla! also currently has the issue with redirects on save not redirecting back to the orginal article. Grrr. Here is the fix for components/com_content/controller.php.Index: components/com_content/controller.php =================================================================== --- controller.php (revision 10922) +++ controller.php (working copy) @@ -239,7 +239,8 @@ $referer = JRequest::getString('ret', base64_encode(JURI::base()), 'get'); $referer = base64_decode($referer); if (!JURI::isInternal($referer)) { - $referer = ''; + $uri =& JURI::getInstance($referer); + $referer = $uri->getPath(); } $this->setRedirect($referer, $msg); } Blacklisting and Whitelisting HTML Tags in JoomlaUpdating to the latest, once again gives me grief. When I updated to Joomla 1.5.9, I found that when saving Joomla strips html tags...like br tags. Ouch, making me have to restore my formatting from backup! Grr. First I look on the web and found others complaining about it...Joomla4Web - Blacklisting and Whitelisting HTML Tags in Joomla 1.5.8 I didn't realize it was doing filtering, I checked my settings and it was set to do black listing with no filters set. You'd think that would work. However, it didn't cause it was still removing them. Finally I did some poking around....I just disabled the filtering. I'm not interested, I wish they wouldn't have broken functionality. Index: components/com_content/models/article.php =================================================================== --- article.php (revision 11515) +++ article.php (working copy) @@ -360,7 +360,7 @@ $filterGroups = $config->get( 'filter_groups' ); - if (is_array($filterGroups) && in_array( $gid, $filterGroups )) + if (0 && is_array($filterGroups) && in_array( $gid, $filterGroups )) { $filterType = $config->get( 'filter_type' ); $filterTags = preg_split( '#[,\s]+#', trim( $config->get( 'filter_tags' ) ) ); @@ -380,7 +380,7 @@ } $article->introtext = $filter->clean( $article->introtext ); $article->fulltext = $filter->clean( $article->fulltext ); - } elseif(empty($filterGroups)) { + } elseif(0 && empty($filterGroups)) { $filter = new JFilterInput(array(), array(), 1, 1); $article->introtext = $filter->clean( $article->introtext ); $article->fulltext = $filter->clean( $article->fulltext ); GeSHi Code Syntax highlighting with JoomlaGeSHi - Generic Syntax Highlighter :: Home - GeSHi's homeBy default GeSHi code syntax highlighting does not word wrap. The following page gives you the needed CSS to stop your code snippets from breaking your page layout. How to enable line wrap in the Joomla Geshi plugin They changed the way in which you markup code in Joomla 1.5. I ended up modifying my version of GeSHi to use the old mambo syntax. {(highlight)} How to use the GeSHi plugin/mambot | Mambots/Plugins | How-Tos Syntax highlighter for JoomlaEasy Syntax Highlighter for JoomlaSyntaxHighlighter - Alex Gorbatchev Joomla Template OverridesDid you know that a template has the ability to override most all the output generated by the default Joomla core? The template demonstrating this technique is "Beez"Joomla Beez, what is it ? Understanding Output Overrides - Joomla! Documentation - great article giving all the details... How to override the output from the Joomla! core - Joomla! Documentation This is nice in that allows you to override the core without fear of losing those changes when the core gets changed. However, this does mean that you'll be forsaking the new changes that get added to the core when it does get changed! Also, since the overrides are template specific, you'll only override for one specific template. I myself have quite a few changes to the core, and I manage those changes with source control (svn). Though, template overrides are nice... I found all this information when researching how to make Joomla output <h1> tags, which it doesn't do out of the box in Joomla 1.5. Joomla Tips #9: Adding H1 Tag To Joomla Article Title Joomla contentheading H1 with no core Hack - New World Designs Joomla 1.5.x not properly escaping html entities in editorI see the following bug report with solution, however, it has not yet been committed to SVN. I'm not sure why, as this is a REAL bug.[#18620] Front-end version of com_content "edit" task fails to preserve escaped entities The solution is to modify /components/com_content/views/article/tmpl/form.php by adding the following after line 2: JFilterOutput::objectHTMLSafe( $this->article );It looks like the problem isn't visible when using a WYSIWYG editor...not sure why, maybe the editor is taking care of the escaping for you. However, it is definitely a problem when using "No Editor" as I do. To see it happen, create an article with a html entity (<), save it. You'll see the entity properly preserved in the database, but if you edit you'll find that the encoded entity is now just the character itself. So on subsequent save, you lose the escaping. Not good. This really should be committed to 1.5 branch for sure. Remove the generator meta information from Joomla 1.5.x outputTo remove the generator, goto "libraries/joomla/document/html/renderer/head.php" and comment out line 82.//$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
Joomla CachingJoomla Caching Explained - Page, View and Module Caching - How to speed up your Joomla Web siteShopping cart in JoomlaWelcome to VirtueMartNewsletterUsing the Joomla Letterman Newsletter Component | CommunityGrove Support - open sourceLetterman Newsletter - Joomla! Extensions Directory phplist.com : Homepage : home - not exactly a joomla extension but a full mailinglist application. Joomla DST issuesOk, so it looks like there are issues with getting DST to work correctly with Joomla. I can see that the system time is set correctly and the dst is being observed properly with date and `zdump -v EST5EDT | grep 2007`. I also can see that the global config -> server -> timezone is set properly as EST. Still time shows off by 1 hour?! Finally, I was forced to edit the sites configuration.php and change $offset=-5 to $offset=-4. Yuck.Joomla 1.5 + lighttpd and squid reverve proxy « Because It Works!! |
| Last Updated on Saturday, 27 March 2010 23:04 |

