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
(
Read more... )
Comments 3
If all you see in a Theme layer is something like $this->, it's calling code from somewhere else. In this case, it's drawing code from the Source Layer. You are usually safe in grabbing the source code to edit. That is what's included in the edited code below.
You'll probably have to mess with the CSS or code to make the Summary look ok (it currently cuts text off). You'll also have to change the images for the Summary and Link List.
Add this:
function Page::lay_print_summary ( ... )
Reply
The issue was that there were 2 bits of code trying to control the linkbar (one in Entry::print_linkbar() and the other in Page::print_entry(). Since Entry::print_linkbar() is what you want (and it's much user friendly to customize), I got rid of the other one.
I also added CommentInfo::print_readlink and CommentInfo::print_postlink because Entry::print_linkbar() does not control the # comments/comment part. I added the "|" in those sections to make the entry links all look uniform.
Add this:
function CommentInfo::print_postlink ( ... )
Reply
Everyone using Opal owes you so much cookies, you'd better invest in a elastic waistband pair o'pants right now! ;)
Reply
Leave a comment