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

Home » FUDforum Development » Plugins and Code Hacks » How to move/replicate elements to another spot on the page (Relative noob to web programming with php - be kind...)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to move/replicate elements to another spot on the page [message #166585] Thu, 26 January 2012 02:52 Go to previous message
ShineOn is currently offline  ShineOn   United States
Messages: 53
Registered: July 2011
Karma:
Member
I would like to know how to move an element of a page to another location, or better still, how to replicate the element to another location on the page. I am still learning the basics of php programming (I know other languages like COBOL, Visual Basic, C++, some other scripting languages, but new to php) so I have no idea how this is done, and am asking your help.

Specifically, I want to place a copy of the pager at the top of each topic thread page, so you don't have to scroll to the bottom to jump to another page in the thread. How can I do that? What do I have to put in what file(s) in the data path so that a template rebuild will make the change take effect? I might be able to do it within the compiled templates and scripts if I can figure out where, but I have no clue (yet) as to the relationship between all the files in the data path /src and /tmpl/ (and other) folders and what has to change where, to make something like this work past the next template rebuild.

I know this much: the pager function, which is used all over the place in FUDforum, is what makes the "pages" navigation links at the bottom of a thread page work, the element which is located above the "rate this topic" and "Goto Forum" elements when in a forum topic thread display. I have no idea which file(s) in the data folder structure need to change in order to replicate it in another location on the page.

I want that same "pages" navigation link element replicated at the top of the thread, preferably under the "tree view", "post topic" and "post reply" buttons, to the left of the addthis icons.

How do I go about replicating that page element and placing it where I want to on the page? What files have to change, how do they have to change, and why, would be the best of all worlds for me. I thank you in advance for indulging this relative noob with his noob question.

[Updated on: Thu, 26 January 2012 02:54]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dynamic check of login/alias/email availability
Next Topic: fud_update_user, fud_add_user patch
Goto Forum:
  

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

Current Time: Wed Dec 04 09:06:22 GMT 2024

Total time taken to generate the page: 0.04114 seconds