 |
vtiger The Honest Open Source CRM
|
| Previous topic :: Next topic |
| Author |
Message |
Guest
|
| Posted: Sun Nov 06, 2005 11:32 pm Post subject: Changing the layout |
|
|
I'm trying to create a menu on the right, I'd actually like to do something like CleanBusiness, but oriented to a right handed person. To me, it's really not user friendly to have the menu on the left, and the top menu is dreadful.
I tried to move the menu but it appears that the menu cannot simply be moved as the main area always trys to load to the right of the menu.. any hints on how to get the left menu area to load, oriented to the right of the main area??
Thanks. |
|
| Back to top |
|
mikecrowe
Joined: 04 Jan 2005
Posts: 499
|
| Posted: Mon Nov 07, 2005 12:45 pm Post subject: Changing the layout |
|
|
I had this working at one point, when I needed to have right menu, and it was not easy. Some of the blocks in the left column use absolute referencing, so they had to be modified.
In short, you will find that most themes use some type of table format as follows in the header.html file: Code: (snip)
<table align="center" border="0" width="99%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="left" width="166" height="100%"
style="border-top: 0px; border-bottom:0px solid black;
border-right:0px solid black;">
(here is where the left column is built)
</td>
<td class="body" valign="top" style="padding:2 0 0 2; border-left: 1px solid black; border-bottom: 1px solid #E0E0E0;">
<!-- END: main -->
As you can see, it ends in the middle of the "body" table, which is built by vtiger.
If you then move to footer.php, you will find where it closes: Code: <!--end body panes-->
</td></tr></table>
(bottom menu)
What you essentially have to do is rearrange like this: Code: <table align="center" border="0" width="99%" cellpadding="0" cellspacing="0">
<tr>
<td class="body" valign="top" style="padding:2 0 0 2; border-left: 1px solid black; border-bottom: 1px solid #E0E0E0;">
<!-- END: main -->
and footer.php becomes: Code: <!--end body panes-->
</td>
<td valign="top" align="left" width="166" height="100%"
style="border-top: 0px; border-bottom:0px solid black;
border-right:0px solid black;">
(here is where the right column is built)
</td>
</tr></table>
(bottom menu)
Alternatively, you could move to a div based approach, and float the two blocks. However, this is a little more involved. |
|
| Back to top |
|
s0mus
Joined: 06 Nov 2005
Posts: 3
|
| Posted: Tue Nov 08, 2005 3:22 am Post subject: Changing the layout |
|
|
Wow.. umm thats awsome.. I'll have to test it this weekend. Thanks.
Somus |
|
| Back to top |
|
alltribz
Joined: 06 Mar 2006
Posts: 40
|
| Posted: Fri Mar 10, 2006 10:27 am Post subject: Changing the layout |
|
|
| Hi, this is a take on this item hopefully you guys can help me. I find it a waste of space to have the submenu start so far into the page in the themes (I am using blue). I mean the menu that says "new ...." I have tryed but not succeded to move it all the way to the left . Any ideas how to do it? Thanks a lot. |
|
| Back to top |
|
| |
|