PDA

View Full Version : Need a little tweaking...


jomaco1
13.04.2004, 06:21
I am using the AKO Darkgem template with some heavy modifications. I'm having just a few problems I know you fellow Mambers will be able to quickly help me with.

First, I can't find anywhere on the mamboserver forum (I know I've seen a dozen threads on this) how to fix the template to remove the text at the top left: charset=iso-8859-1

Also, my polls module table has gone wacky and I can't find a fix. I didn't change anything in mod_polls.php, so I'm guessing maybe it's in the css, which I have substantially altered.

I still need to hack a few mods to adjust the padding and the weblinks html needs some work, but I haven't been able to find anywhere how to vertically center the text for the web links title...could use some help on that.

The site is here: http://bermudatriangleband.com/mos45/

Thanks in advance.

supes
13.04.2004, 07:14
for the weblinks... could it be com_weblinks/weblinks.html.php at line 58 to center it?

line 58:

<td width="85%" height="20" class="sectiontableheader"><?php echo _HEADER_TITLE_WEBLINKS; ?></td>

can you just add a "center" tag to that? change it to:

<td width="85%" height="20" class="sectiontableheader"><div align="center"><?php echo _HEADER_TITLE_WEBLINKS; ?>
</div></td>

and for the Charset thing... my site doesn't show it. here's the code (including line above and below) that I have in my index.php:

<title><?php echo $mosConfig_sitename; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php include ("includes/metadata.php"); ?>

hope that helps

supes
13.04.2004, 07:22
oh, and with the polls thing.... maybe you threw a big text indent in the CSS somewhere?

jomaco1
13.04.2004, 15:59
Here is the section of code from my template that mentions "ISO":

<title><?php echo $mosConfig_sitename; ?></title>
<?php echo _ISO; ?>
<?php include ("includes/metadata.php"); ?>

Supes, this is a little different than yours, so I'm not sure what to change.

Regarding the poll: have been through the css and can't find an ident, it is a table issue...the radio button is in the first column and the choice in the second column...just can't find where this is set...or could have been screwed up.

MamboHut
13.04.2004, 16:03
Change

<?php echo _ISO; ?>

TO:

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />

To get rid of the ISO error

jomaco1
13.04.2004, 16:11
Change

<?php echo _ISO; ?>

TO:

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />

To get rid of the ISO error

Thanks Mo!...one down... :)

MamboHut
13.04.2004, 17:41
I still need to hack a few mods to adjust the padding and the weblinks html needs some work, but I haven't been able to find anywhere how to vertically center the text for the web links title...could use some help on that.

The site is here: http://bermudatriangleband.com/mos45/

Thanks in advance.

You might wanna add this to the componentheading class

.contentheading, .componentheading {
background : url(../images/menu_bar_back.gif);
height : 30;
width : 100%;
font : bold 11px Verdana, Arial, Helvetica, sans-serif;
font-variant : small-caps;
color : #ff80c0;
text-align : center;
display : block;

}

it will look a lot better IMO
Still investigating your POLL problem, looks strange to me :eek:

supes
13.04.2004, 17:55
glad to see you've got a pro working on it for you... sorry i couldn't help

jomaco1
13.04.2004, 18:01
glad to see you've got a pro working on it for you... sorry i couldn't help

Looks like he just confirmed what you already said. :)

Haven't had a chance to try your centering thing yet...but will certainly be checking that out too. All help is appreciated!

jomaco1
13.04.2004, 18:03
...it will look a lot better IMO
Still investigating your POLL problem, looks strange to me :eek:

Made the addition as you suggested. I don't see a difference.
:confused: Do you?

What does the display:block; command do? BTW...thanks.

MamboHut
13.04.2004, 18:31
What does the display:block; command do? BTW...thanks.
It will extend the background to a full width when you see it in mozilla based browsers

Try (margin-top : 4 pixel) or something for the vertical alignment

jomaco1
13.04.2004, 18:52
It will extend the background to a full width when you see it in mozilla based browsers

Try (margin-top : 4 pixel) or something for the vertical alignment

Tried adding the top margin but it had no effect on the web links....I will have to look into the com_weblinks.php tonight and see what's going on.

Der Druide
21.04.2004, 13:36
Change

<?php echo _ISO; ?>

TO:

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />

To get rid of the ISO error
In my index2.php is exactly the same code:
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
but, it doesn't work. i have the error charset=iso-8859-1 too. so what can i do?

jomaco1
21.04.2004, 14:14
The change should take place in ..templates/template_name/index.php.

Der Druide
21.04.2004, 14:32
:****:
Thanks for Help !

mathyz
28.10.2004, 18:24
Hi

I saw at your page, that you managed to change the color of the buttons (login, vote, results...). How did you do that? If I change anything in my template_css absolutely nothing happens. everything else works and is editable but not the .button class. could you please post your css code of the button class.


THX in advance

jomaco1
28.10.2004, 19:28
Hi

I saw at your page, that you managed to change the color of the buttons (login, vote, results...). How did you do that? If I change anything in my template_css absolutely nothing happens. everything else works and is editable but not the .button class. could you please post your css code of the button class.


THX in advanceIf you don't already have it, get FireFox and download the Web Developer extension. It will change life as you know it. ;)

Here's the class for the button:

.button {
font : bold 10px Verdana, Arial, Helvetica, sans-serif;
color : #000000;
background : #99ffcc;
border : 1px solid #666666;
}

fabreu30
31.10.2004, 19:35
hi, guy
want to check my site
StreamDvD (http://tota.no-ip.info)