FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
How to move/replicate elements to another spot on the page
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=166585&th=120310#msg_166585
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.
]]>ShineOn2012-01-26T02:52:44-00:00Re: How to move/replicate elements to another spot on the page
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=166588&th=120310#msg_166588
Tip: Search for "page_pager" in msg.tmpl.]]>naudefj2012-01-26T23:49:30-00:00Re: How to move/replicate elements to another spot on the page
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=166615&th=120310#msg_166615
I don't suppose the documentation on the wiki extends to a cross-reference of display elements, and/or a cross-reference of templates used within a page or group of like pages...]]>ShineOn2012-01-28T13:40:52-00:00Re: How to move/replicate elements to another spot on the page
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=166616&th=120310#msg_166616
naudefj2012-01-28T16:30:09-00:00Re: How to move/replicate elements to another spot on the page
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=166626&th=120310#msg_166626
I am trying to figure out where the code is that says where the pager gets positioned. If I knew that, I figured maybe I could determine how to add it in another position on the page (not move it, but have it display top and bottom...) but I guess I don't know what I'm looking for looks like to get that starting point.]]>ShineOn2012-01-31T02:11:12-00:00Re: How to move/replicate elements to another spot on the page
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=166627&th=120310#msg_166627
{TEMPLATE-DATA: page_pager} to where you want it, or replicate it to display as many times as you like.
The page_pager variable is created from draw_pager.tmpl in the corresponding file in the forum's /src directory.
]]>naudefj2012-01-31T02:58:05-00:00Re: How to move/replicate elements to another spot on the page
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=166654&th=120310#msg_166654
Tried a couple different ways. Could it be because I am using the path_info template? The threads.tmpl in path_info looks like it modifies the default threads.tmpl, and I wonder if I am missing something.]]>ShineOn2012-02-06T00:19:56-00:00Re: How to move/replicate elements to another spot on the page
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=166657&th=120310#msg_166657
naudefj2012-02-06T04:12:27-00:00