iris lines designs

802 257 7391
info@irislines.com

JoomlaSolutions - and other discoveries

A place to keep track of and share CMS and CSS solutions
Apr 20
2011

New Facebook code on a Joomla 1.5 site....

Posted by barb in modules , Joomla! 1.6 , FaceBook

This topic came up on the Joomla New England list and Terry posted the solution:

In case anyone needs to know, what worked was to split the FBML version of the code in two. That is, paste the script tag at the bottom of the head tag in the template HTML, then paste the rest of the code into the module (or article). In other words:

Mar 29
2011

Error installing J! 1.5.22 onto MAMP 9.5

Posted by in Joomla

Helping a colleague today and got a nasty message about MySql  not being happy.    Googled a bit of the error message itself and found helpful solutions online.    We had to modify the joomla.sql file from the Installation folder,  changing TYPE=MyISAM   to   ENGINE=MyISAM throughout the file.  

I had a Query Tool for Postgres that let me open the .sql file.   It did not want to open in a simple text editor.

The "repaired"  joomla.sql file allowed the installation to proceed.   Apparently this was a conflict between joomla 1.5.22  and the newest versions of MAMP and MySQL.

Mar 21
2011

Puzzled by alternative layouts not working?

Posted by in template overrides , template , Joomla! 1.6 , Joomla

My puzzle was that my alternative layout for a category blog would not show up as a choice in the category manager.

I turned to the Joomla Forum  and found that others had posted about their alternative layouts not being implemented, even when they chose them for a particular category.

Here's what I posted in reply:

Mar 21
2011

Alternative layout overrides in Joomla! 1.6

Posted by barb in template overrides , Joomla! 1.6 , alternative layouts

Two years ago I blogged about a solution to have different "read-more" links for different sections of a website.

With Joomla! 1.6 it would be possible to have two variations of the php file that generates the blog,  one that would include the words "read-more" and one that wouldn't.   Since this affects the display in the blog "page", not the individual articles, this layout alternative would actually need to be an alternative menu item type.

Here's how you would do it:

Mar 21
2011

What's New in Templates for Joomla! 1.6?

Posted by barb in template overrides , Joomla

I'm getting ready for two conferences this spring and have worked up a new Templates card with all the php snippets plus sections on Template Overrides, Layout Overrides, Custom Menu Item Types, and Parameters.

I'm in proofreading mode on the  NEW Template Cheat Sheet for Joomla! 1.6.   This one will be yellow with a yellow iris in the corners.

If you'd like a sneak peak, or to be a proofreader of the new one -- before I go to print -- email me and I'll send you a pdf.    I'll have a limited edition of the new sheet for Joomla Day New England, which is April 2, 2011.     I'll also have both 1.5 and 1.6 Cheat Sheets for my presentations at CMS Expo May 2-4 in Evanston, IL.

Mar 21
2011

Making Beez Better - typo!

Posted by barb in template overrides , Joomla

My purple Template Cheat Sheet 2 handed out at Joomla! events in New England and the CMS Expo 2010 has a typo in the section called "Making Beez Better"

The sheet reads:
$this>escape

but should have said this:
$this->escape

Jan 04
2011

When things go wrong ....

Posted by barb in Joomla , fonts , File Maker Pro

Chances are the same things have gone wrong for someone else!

Yesterday my husband got a new computer and moved his files over from an older Mac.  He was horrified to find blank  pages where his data should have been -- only a few labels displayed.   Other layouts seemed to be OK.  The data -- 9000+ records -- seemed to be intact.  He set out to rebuild the layout for his data entry screen:  ~60 labels and fields.

I set out to find the problem.  A google search for "File Maker Pro 11 Snow Leopard blank" produced the solution:  a problem FMP has with a slightly corrupt font folder.  Turns out other people did have the same problem and that solutions were ready for the finding.   In about 15 seconds he was able to open the faulty layout, select all elements on the page and change the font to anything other than Arial.  Bingo!

Dec 15
2010

IE8, JCE, and email links....

Posted by barb in Joomla , IE , editor

Yesterday at a training session a user showed me a very strange display of what should have been a linked email address.  There was all kinds of code where the link text -- the email address -- should have been.

She was working in Firefox on a Mac, and deleted the link and rebuilt it and all was fine. (She was editing a page that someone else had worked on....  probably in IE!)

Today I get a call from a different client who wanted to be reminded of how to link to an email address.   I walked her through it and there was the gibberish again!

Hmm....  what browser are you using?    Internet Explorer.    Aha!

So...  off I go to do more testing* and sure enough, the JCE editor creates messed up links.   In the editor you'll see:

mailto:barb@irislines.com?subject=test
where you should be seeing the link text.

If you publish that article,  the public will see:
?subject=test'; document.write( '

If you MUST use IE,   then in adding an email link where the link text is the email address,  the JCE editor will fill the url bar of the Advanced Link Editor  with  mailto:email@domain.com.   Just click insert and the link will be fine.   DO NOT click the envelope to add email address,  bcc, cc, or Subject fields.

If the link text is NOT an email address, then the JCE editor Advanced Link Editor functions can be used.

Best Practice?   Don't use IE!

Oct 11
2010

Working on an iPad...

Posted by barb in MyBlog , Joomla , iPad , Ignite Gallery

I'm writing this post on an iPad - trying to get used to some of the features - and to test whether I really need to buy the adminPad extension from the folks at JoomlaPraise.

One thing I noticed right away was the apparent lack of a scroll bar in the editor window. Turns out this is just how safari works on the iPad. One finger drag scrolls the whole page, two finger drag scrolls in the editor window -- or other scrollable areas on a site.

When I first discovered that boxes that should scroll just seemed cut off with no way to access the remaining text, I was checking out the newly launched site for Froggy Bottom Guitars. In an Ignite Gallery display, one of the players had submitted a rather long story to go with his photo. On a computer a scroll bar is obvious - but on the iPad, it was not.

Aug 25
2010

Imagesized revised...

Posted by barb in Joomla , Imagesized , extensions

NEW version of Imagesized plugin includes more options, but forces a bg and border for all generated thumbnails.   Set to white this could often just disappear on the page, but on the fbg site I needed thumbs to sometimes be on a background image for front page.

I was using very standard image sizes so I could predict that all thumbnails would be the actual size, and not need a "fudge-factor"  so I modified the plugin code as follows:


In plg_imagesized.php  line 373

WAS

imagerectangle($result, 0, 0, $widthm-1, $heightm-1, $this->set_img_color($result,$fp_bocolor));

I changed it to

imagerectangle($result, 0, 0, $widthm, $heightm, $this->set_img_color($result,$fp_bocolor));

and line 375

WAS

$sample = imagecopyresampled($result, $image, -($width/2) + ($widthm/2)+2, -($height/2) + ($heightm/2)+2, 0, 0, $width-4, $height-4, $width_orig, $height_orig);

I changed it to:


$sample = imagecopyresampled($result, $image, -($width/2) + ($widthm/2), -($height/2) + ($heightm/2), 0, 0, $width, $height, $width_orig, $height_orig);

 

By the way, the new Imagesized plugin now offers different settings for leading or intro blog entries and the settings can be applied to front page, and/or section and category blogs.  You can exclude sections or categories from using the plugin.


irislines.com ©2010 photo by Rich Kaszeta