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 
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 12:30 Go to previous message
qubodup is currently offline  qubodup
Messages: 24
Registered: February 2008
Karma:
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

[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: Mon Oct 23 11:29:42 EDT 2017

Total time taken to generate the page: 0.00627 seconds