So before, after, nextpagelink, previouspagelink, pagelink, and more_file should allow you to do what you want to do, right? I think you’re creating a function for something that already exists. Give me more details so I can get a better idea of what you’re trying to do.
I’m using images for the navigation and the “pagenav” has a background associated with it. Like it is right now when there is no subpages it shows the “pagenav” background, what I want is that in that case nothing shows. Basically I want to show/hide the pagenav div depending on if there are subpages or not.