Link to home
Start Free TrialLog in
Avatar of tamray_tech
tamray_tech

asked on

Need help with layout or template override in joomla 1.5

I am attempting to override either the frontpage, or article template in joomla 1.5. I am not sure what to ask for, but it seems it may be both. I am not a css or php expert by any means, so I would need the code supplied, and instructions with proper placement.

From what I understand with overrides,  I copied the files and folders needed to the proper location. For the Frontpage I copied \components\com_content\views\frontpage\tmpl  to \templates\success_v2_0_J15\html\com_content\frontpage, and I copied \components\com_content\views\article\tmpl to  \templates\success_v2_0_J15\html\com_content\article

The project site I am working on is http://moodle.agaape-academy.com/joomla

I am attempting to slide the bottom article (Agape In the community) all the way over to the left, so I can center it across the entire content area. The following info in template.css is what seems to prevent this from working:

#leftcolumn, #rightcolumn {
float:left;
margin:0;
padding:0 0 20px;
text-align:center;
width:180px;
}

If I change the width my table slides to the left, but it messes up my module placement.

I am trying to insert the table (centered) under the google weather module, so it has the same spaceing on the left and right side of the content area.
Avatar of Amanda Watson
Amanda Watson
Flag of Australia image

Hi there,
That links seems to not be working?
Ok so if I am understanding you correctly you need to insert a new module position in your template.
Or you may use the footer position and place your main content within the footer for the homepage only of course...that way all the information will be contained evenly across the page.
Is that what you mean?
Avatar of tamray_tech
tamray_tech

ASKER

Not sure what method, but yes, it seems using the footer class might do it, since it spans the entire width of the page.
Yes, the link is the correct project site
Hi,

The problem is article content. in that article u have created HTML with table know in that u have mentioned the width for each <td>. That is the main issue...

Change the Article HTML ...
ASKER CERTIFIED SOLUTION
Avatar of Amanda Watson
Amanda Watson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The html  module did the trick to get the frontpage to look the way I wanted, but is there a way to disable some modules for other pages. If you click on some of the other menu links you can see the pages are a messed up because of what I did on the front page.
Definately.  Just publish that module to the homepage only.
If you click on the module through module manager, down the bottom it has some options to apply the module to various menu items.

Can you see it?
Thank you!