Thursday 25 February 2010

Joomla Business Listings / Directory Extension - Component and Modules

I've developed a new 'Business Listing' component and some modules etc.  To achieve a decent looking Directory section as I couldn't get my head around SOB12.


with the help of 'Extension Development' - I've pretty much achieved what I wanted to do.  Although thanks to budgets / deadlines etc it's not all wrapped up as tidely as I'd like. And a bit hacked in areas.

However I would like the code to be available to others working in similar projects as they may like to carry the project forward.

If anyone wants details of what I've done then msg me.







Here's some screen shots of what it's going to look like.

 

  

 

Wednesday 24 February 2010

Changing the width of Tweets in Joomla extension 'Easy Twitter Status'

This change is for the Joomla module 'mod_easy_twitter_status' .

My problem here was this. In the The Easy Twitter Status Module http://extensions.joomla.org/extensions/social-web/twitter-display/8700 the way to change the width here is to change the value in the css ->li.easytwitter.

However this means whereever you use this module the size will be the same.  However my design specifications meant I needed to have different sizes for some of the tweets.

Here is the solution.

> first of all we need to add a new parameter

OPEN modules/mod_easy_twitter_status/mod_easy_twitter_status.xml

BEFORE

< / params > < / install >


ADD

           


> At this stage you can now change the values if wished in the modules section of administrator



OPEN modules/mod_easy_twitter_status/mod_easy_twitter_status.php

>> find the style class li.easytwitter
DELETE the width value



FIND:
$easyTweeterStatus['show_follow'] = $params->get('show_follow');

UNDERNEATH ADD:

$easyTweeterStatus['width'] = $params->get('width');

FIND:


  • ADD AFTER:

    style="width:px;




    AND THATS IT. UPLOAD YOUR CHANGES>