• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

2.1.5 : no NEW TOPIC button

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in file templates/default/forum_show.htm

<#if !readonly && !replyOnly>
<td >

</td>
<#else>
<#assign colspan = "2"/>
</#if>

transp.gif ===> should be post.gif


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, it shoulnd't. You need to have "tranps.gif" in the images/ directory, and it will work fine.


Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank's for the reply. In fact it was not a broser problem.

The problem is that I use sitemesh to have a global site design with multiple site.

The Site mesh filter parse the original content, and extract the inner body from the html code.
==> the <body class="en_US"> is lost.

I just need to fix my sitemesh decorators to include the proper body declaration.


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:No, it shoulnd't. You need to have "tranps.gif" in the images/ directory, and it will work fine.


Rafael



Ok, I got the point, and see that some buttons are defined in the lang.css files

I still have problems on both firefox and safari with the buttons being not displayed.

It seems that there is a problem with the css files
example : en_US.css
.en_US .icon_new_topic img { background-image: url(../images/en_US/post.gif); width: 82px; height: 25px; }
.en_US .icon_reply img { background-image: url(../images/en_US/reply.gif); width: 82px; height: 25px; }
.en_US .icon_reply_locked img { background-image: url(../images/en_US/reply_locked.gif); width: 82px; height: 25px; }
.en_US .icon_quote img { background-image: url(../images/en_US/icon_quote.gif); width: 59px; height: 18px; }
.en_US .icon_edit img { background-image: url(../images/en_US/icon_edit.gif); width: 59px; height: 18px; }
.en_US .icon_profile img { background-image: url(../images/en_US/icon_profile.gif); width: 59px; height: 18px; }
.en_US .icon_pm img { background-image: url(../images/en_US/icon_pm.gif); width: 59px; height: 18px; }

If I remove the first .en_US class selector eg the en_US.css =
.icon_new_topic img { background-image: url(../images/en_US/post.gif); width: 82px; height: 25px; }
.icon_reply img { background-image: url(../images/en_US/reply.gif); width: 82px; height: 25px; }
.icon_reply_locked img { background-image: url(../images/en_US/reply_locked.gif); width: 82px; height: 25px; }
.icon_quote img { background-image: url(../images/en_US/icon_quote.gif); width: 59px; height: 18px; }
.icon_edit img { background-image: url(../images/en_US/icon_edit.gif); width: 59px; height: 18px; }
.icon_profile img { background-image: url(../images/en_US/icon_profile.gif); width: 59px; height: 18px; }
.icon_pm img { background-image: url(../images/en_US/icon_pm.gif); width: 59px; height: 18px; }

Then, safari and firefox display the correct buttons

Question : what is the .en_US class selector used for ???



[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You mean, Firefon on Mac? Can you please post a screenshot of how it looks like?

The selectors are used here:



Rafael
[originally posted on jforum.net by Rafael Steil]
 
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic