Jump to:
| Project: | Pagination (Node) |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Hello everyone. I'm using this brilliant module to paginate some sections of my site with pager and Toc Box. It works wonderfully and really helps simplifying the ergonomics of the whole site, except for one thing: the Toc box Title. The fact is I'd like to change it as I want, cause neither the sentence "Table of Contents" nor the default page title are helpful in showing a visitor what section of the site he's viewing. But if I remove the lines for $title in toc.tpl.php, first row in toc boxes becomes the page title, which is something I can't change cause this title is linked to the menu and I need to keep it like it is. Using the Toc Block doesn't help, because there's only one of that, and I have several Toc boxes that need different titles.
So, finally the question: is there a way to set a custom title for each Toc Box?? Does the dev version alredy implements this feature?
Can someone at least give me a hint??
Comments
#1
Hi there,
Currently there isn't a way to modify the title (beyond updated the template file). You mentioned you want to show other sections, what sort of information would you rather see there?
#2
Hello, and first of all thanks for your commitment. Maybe i didn't explain myself well, I'll try now: imagine you have a product you want to describe feature by feature. You have a dropdown menu where first item (and first page) is generic, for example the name of the product, with a generical product overview... then sub items of this menu (and consequentially sub pages) present each one a group of features: so for each feature I've a group of characteristics all in one page, and these are what I paginate.
Something like:
1 product: Black Car /
2 features: windows / wheels / etc { 3 characteristics of each feature: windows { automated - manual - big - little... .
I'd like the title for each Toc Box I use for "Balck Cars" Section (the windows one, the wheels one and so on..) to be "BLACK CARS": but, since first page of each section has the specific feature as title, first item in toc box results to be "Windows", or "Wheels"..... this is confusing, because I also have "RED Cars", "Blue Cars" to describe, and each of them has Windows and Wheels as page titles...
So, to put it simple ( not my forte, uh?), I'd like to have the possibility to set a specific title, or at least to put a string at the very beginning of the page to define the first row of Toc list as I want.. / to prevent the Toc to automatically take the page title as first item
I hope I managed to explain!!!! maybe it's just to complicated, I guess... but I hope in a resolution!!! Thanks again and praises for this project, very useful and intuitive!!!!
#3
Hello,
I think I'm understanding. I have an initial thought for how to do it, but since I'm a bit short on time, let me think about it a bit to make sure that's how I want to implement it, then I'll revisit it as soon as I'm able to.
#4
Thanks a lot mundanity! Really you're making an extra good job, this module's very useful!! thanks again
#5
Hmm,
I think I used to get what I wanted to do with this, but I can't seem to figure out where my head was back then. Can you provide images with examples of what you're wanting?