![]() |
|
zenpage improvement - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: zenpage improvement (/thread-7674.html) |
zenpage improvement - vincent3569 - 2010-09-28 hello in the printNewsPageListWithNav function, the current item is not easily identifiable for the css so, after each installation of a new version of zenphot, I do a hack in zenpage-template-functions.php to add a on the current item so could you implemente this feature in a next realase ? line 1507-1508 of zenpage-template-functions.php echo "".$i."\n"; ` with echo "".$i."\n"; ` zenpage improvement - sbillard - 2010-09-29 Why would you add a
zenpage improvement - vincent3569 - 2010-10-14 Hello in fact, I tried to have the same CSS rules between printPageListWithNav() and printNewsPageListWithNav(). with printPageListWithNav(), the current element is a navigable link, wheras with printNewsPageListWithNav(), the current element is not. after spending several hours to solve this CSS problem, add the span tag is the only way I found. if you have another solution, I know it well ;-) Otherwise, if you can change the core, it would be nice because it keeps me from making a hack with each new version, especially since I want to publish my theme. zenpage improvement - acrylian - 2010-10-15 You probably should improve your CSS knowledge... You can address the current element of the Zenpage pagelist with Generally it does not make sense to link to the page itself you are currently on. zenpage improvement - vincent3569 - 2010-10-15 Quote:You probably should improve your CSS knowledge... Quote:Generally it does not make sense to link to the page itself you are currently on. Finally, it should perhaps not modify printNewsPageListWithNav() but you need to simplify printPageListWithNav() what do you think about ? zenpage improvement - acrylian - 2010-10-15 Well, yes, the Zenphoto pagelist function is quite a little older than the Zenpage equivalent. We will think about that. Anyway, it should be easily solved now you know hte css...;-) Btw, regarding the "loosing time" on these stuff. That is normal and does not dissapear even when you know what you are doing. Especially the different browser behaviour fun... zenpage improvement - vincent3569 - 2010-10-19 after looking at the CSS rules to write, after asking for help on forums specializing in css, I gave up: I created two specific rules for two different pagination. but be sure that the simple addition of the tag on the current element of printNewsPageListWithNav() would provide a more compact code css with one rule for both pagination. zenpage improvement - acrylian - 2010-10-20 You do know tht you can declare css class option for more than one at the time by doing something like As said we will think about that but currently have a few more important things to do. |