So the tags feature finally caused me to make the "leap" to S2. I had a heavily customized S1 Generator style that I have used for some time, but decided for S2 I like Digital Multiplex more
( Read more... )
I've been trying to do the same thing with my style, but gave up after trying a few things. I just put the "Previous/Next" links after the last entry, which was good enough for me.
Thanks for the pointer, and yeah to me this is just a major flaw of several of the styles especially if you are browing on a portable device (CrackBerry, etc.) since scrolling back to the top is non-trivial, on my laptop it is a minor inconvenience.
Looks like per mart there is no access to the layer itself just probably the core implementation.
I'm afraid that it is not possible to run the implementation from a parent layer. It is only possible to run the implementation from the parent class with $super, using $super->print().
The reason that this is impossible is that the new version simply overwrites the old at runtime. The version from the layout (assuming you've overridden it in a theme) does not exist anymore because the new version replaced it. It's just not in memory anymore.
Thanks, troworld actually pointed the way and then I made a theme layer with even less modifications to minimize the impact of future changes to the core style:
Comments 9
If that works for you, take a look at my modded DM layer here: http://www.livejournal.com/customize/advanced/layerbrowse.bml?id=4297800. Search for "previous" or something. :)
I just haven't had the time to play with it enough to do it properly.
Reply
Thanks for the pointer, and yeah to me this is just a major flaw of several of the styles especially if you are browing on a portable device (CrackBerry, etc.) since scrolling back to the top is non-trivial, on my laptop it is a minor inconvenience.
Looks like per mart there is no access to the layer itself just probably the core implementation.
Reply
Thanks for the explanation.
Reply
Reply
I'm afraid that it is not possible to run the implementation from a parent layer. It is only possible to run the implementation from the parent class with $super, using $super->print().
The reason that this is impossible is that the new version simply overwrites the old at runtime. The version from the layout (assuming you've overridden it in a theme) does not exist anymore because the new version replaced it. It's just not in memory anymore.
Reply
Reply
This is a link to the DM source code, with it (and the code for the core layer) you can see what functions are available to customize your layout.
http://www.livejournal.com/customize/advanced/layersource.bml?id=420357&fmt=html
You can modify the text in the bottom/footer box by adding/customizing:
function Page::print() {}
in your theme layer - good luck!
Reply
http://www.livejournal.com/customize/advanced/layerbrowse.bml?id=4605440
Reply
Leave a comment