Log in

No account? Create an account

Previous Entry | Next Entry

New Expressive Themes and Crediting Designers

  • Feb. 13th, 2007 at 10:53 PM
As part of the most recent code update, there are now 70 or so new themes for Expressive! This update should complete the porting of all themes from Vox to here, as well as a few themes only available on LiveJournal. Theme previews are available from the link in the "Profile" module atop the sidebar on the left.

The design team has also changed the way the "Designed By" module in the sidebar works to accommodate all the new designers. The designer and type (LiveJournal or off-site user) is now set with properties in the theme layer. This change means that designers who create their own theme layers can also credit themselves, if desired.

Add the following lines to your theme layer:
set theme_designer = "exampleusername";
set theme_designer_type = "ljuser";

Simply replace the example with the desired LJ user name. If you don't change this property in your theme layer, the designer module will use the layout default, chasethestars.

To disable the module completely (instead of using CSS):
set theme_designer_type = "";
Setting theme_designer to null won't hide the module, it'll just print a ljuser icon with no name.

Alternatively, use CSS to hide the module:
.designed-widget {
    display: none;
in the custom_css property.
EDIT: Forgot to mention that Paid and Plus users can use the CSS to hide the module, but Plus users have to put it in the Customize Journal->Custom CSS box. Paid users can put the CSS either there or in the theme layer.


( 3 comments — Leave a comment )
Feb. 16th, 2007 01:10 am (UTC)
Since the default is Bloom Blue, custom layouts will credit me by default if the "use default stylesheet" option is on. We're trying to figure out a way around that. (because you know, it's weird being credited for things I didn't do just because a theme I created happens to be the default theme)
Feb. 16th, 2007 04:30 am (UTC)
You're complaining?! ;)
Feb. 24th, 2007 10:02 am (UTC)
the following edits might do it.

this first chunk is for the layout layer:

    property string base_theme {
        des = "Base Theme";
        noui = 1;
    set base_theme = "bloom-blue";
    property string base_theme_name {
        des = "Base Theme Name";
        noui = 1;
    set base_theme_name = "Bloom Blue";


function designer(string type, string designer, string theme) : string {
    var string return   = "";
    var string designed = (($*base_theme_name != "") ? "D" : " d") + "esigned";

    if ($type == "ljuser") {
        var UserLite u = UserLite($designer);
        $return = """<div class="asset-name-hover">$*base_theme_name$designed by """ + $u->ljuser() + "</div>";
    } elseif ($type == "outside") {
        if ($designer == "piximix") {
            $return = """<a href="http://www.piximix.com/"><img src="$*IMGDIR/${theme}_by_piximix.gif" width="160" height="30" border="0" /></a>""";
        } elseif ($designers{$designer}) {
            $return = """<div class="asset-name-hover">$*base_theme_name$designed by <a href="$designers{$designer}">$designer</a></div>""";

    if ($*custom_css != "") {
        var Page p = get_page();
        $return = $return + """<div class="asset-name-hover">Customized by """ + $p.journal->ljuser() + "</div>";

    return $return;

this next part is an alteration of the base theme's theme layer to reflect the new property:
layerinfo "type" = "theme";
layerinfo "name" = "Bloom Blue";
layerinfo "redist_uniq" = "voxhtml/bloom-blue";
set base_theme = "bloom-blue";
set base_theme_name = "Bloom Blue";
set theme_bgcolor = "#deebfe";
set theme_fgcolor = "#333333";
set theme_bordercolor = "#deebfe";
set theme_linkcolor = "#4b6d9f";
set theme_designer = "chasethestars";
set theme_designer_type = "ljuser";
( 3 comments — Leave a comment )

Latest Month

March 2016

S2 Help Communities


Powered by LiveJournal.com
Designed by chasethestars