| | | |  |  | |  |
15.04.2004, 22:30
|
#1 (permalink)
| | Mamber
Join Date: Mar 2004 Location: Jackson, NJ, USA
Posts: 46
| Question about templates, sizing, etc... Ok, so this is not my forte... I have a family site, and I recently uploaded RSGallery 2.0 beta 5 and I'm using Matt Smith's Mambo Spring template.
My problem is this:
On any pages with RS gallery, the center portion of the screen reduces to the witdh of RSgallery, and draws the right column WAY too wide. I included a partial screen shot... any tips would be appreciated.
__________________ ____________________Travis ____________________ "I may not agree with a word you say, but I will defend to the death your right to say it" -Voltaire |
| |
15.04.2004, 22:42
|
#2 (permalink)
| | Expert Mamber
Join Date: Mar 2004
Posts: 202
| Re: Question about templates, sizing, etc... That's because of the error, not the template. Fix the source of the error and your template will work normally  |
| |
15.04.2004, 22:43
|
#3 (permalink)
| | Professional Mamber
Join Date: Apr 2004 Location: Charlottesville, VA USA
Posts: 565
| Re: Question about templates, sizing, etc... Your php error reporting is set too high. Those are just notices. Check out php.net manual on error reporting. There are a few ways to set this.
The second one looks like there is something missing from the language file, the first one is an undefined variable, which is not necessarily a big deal. |
| |
16.04.2004, 00:14
|
#4 (permalink)
| | Expert Mamber
Join Date: Apr 2004 Location: Melbourne
Posts: 385
| Re: Question about templates, sizing, etc... For quick fix, you can set the following in /configuration.php : PHP Code: $mosConfig_error_reporting = 0;
HTH
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
|
| |
16.04.2004, 17:16
|
#5 (permalink)
| | Mamber
Join Date: Mar 2004 Location: Jackson, NJ, USA
Posts: 46
| Re: Question about templates, sizing, etc... OK... tried all suggestions, and it did not work. The funny thing is this: On any other content page, the middle section will resize and the left and right module sections will stay fixed to the widest module, with different size browser windows open. On the rsgallery content though, the main section becomes fixed-width. ARGH! To top it all off, One of the power connectors to one of my raid drives at home is failing intermtittantly and the internet is messed up at work, so I'm having a lot of difficulty these last couple days even trying to work on it.
Thanks guys, for your help so far.
__________________ ____________________Travis ____________________ "I may not agree with a word you say, but I will defend to the death your right to say it" -Voltaire |
| |
17.04.2004, 12:13
|
#6 (permalink)
| | Expert Mamber
Join Date: Apr 2004 Location: Melbourne
Posts: 385
| Re: Question about templates, sizing, etc... Geezz... sounds like you're having quite a lot to take at the moment.
Ok.. for the error_reporting, what about value -1, 1 and 0. Try them all to see which one swtiches the error off at the moment.
Hope everything will sort out for you.
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
|
| |
17.04.2004, 16:00
|
#7 (permalink)
| | Mamber
Join Date: Mar 2004 Location: Jackson, NJ, USA
Posts: 46
| Re: Question about templates, sizing, etc... Tried that... I went to check the mod_pms.php directly here are line 62 through 70... I know nothing about syntax or coding, but I was wondering if the first open quote was what it had a problem with. MyPMS and events calander display correctly on all other pages. Quote:
Notice: Undefined variable: content in /home/user1/public_html/modules/mod_pms.php on line 62 PHP Code: $content.='<table width="100%" cellpadding="2" cellspacing="1" align="center"><tr>';
$content.='
<td align="center" bgcolor="black" colspan="2">
<font color="white">
You have
</font>
</td>';
$content.='</tr><tr>';
$content.= '<td align="center" bgcolor="black" width="30%"><font color="orange" size="6">'.$howmany.'</font></td>';
|
And lines 31-37 of mod_events_cal.php Quote:
Notice: Use of undefined constant _CAL_CONF_STYLE - assumed '_CAL_CONF_STYLE' in /home/user1/public_html/modules/mod_events_cal.php on line 31 PHP Code: $content=_CAL_CONF_STYLE;
//////////////////////////////////////
$cal_year=date("Y",mktime());
$cal_month=date("m",mktime());
$cal_day=date("d",mktime());
| Should I fix the width of these two modules? I would much rather that the main content section was not fixed around rsgallery. I'm not sure how this is done, but if it's possible I'd like:
width_content_main = width_total - (width_left + width_right)
instead of what it's doing right now, which seems to be:
width_right = width_total - (width_left + width_content_main)
Internet is finally up at work, but I'm looking at getting a new PS for my computer at home...  Too much fun for one week.
Thanks again.
__________________ ____________________Travis ____________________ "I may not agree with a word you say, but I will defend to the death your right to say it" -Voltaire |
| |
09.05.2004, 03:45
|
#8 (permalink)
| | Expert Mamber
Join Date: Apr 2004 Location: Florida
Posts: 480
| Mambo Spring message display I'm having an issue with Mambo Spring also. The template looks fine, it just displays "charset=iso-8859-1" at the top left corner. What's causing that?
Thanks!
Stacey |
| |
09.05.2004, 03:49
|
#9 (permalink)
| | Expert Mamber
Join Date: Apr 2004 Location: Melbourne
Posts: 385
| Re: Mambo Spring message display Quote: |
Originally Posted by divamissx I'm having an issue with Mambo Spring also. The template looks fine, it just displays "charset=iso-8859-1" at the top left corner. What's causing that?
Thanks!
Stacey | Ahh... that ..
Make sure that your ISO is properly set in the meta tag like the following: PHP Code:
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> HTH.
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
|
| |
09.05.2004, 05:43
|
#10 (permalink)
| | Expert Mamber
Join Date: Apr 2004 Location: Florida
Posts: 480
| Re: Question about templates, sizing, etc... I didn't really understand that and kinda destroyed my template so I just switched to a different template. |
| | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT +2. The time now is 09:41. | | | |