Adding a sidebar to the Generator layout

May 19, 2008 19:15

I have googled and searched LJ high and low -- I could SWEAR I saw something somewhere once about adding a sidebar to the generator layout! Is this completely not possible? If it IS possible, could you please point me to the tutorial or let me know what the code is that I need to add to my theme layer?

Thank you! :D

code overrides, layout:generator, layout editing, custom layout, customization, question

Leave a comment

Comments 2

livredor May 20 2008, 07:06:09 UTC
With a paid account, you can do it. But there's no shortcut, you have to just code the HTML for the sidebar. How much knowledge do you have of writing S2 layers from scratch? You'd have to rewrite function Page::print ()Generator is very awkward to work with because it's all tables; probably the simplest way to do a sidebar is to include a separate table in the page layout, but to make sure the alignment is perfect you might want to make your sidebar a new column in the table that positions the journal itself. It's a bit of a nightmare with all the conditional cells in the code that are meant for displaying adverts in plus accounts. I haven't worked much with Generator since the plus accounts and the newer, more flexible div based styles came in ( ... )

Reply

chasyaldora May 21 2008, 00:06:15 UTC
i am completely clueless when it comes to writing S2. one of these days, i will sit down and go through the documentation on LJ about their S2. i suppose for now, i will just live without a sidebar. it sounds way too complicated for me. i'm fairly intimidated by tables. :p

i have another question that i wonder if you can answer: is it possible to have two background images (i.e. a wallpaper and a fixed image on top)?

thanks for your help. it's times like these i wish i was a techie. :p

Reply


Leave a comment

Up