customizing sidebar to add a search box/editting stylesheet [solved]

Nov 22, 2006 21:18

Hi, I am very, very new to Expressive. And I have two questions..

1. Where can I find the stylesheet, to customize and make my own layout?

2. How can I add a search box (like the one in the S2 layout Smooth Sailing) to my journal's sidebar?

Thanks in advance. :)

css:base themes, s2:theme layer, misc:extra content, sidebar:custom, $acct level:paid or perm

Leave a comment

Comments 7

av8rmike November 23 2006, 17:57:28 UTC
The Guide to Expressive, linked to in the Sticky Post, explains all about the CSS structure.

The search box might be as simple as copying the code for the form into the "Custom Text" module, but I haven't tried it yet (maybe after dinner ;).

Reply


av8rmike November 24 2006, 21:52:49 UTC
For 2) you will need to override the function in the Expressive code that prints the custom text box. There are several other recents posts here that should explain how to do this. Don't forget to add the Custom Text box to the sidebar and title it.
function print_module_customtext(string title, string text, string titlelink_url) {
var Page p = get_page();
open_module("customtext", $title, $titlelink_url);
"""

""";
print safe $text;
close_module();
}

Reply

murderoftwo November 27 2006, 02:44:42 UTC
Thanks a lot for this. :)

Reply


av8rmike November 27 2006, 13:21:04 UTC
No problem. BTW, would you mind editing the post to add a descriptive title, and add "[Solved]" to it?

Reply

murderoftwo November 27 2006, 16:29:15 UTC
Done. :)

Did I do that the right way? :\

Reply

av8rmike November 27 2006, 18:22:32 UTC
That works, thanks. ;)

Reply

murderoftwo November 27 2006, 19:06:47 UTC
No problem. :)

Reply


Leave a comment

Up