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>








  • No comments: