voressima wrote in opal_help

Header images for sidebar boxes and entry link separator

I am currently in the process of making a new layout for a friend, and just like every other time I made something new in opal, I came across some issues.

(I really need to learn to stick to just changing colors and slapping a new header on a layout that already works!)

Problem 1: in the sidebar, all boxes have a little header image instead of the plain, standard bolded text title. However, I can't get this for the link list and the page summary. The only piece of code I have on those is $this->lay_print_summary(); and $this->print_linklist();, so, eh, not a lot to work with. Does someone know of any extended code for those, one where I can define a header image etc?


I want to somehow be able to get the "Links" to look like the other titles in the sidebar.



(I never use the page summary and go into the raw source code to add links instead of somehow retreiving the data from the default link list, so it's never been an issue before...)


Problem 2: Details, details... But I'd really like to be able to have my entry links separated by a simple character, "|" or ":", haven't decided yet. Something like this:

comment | edit entry | edit tags

There seems to be a piece of code for that under Entry::print_linkbar(), but when I put a "|" in the spot where I think it should go, it doesn't show up. I probably put it in the wrong place or something :/ (It's also not a color-issue, such as black on black and therefore not being visible. I checked by making my the background color of my entries something bright and nasty)

My code (work in progress):



Thanks in advance!