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 :: Polls :: Message Navigator
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 16:30 Go to next message
qubodup is currently offline  qubodup
Messages: 24
Registered: February 2008
Karma: 0
Junior Member
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 16: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 22:30 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to look @ how the tree is generated inside index.php.t

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Tue Nov 26 08:19:17 GMT 2024

Total time taken to generate the page: 0.02503 seconds