101
ralf57
<{xoops_link}>....what's this variable for?
  • 2004/2/16 21:04

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


I've found this new smarty variable in version 2.06's changelog and tried to place it into a template but nothing happened.
Can anybody tell me its function and its usage?
Regards,ralf.



102
ralf57
Re: Another template problem...(Firefox issue)
  • 2004/2/13 20:53

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


@aubrey

A big thank...i've applied your suggest and now
it rocks!!!
If the final result is good enough
i'll share this theme with the XOOPS community
(hoping that someone would appreciate it).
good night.



103
ralf57
Re: Another template problem...(Firefox issue)
  • 2004/2/13 20:38

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


@aubrey

Thank you,this is a workaround that i didn't know before.
I'll try it and let you know about the result.
thanks again.



104
ralf57
Another template problem...(Firefox issue)
  • 2004/2/13 16:26

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Hi all,i'm building a new theme taking the default one as a base and i'm trying to make it both IE6 and Firefox compatible.
Now i have a problem with the main menu customization expecially with Firefox.
In short these images should explain better.
I've set to 165px the leftcolumn width,but reduced the mainmenu table's width to 133px.
In IE6 the hover state is shown correctly:



Resized Image






not in Firefox:





Resized Image





This is the .css code:

td#mainmenu {width:133px;}
td#mainmenu a {font-size:105%;color: #EEEEEE;background-color: transparent; display: block; margin: 0; padding: 3px;}
td#mainmenu a:hover {color: #FFFFFF;background-color: #9999CC;}
td#mainmenu a.menuTop {padding-left: 3px; border-top: 0px solid silver; border-right: 0px solid #666666; border-bottom: 0px solid #666666; border-left: 0px solid silver;}
td#mainmenu a.menuMain {text-indent:9px;background-image: url(arrow_main.gif);background-position:left;background-repeat:no-repeat;padding-left: 3px; border-right: 0px solid #666666; border-bottom: 0px solid #666666; border-left: 0px solid silver;}
td#mainmenu a.menuSub {color: #FFD5AB;padding-left: 13px; border-right: 0px solid #666666; border-bottom: 0px solid #666666; border-left: 0px solid silver;}

How can i fix this?
Thanks in advance,ralf.



105
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 21:24

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:

SevenD wrote:
Replace :

Quote:
<img src="<{$xoops_imageurl}>images/logo.gif" border="0" alt="Homepage" />


with:

Quote:
<img src="<{$xoops_imageurl}>images/logo.gif" alt="Homepage" border="0" align="left" />




Thank you SevenD,
the problem is finally solved!!!
Keep up the good work with your themes.



106
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 18:38

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:

Mithrandir wrote:
images/header_bg.gif - which size does that have? Could you try (just for a test) to put in a smaller image and see if THAT is what sets the height


Hi Mit,
images/header_bg.gif has the same heigth of logo.gif(114px) so it fills exactly the background.
I've made a trial decreasing header_bg.gif's heigth to 100px but the space below the logo still appears..
Now i'm going really crazy..
I could code everything from scratch of course but i wish to understand where this issue comes from.
thanks again,ralf.



107
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 18:16

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:

robekras wrote:

Especially a difference between Mozilla and IE. The default setting for border-collapse is different between Mozilla and IE (As far as I remember).

It's something with border-collapse in the table class definition.




Thank you,i've tried this solution too..but still no changes



108
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 17:07

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:

Mithrandir wrote:
Isn't it related to the height= setting? IE and Mozilla has different ways of interpreting the height setting AFAIK.

I have also had problems with block header graphics being repeated (well, a line or two of graphics) in IE, but not in Mozilla.


Thank you Mithrandir,i've set the height value in html code and .css too but this seems not affect the way the header is shown even if i put an high value(ex.400px).
This sound very strange.




109
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 16:48

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Thank you both,but no result even wiht hsalazar suggest:

@hsalazar:now i have this code(wihtout carriage returns):

___________________________
<table class="headerlogo" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td ><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>images/logo.gif" border="0" alt="Homepage" /></a></td</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="navbar" >
<td><img src="<{$xoops_imageurl}>images/nav_tab1_bg.gif" width="260" height="16" alt="" /></td>
<td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/index.php">Home</a></td>
<td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/modules/news/">News</a></td>
<td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/modules/myguestbook/">Guestbook</a></td>
<td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/modules/mydownloads/">Downloads</a></td>
<td id="headmenu"><a class="menuHead" href="<{$xoops_url}>/modules/contact/">Contatti</a></td>
</tr>
</table>
_________________________________

@SevenD: i've sent you the files as you requested.



110
ralf57
Re: Need help to fix a theme....
  • 2004/2/4 15:11

  • ralf57

  • Quite a regular

  • Posts: 231

  • Since: 2003/2/3 1


Quote:

SevenD wrote:

Fix the style.css, unclosed tag in "td#headerlogo" and "table#okvir" selector, "}" .





Thank you SevenD for your quick answer but the tags were already closed;i made a copy/paste error writing the post;
so the problem still remains.




TopTop
« 1 ... 8 9 10 (11) 12 13 »



Login

Who's Online

88 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 88


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits