Template overrides.

Copy the module to your template directory and edit the files.
Modules and Components placed in your template's HTML directory will 
override the core code so you can safely edit the code without affecting 
core functionality.

tj


Date sent:              Thu, 16 Dec 2010 11:15:55 +1300
From:                   Harvey Kane <[email protected]>
Subject:                [phpug] Editing HTML in Joomla modules
To:                     [email protected]
Send reply to:          [email protected]

> Hi All,
> 
> Just a quick question for any Joomla users out there (looking at you 
> Jochen). I'm new to Joomla and are doing a reskin job today, which is 
> urgent like everything else so my usual approach of reading a book and
> running through tutorials won't work here.
> 
> I'm needing to customise the various interactive elements (modules) to look
> like what the designer supplied - eg the search form, login form, category
> listing in the sidebar etc.
> 
> The design is very specific and I'm not able to skin the module's HTML using
> only CSS - in some cases the modules are outputting tables and other markup
> not needed in the design. For little tweaks I'd normally just fire up jquery
> and hide the bits I don't want or move things around, but that's a bit of a
> hack in this case where the formatting is quite different.
> 
> What's the correct Joomla approach to changing the HTML outputted by a
> module? Is there a clean way I can overlay some replacement HTML that won't
> do bad things when the site is upgraded?
> 
> Second question. There is a category menu to show in the sidebar 
> (generated by redSHOP), and each item needs a unique graphic (a little icon
> representing the category). Is there a standard way to add an extra field to
> the database, a file upload field to the admin UI, and to read the field in
> the frontend? This one isn't such a biggie as the client will be getting the
> designers to make new graphic should they start adding new categories etc,
> so if it's easier to hard-code the files then that would be acceptable here.
> 
> Thanks for any help,
> 
> Harvey.
> 
> -- 
> Harvey Kane
> 
> Phone:
> - Auckland: +64 9 950 4133
> - Wanaka: +64 3 746 8133
> - Mobile: +64 21 811 951
> 
> Email: [email protected]
>   If you need to contact me urgently, please read my email policy
>   www.ragepank.com/email/
> 
> -- 
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]
> 
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1170 / Virus Database: 426/3317 - Release Date: 12/15/10
> 


-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to