The forward/more/scroll arrows (I can't think of another title for them!) in various windows such as the 'latest visitors' or 'site avatars' box were removed early on in our site's life for some reason and now I can't find out what was modified to re-able them. Does anyone have any ideas? Thanks! |
Next/more I suppose is a better description of those buttons - usually found in blocks such as 'my friends'... where there is more than one page. Ours are no longer there, any ideas what code I need to add to a core file to get them back? Thanks! |
|
Do you want back your default pagination ? PS: If possible do not write me personally, please try to ask on the forum first |
If it means having the navigation arrows/buttons back, it would make many areas of our site make sense again - yes please! |
If it means having the navigation arrows/buttons back, it would make many areas of our site make sense again - yes please!
:) Maybe will be easy make fresh install?
PS: If possible do not write me personally, please try to ask on the forum first |
This site has just been recently upgraded to 7.0.4. It has around 100 custom core file changes along with customised database tables and modules - changes that were meticulously compared with the new core files to ensure the same behaviour. However, one of these changes... somewhere... was the removal of the pagination arrows/buttons and we've as yet been unable to identify which one. The site is active with high visibilty around the world and a new install would not be viable. Any advice on restoring the pagination arrows would be very well received. |
There could be a number of ways that was done. First verify the images are there or if they have been replaced with transparent png's.
templates/base/images/icons/sys_pgt_first.png templates/base/images/icons/sys_pgt_prev.png templates/base/images/icons/sys_pgt_next.png templates/base/images/icons/sys_pgt_last.png
Also check common.css and see if they were hidden in this selector. If there is a display:none in that section remove it.
div.paginate_btn {
background-position: center 0;
background-repeat: no-repeat;
float: left;
height: 16px;
margin-top: 7px;
width: 20px;
}
These are 2 of the easy ways to mess with those buttons.
I am sure there are other ways such as code, but i would need more time to research.
https://www.deanbassett.com |
Thanks Deano. The images remain where they should be and common.css shows:
div.paginate_btn { width: 20px; height: 16px; margin-top: 7px; float:left; background-position: center 0px; background-repeat: no-repeat; } |
Then it had to have been done in code. inc/classes/BxDolPaginate.php
That file is not included in the upgrade so would not have been replaced. I would suggest you obtain a copy from the full 7.0.4 package and replace yours. https://www.deanbassett.com |
Good suggestion. Now complete... but still nothing (after replacing the file and deleting the cache).
I've since compared both versions of the file and there are no differences. |
I had a thought - it's possible this started when we used to have the members block on our front page and at that point didn't want potential members knowing the member count. The member count and I presume the page numbers of members (along with the pagination buttons) were removed. It was realised quite some time after that these were not present in other areas of the site (friend lists, search results, avatar lists, forums... etc etc). The starting point for this search has led me to: http://www.boonex.com/unity/forums/?action=goto&search=1#topic/make-featured-members-random.htm
Any further contributions you may have will be very happily received! |
It's in the CSS style for Paginate. Go to home/templates/base/css/common.css -> line near 567 and remove display: none; for div.paginate CSS class. It was in a slightly different section to Deano's suggestion - thanks for the starting point though! All sorted now after a lot of hours of confusion! |
I just found out that in the Friends and Mutual Friends Sections in my members' profiles, the page next buttons do not work.. D: the arrows are there, but the page numbers are not, and clicking the arrows does nothing. The circle for loading comes up, but then disappears with the same results. |