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
Return to the default flat view 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 previous message
qubodup is currently offline  qubodup
Messages: 24
Registered: February 2008
Karma:
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

[Message index]
 
Read Message
Read Message
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 11:55:43 GMT 2024

Total time taken to generate the page: 0.04471 seconds