FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » How to find out weather index.php is building the first or last category? (Creating a theme, trying to make it list-based, having problems)
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
How to find out weather index.php is building the first or last category? [message #40627] Sun, 30 March 2008 12:30 Go to next message
qubodup is currently offline  qubodup
Messages: 24
Registered: February 2008
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hello, I'm trying to create a list based forum theme for fudforum, so that index.php's body would look like this:


  • Category

    • Forum
    • Forum

  • Category

    • Forum
    • Forum
    • Forum

      • Category

        • Forum
        • Forum
        • Forum

      • Category

        • Forum
        • Forum
        • Forum



  • Category

    • Forum
    • Forum
    • Forum
    • Forum


Now, unfortunately I have no clue about PHP and can't read your code, but maybe you can give me a hint, which "IF ... then </ul>" construction to use.

I need to know if the current forum (index.tmpl):

{SECTION: index_forum_entry forum entry row}


is the last forum inside the parent category. I hope you understand what I want and can help me.

[Updated on: Sun, 30 March 2008 12:34]

Report message to a moderator

Re: How to find out weather index.php is building the first or last category? [message #40642 is a reply to message #40627] Mon, 31 March 2008 18:30 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
You need to look @ how the tree is generated inside index.php.t

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: how can i set a logo.jpg on top of loginpage?
Next Topic: basic, non-table layout
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 18 09:55:46 EST 2017

Total time taken to generate the page: 0.00715 seconds