Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Child boards in same table as main boards?

Aloittaja samborabora, syyskuu 13, 2013, 10:29:36 AP

« edellinen - seuraava »

samborabora

I'd love to replicate this idea of having child boards as a rollover in the same <td> as the main forum title? Kanyetothe forums do it, but I can't post the link unfortunatly. What is the easiest and least likely to break my forum way of implementing this?  Thanks!

Kindred

you would have to recode the boardindex template
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

samborabora

Okay, that's cool, I can do that. Can you suggest what I should start with, roughly, so I can get an idea of what part is best to change? I couldn't find a mod to do this, although it would be amazing if there was one. Thanks!

Kindred

there is no mod, which is why I said you would have ot do the recoding... :P

Moving to the coding board, since this is not actually a support question.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

samborabora

Ahh, sorry about posting in the wrong forum! Anyways, if there's anyone here who could suggest the simplest way of performing this template change, I'd be most appreciative! Thanks!

margarett

The coding of BoardIndex is actually quite easy (depending on the theme, of course..)

The beginning of the code for a complete board is (default theme):

foreach ($category['boards'] as $board)
{
echo '
...

You will see that the code is full of comments. If you know HTML it should be pretty easy to accomplish it. Of course you need to use your friend firebug ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

LainaaOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

samborabora

Hi there, yes I know HTML very well, I just need a little guidance as to how I should start, really. I don't want to mess up any existing code, and it's not as simple when one has to compare the final served html with the template which is comprised of pre-served php code, even though it has html within it. Just a couple of suggestions would be handy, as it probably wouldn't take much more than a couple of shifts of code, and some css styling which would be really easy. Thanks!

samborabora

Okay, I've been studying the board template for ages trying to reorder it, and it seems so simple, yet every move I make seems to break it somehow! I have attached my board template, complete with any mods I have installed, and would appreciate it if anyone could reorder the code so that the child boards appear in the same cell as the main board title, I can take care of the rollover code myself, hopefully, with some simple css. Thanks in advance!

samborabora

Okay, as far as I can tell, THAT works, I just need to get the span class hover working in css, and we'll be all set, I do believe.

samborabora

I managed to do it with:

.childroll {
    display: none;
padding-left:10px;
}

tr.windowbg2:hover .childroll {
display:inline;
}


And wrapping the childboards with:

<span class="childroll">', implode(', ', $children), '</span>

After suitable readjustments of the positioning of the childboards.

Advertisement: