Search found 197 matches

by sonichouse
Wed Dec 10, 2008 9:40 pm
Forum: Themes
Topic: CSS body style from template option ?
Replies: 4
Views: 3690

CSS body style from template option ?

I have the following in my style.css background: url({TEMPLATE_PATH}img/ {$template_option.backgroundimg} ) no-repeat 0 0 #fff; The {$template_option.backgroundimg} is correctly expanded to aerodrome.jpg when I print it within index.tpl, but the option does not get expanded in the CSS. How do I achi...
by sonichouse
Wed Dec 10, 2008 9:14 pm
Forum: Themes
Topic: change (add) background image
Replies: 8
Views: 6478

nicecarvings wrote:I'm probably not using the right code...or not making the changes in the correct area.
In my style.css in the template directory I have

Code: Select all

body {
        background: url({TEMPLATE_PATH}img/aerodrome.jpg) no-repeat 0 0 #fff;
}
HTH
by sonichouse
Wed Dec 10, 2008 4:35 pm
Forum: Themes
Topic: Ported: Aerodrome 1.0
Replies: 18
Views: 10850

Holy cow, that's a fantastic theme! I had to work hard to see it, because my computer can't access anything but port 80; I had to set up a proxy server. But it was worth it! Great job! Thanks nearly there, I have a few minor tweaks to make, and then I may consider it complete. BTW the site should b...
by sonichouse
Wed Dec 10, 2008 10:55 am
Forum: Themes
Topic: Ported: Aerodrome 1.0
Replies: 18
Views: 10850

Steve, there's something goofy with FF3 as I type in this text box. The text itself is almost so light as to be invisible (except that every once in awhile, a letter will show up, then become very light on the next keystroke. Minimizing and maximizing the browser "fixes" it, but only unti...
by sonichouse
Tue Dec 09, 2008 7:05 pm
Forum: General discussions
Topic: SQL to fix old [IMG] tag ?
Replies: 16
Views: 7613

judebert wrote:I believe we could, but the regexps in that plugin are quite dense. Rather than trying to modify them myself, I'd rather just substitute them with canonical code from an approved source.
Roughly translated - "We can perform miracles, but the impossible just takes longer" :D
by sonichouse
Tue Dec 09, 2008 3:55 pm
Forum: Themes
Topic: Ported: Aerodrome 1.0
Replies: 18
Views: 10850

Much better Steve..... Only remaining comment is the pipe character before your categories... Looks like you are always showing the categories for an entry on a line before the author and date.... the pipe character, often uses as a separator, does not really make a lot of sense in that context IMH...
by sonichouse
Tue Dec 09, 2008 3:08 pm
Forum: General discussions
Topic: SQL to fix old [IMG] tag ?
Replies: 16
Views: 7613

Excuse me for seeming dense here, but could we not extend the existing BB code plugin to cater for this ?
by sonichouse
Tue Dec 09, 2008 1:22 pm
Forum: Plugins
Topic: Archives - SQLITE SQL error
Replies: 4
Views: 2907

Patching the query to use a subselect is extremely hard and would require rewriting a lot of function codes, and probably have a lot of side-effects :( No worries, I had a brief look and rapidly came to the same conclusion. Better to take the low risk approach every time :). The SQLite issue would ...
by sonichouse
Tue Dec 09, 2008 1:15 pm
Forum: Themes
Topic: Ported: Aerodrome 1.0
Replies: 18
Views: 10850

Re: Ported: Aerodrome 1.0

There is a margin between the headmenu ul and the actual header, which is noticable to the human eye even in FF. The entry footer needs work, too, but that depends a little on how close you're trying to get to the original. Thanks YL for your support. The entry footer has a makeover - it was way to...
by sonichouse
Tue Dec 09, 2008 1:12 pm
Forum: Themes
Topic: Ported: Aerodrome 1.0
Replies: 18
Views: 10850

Congrats Steve!!! Keep up the fantastic work! Thanks Don, might be my first and last one too !!! Add this to .storywrap: {display:inline}. Done. You also need to trigger haslayout on the <p> containing the page footer (page 1 of x totalling y entries).... my first suggestion would be position: rela...
by sonichouse
Tue Dec 09, 2008 10:46 am
Forum: Themes
Topic: Little left bar displacement in Translucency in Firefox 3
Replies: 7
Views: 5546

The problem is also exhibited in IE7, but looks OK in Flock 1.2.7.
by sonichouse
Tue Dec 09, 2008 12:17 am
Forum: Themes
Topic: Ported: Aerodrome 1.0
Replies: 18
Views: 10850

Ported: Aerodrome 1.0

I have taken on my first full port, and am currently testing it. I would welcome some critical eyes to look over my efforts so far. The test link is here . I will bundle up a release package once I have ironed out the remaining wrinkles. A link to the original author is in the credits of the footer ...
by sonichouse
Mon Dec 08, 2008 10:47 pm
Forum: Plugins
Topic: Archives - SQLITE SQL error
Replies: 4
Views: 2907

sonichouse wrote:Not sure how I can resolve this one easily :-P
Well, the obvious answer is to remove the DISTINCT from the param.

This gives me the correct results, but I assume this was added in v1.4 for a good reason :?:
by sonichouse
Mon Dec 08, 2008 9:25 pm
Forum: Plugins
Topic: Archives - SQLITE SQL error
Replies: 4
Views: 2907

The solution is to move the count() to above and have the distinct as a sub-select select count(orderkey) AS orderkey from ( SELECT distinct e.id AS orderkey FROM serendipity_entries AS e LEFT JOIN serendipity_entrycat ec ON e.id = ec.entryid LEFT JOIN serendipity_category c ON ec.categoryid = c.cat...
by sonichouse
Mon Dec 08, 2008 1:11 pm
Forum: Plugins
Topic: Archives - SQLITE SQL error
Replies: 4
Views: 2907

Archives - SQLITE SQL error

If I enable the option "Show number of entries per category?" with 1.4b1 I get the following error with SQLite Warning: sqlite_query() [function.sqlite-query]: near "DISTINCT": syntax error in /opt/share/www/cherokee/devblog/serendipity/include/db/sqlite.inc.php on line 233 bool(...