The Joomla! People Portal ™

Before attempting to create a group please see Manual Group Creation

login not working?

If you have problems logging in after registering, please visit http://forum.joomla.org/viewforum.php?f=576 and post there.

Helpful Tip: Ensure that your products are GPL and Trademark Compliant to maintain your Fan Club, Likewise for JUG Groups. Request assistance in the Forum

Joomla! User Group - Central UK

Joomla! User Group - Central UK
Group Information
Name:
Joomla! User Group - Central UK
Created:
Thursday, 03 February 2011
Creator:

Description

JUG-Central covers predominately the Hertfordshire (Herts, UK), Bedfordshire (Beds, UK) and Buckinghamshire (Bucks, UK) areas, however if you're outside that area you are still very welcome to JUG-Central.

http://www.jug-central.org

Announcements

No bulletin added yet

Discussions

No discussion added yet.
Aled Rees
Have you come across this strange Joomla! quirk, Ian?

Images seem to be placed inside tags by default. Wierd.

Let's say I need to have a paragraph of 500px on the left and an image on the right. Usually I would do this simple css...

p { float : left ; width : 500px ; }

img { margin-left : 500px ; }

However, with Joomla!, because the tag is placed inside a tag, the image itself is also floated left. So I have to do this.....

p { float : left ; width : 500px ; }

p.right { float : none ; margin-left : 500px ; }

But that means coding css into the article. Really frustrating.
Aled ReesAled Rees on Monday, 06 February 2012 16:48

Whoops, I meant the image tag is placed inside a paragraph tag!!!!!!!!!!

So the image inherits the paragraph styles.

I should have strip-slashed the html tags in my question, sorry.

99 days ago
 
Aled Rees
Hello, Ian.

I have joined the Joomla! Community mainly to learn about LAYOUT OVERIDES.

There is nothing (useful) in the official Joomla! documentation wiki and no decent webtuts anywhere on the net. Here's my main issues with the Joomla! platform....

1) The Joomla CCS SUFFIX is not available for articles.

2) The only way to have multiple article styles is to choose "Alternative Layout"

3) There is NO documentation on how to actually alter the default.php itself. Most tuts forget to mention that this file must actually be renamed otherwise a TEMPLATE OVERIDE id being created rather than a LAYOUT OVERIDE.

4) I don't want to change the php structure just the css - does that mean I change the class of the master div and target via CSS?

Phew.

Ian ChilversIan Chilvers on Thursday, 02 February 2012 10:15

Hi

To be honest I'm not entirely sure what you are trying to achieve.

If you want a article to look different to the others then we you can override the CSS actually in the article.

With a Editor like JCE installed you can edit the HTML, CSS and even add/edit Script on the article.

If your style sheet includes the classes you want then it should be easy enough to change the look of the feel of a article without overriding the template.

Assuming this is what you are trying to achieve of course ;-)

Regards

Ian

Aled ReesAled Rees on Monday, 06 February 2012 16:19

I do not want to overirde the css in the article itself because the final client does not know html or css, and will be updating the articles regulary.

I have opted to instead copy and paste my template and just change the name in templatedetails.xml. Then I installed that template with a few minor css changes and selected that template for the menu items that led to certain pages.

I'll re-word my question to avoid ambiguity. ;)

1) I set up my layout overide.
2) I select the layout overide in the article parameter 'alternative layout'

at this point, I'm unsure what to do with the (renamed) default.php file to target the css of the layout.

Cheers.

103 days ago