?

Log in

No account? Create an account

Previous Entry | Next Entry

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. :)

Comments

( 7 comments — Leave a comment )
av8rmike
Nov. 23rd, 2006 05:57 pm (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 ;).
av8rmike
Nov. 24th, 2006 09:52 pm (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);
    """
    <form id='Search' action='$*SITEROOT/multisearch.bml' method='post' style='display: inline'>
      <label for='SearchTerm'>Search:
      <input id='SearchTerm' type='text' name='q' size='15' value='' />
      <br/>
      <label for='SearchType'>Category:
      <select id='SearchType' name='type'>
        <option value='nav_and_user' selected='selected'>Site & User
        <option value='faq'>FAQ</option>
        <option value='nav'>Site</option>
        <option value='region'>Region</option>
        <option value='int'>Interest</option>
        <option value='user'>Username</option>
        <option value='email'>Email</option>
        <option value='ljtalk'>Gizmo/LJ Talk</option>
        <option value='aolim'>AIM</option>
        <option value='icq'>ICQ Number</option>
        <option value='yahoo'>Yahoo! ID</option>
        <option value='msn'>MSN</option>
        <option value='jabber'>Jabber</option>
      </select>
      <br/>
      <input type='submit' value='Search' />
    </form>
    """;
    print safe $text;
    close_module();
}
murderoftwo
Nov. 27th, 2006 02:44 am (UTC)
Thanks a lot for this. :)
av8rmike
Nov. 27th, 2006 01:21 pm (UTC)
No problem. BTW, would you mind editing the post to add a descriptive title, and add "[Solved]" to it?
murderoftwo
Nov. 27th, 2006 04:29 pm (UTC)
Done. :)

Did I do that the right way? :\
av8rmike
Nov. 27th, 2006 06:22 pm (UTC)
That works, thanks. ;)
murderoftwo
Nov. 27th, 2006 07:06 pm (UTC)
No problem. :)
( 7 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars