• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 425
  • Last Modified:

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.
0
tamray_tech
Asked:
tamray_tech
  • 4
  • 4
  • 2
1 Solution
 
Amanda WatsonWeb DeveloperCommented:
Hi there,
That links seems to not be working?
0
 
techsathishCommented:
Hi,

This is exact link right?

http://moodle.agape-academy.com/joomla/
0
 
Amanda WatsonWeb DeveloperCommented:
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?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
tamray_techAuthor Commented:
Not sure what method, but yes, it seems using the footer class might do it, since it spans the entire width of the page.
0
 
tamray_techAuthor Commented:
Yes, the link is the correct project site
0
 
techsathishCommented:
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 ...
0
 
Amanda WatsonWeb DeveloperCommented:
Ok, someone may have a more elegant solution, but what I would try is installing mod_html module.
http://extensions.joomla.org/extensions/edition/custom-code-in-modules/5435

Take off the main from the frontpage and add it all into your html module. (note: there is no WYSIWYG editor in mod_html, you need to add all the html code so I would perhaps copy your HTML from the mainpage you are taking off and paste it into your html module.

Then post the mod_html into the footer.
0
 
tamray_techAuthor Commented:
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.
0
 
Amanda WatsonWeb DeveloperCommented:
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?
0
 
tamray_techAuthor Commented:
Thank you!
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now