Sub Menu
Links Menu
Online Users

In total there are 314 users online :: 3 registered, 0 hidden and 311 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Custom Theme layout problem

IntegraMOD 141 Themes

Moderator: Integra Moderator

Custom Theme layout problem

PostAuthor: Khimaira » Sun Jan 28, 2007 4:07 pm

While customizing F1Subice Black for my own use with 1.41 I've created the following problem:

I've added some graphics around the navigation menu which creates a large gap to the right (as shown in screenshot below which shows deleting a comment from a KB article) but only on some pages.

[flash=,:18n9d4wx]http://outland.chimaerica.com/gap.jpg[/flash:18n9d4wx]


This occurs on the toc page of the KB but goes away once you pick a category. Same problem with Acronyms.

It reminds me of what happens when using a different portal layout and leaving a column empty...but I am using the regular portal_body.tpl for the default. System-wide portal-header is enabled, footer is not. When I do enable the system-wide footer then the whole footer disappears...so I know I am doing something wrong with the html...

Most pages look fine (forums look correct).

Below is the basic code generated by slicing the image I wanted in Paint Shop Pro:
Code: Select all
<table>  <tr><td>     <img></td></tr>  <tr><td>     <img></td><td>     <img></td><td>     <img></td></tr>  <tr><td>     <img></td><td>     <img></td><td>     <img></td></tr>  <tr><td>     <img></td><td>     <img></td><td>     <img></td></tr>  </table>  


Any idea where I am messing this up? I know it is this customization that is screwing up some of the pages - if I just go with the plain menu everything looks ok. <img>
Last edited by Khimaira on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Khimaira
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Fri Aug 25, 2006 3:40 am
Cash on hand: 0.00

Re: Custom Theme layout problem

PostAuthor: Khimaira » Tue Jan 30, 2007 11:48 am

Did some testing and this seems to be a problem in IE 6 only (which is what I am still using). If I view the problem pages in IE7 or Firefox 2 the gap is gone. So...not sure if this is still a problem or not. <img>
Last edited by Khimaira on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Khimaira
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Fri Aug 25, 2006 3:40 am
Cash on hand: 0.00

Re: Custom Theme layout problem

PostAuthor: Teelk » Tue Jan 30, 2007 6:00 pm

You've added this code to portal_page_header.tpl I'm assuming? Can I see that file?
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Custom Theme layout problem

PostAuthor: Khimaira » Wed Jan 31, 2007 2:56 am

Actually, I've added it to the individual block .tpl files I have on the header (menu, recent topics, and online users).

Here is the menu one:

Code: Select all
<table>  <tr><td>     <img></td></tr>  <tr><td></td><td>               {QNAVS}  <table>  </table></td>  <td></td></tr><tr><td>     <img></td><td>     <img></td><td>     <img></td></tr>  <tr><td>     <img></td><td>     <img></td><td>     <img></td></tr>  </table>


Test site is located [url=http]HERE[/url] - it is still a work in progress and is not live <img>
Last edited by Khimaira on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Khimaira
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Fri Aug 25, 2006 3:40 am
Cash on hand: 0.00

Re: Custom Theme layout problem

PostAuthor: Teelk » Wed Jan 31, 2007 3:15 am

It's lookin' good. What I'll do is code a portal_page_header.tpl with adding the code you provided. You'll need to restore the blocks to their originals. Do you want all blocks like that or just that column?
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Custom Theme layout problem

PostAuthor: Khimaira » Wed Jan 31, 2007 3:37 am

Hmm...I hadn't thought about that. Not sure if it would be too much for all the blocks to look like that. Would it be a lot of trouble to try it both ways? If so, I'm happy with just the header column <img>

And thank you so much for the help!

Oh...right now the titles for the header blocks are part of the images. Will that still be possible to make different for each block or will I just end up using the title as set in the IM Portal block config?
Last edited by Khimaira on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Khimaira
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Fri Aug 25, 2006 3:40 am
Cash on hand: 0.00

Re: Custom Theme layout problem

PostAuthor: Teelk » Wed Jan 31, 2007 4:01 am

"Khimaira";p="20928" wrote:Hmm...I hadn't thought about that. Not sure if it would be too much for all the blocks to look like that. Would it be a lot of trouble to try it both ways? If so, I'm happy with just the header column <img>

And thank you so much for the help!
Once the code is done for portal_page_header.tpl then it's not very hard to change the code in the layout files so all the blocks are like that. Comparing those files, it's all very similar code.

"Khimaira";p="20928" wrote:Oh...right now the titles for the header blocks are part of the images. Will that still be possible to make different for each block or will I just end up using the title as set in the IM Portal block config?
Unfortunately, no. But, you've given me an idea for the next version of IM Portal.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Custom Theme layout problem

PostAuthor: Teelk » Wed Jan 31, 2007 9:10 pm

Was wondering if you could provide a copy of the original image. I'd like to reslice it.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada


Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron