4.7

1. I've got a question mark showing up on my forum and I don't know how to get rid of it.

2. I need to know if there's a way to get the links at the top "inline" instead of "stacked".

3. Need to remove the "go to next topic" link or move it to next to the reply/quote/etc.

Of course none of these questions make sense without looking at screen shots so here ya go.....

http://www.toonopoly.com/forum.html

(I'm going to leave this link up on my site incase anyone else has the same questions in the future).

Thanks in advance,
Jeff

Comments

marlowx’s picture

dude, i thought i was the only one who wanted to chage that stacked links bit...

argh, it takes up so much space man...

i would love to have them go side by side too...

anybody?

jadwigo’s picture

  1. the question mark is probably something with the encoding, or a bug in the template, hard to see from a screenshot, I'd need a code sample for that
  2. the stacked links is easy with css, add #forum li {display: inline; list-style: none; padding-right: 1em;} and #forum ul {list-style: none; padding-left: 0;} to your stylesheet... the rest is CSS tweaking
  3. in CSS the class is .forum-topic-navigation .. if you set it to display: none; in CSS it will be hidden.. but there is probably something in the snippets that does it better.

---
My ego is here

heine’s picture

You can override several theme_forum_* functions (see the themedev guide how)

these are
theme_forum_display
theme_form_icon
theme_forum_list
theme_forum_topic_list
theme_forum_topic_navigation - generates the prev / next links

Just look in the forum.module for the arguments and example code.

--
When your problem is solved, please post a follow-up to the thread you started.

toonopoly’s picture

worked. Thank you.

toonopoly’s picture

I've narrowed down the ? to this in the Forum Module:

$forum_topic_list_header = array(
    <strong>array('data' => ' '),</strong>
    array('data' => t('Topic'), 'field' => 'n.title'),
    array('data' => t('Replies'), 'field' => 'l.comment_count'),
    array('data' => t('Created'), 'field' => 'n.created'),
    array('data' => t('Last reply'), 'field' => 'l.last_comment_timestamp'),
  );

I removed it and it moved my entire header bar over to the left so Topic, Replies, etc weren't all pushed left.

jadwigo’s picture

Somehow the space in the first cell might be converted to some unknown character, try using a &nbsp; or mabye even a "-"

$forum_topic_list_header = array(
    array('data' => '&nbsp;'),
    array('data' => t('Topic'), 'field' => 'n.title'),
    array('data' => t('Replies'), 'field' => 'l.comment_count'),
    array('data' => t('Created'), 'field' => 'n.created'),
    array('data' => t('Last reply'), 'field' => 'l.last_comment_timestamp'),
  );

---
My ego is here