Search found 6953 matches
- Tue Nov 07, 2006 10:31 am
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
Me again :) So that UTF-8 thing worked out, but I'm stuck with the Smarty code. Here's my current config.inc.php: <?php // Be nice to the frontend users. They don't need the additional constants // and file lookups. Only load them when in Admin mode. if ($serendipity['GET']['adminModule'] == 'templa...
- Tue Nov 07, 2006 1:18 am
- Forum: Generelles in Deutsch
- Topic: Neue Skins
- Replies: 3
- Views: 3114
Re: Neue Skins
kann mir jemand einige Adressen nennen auf der man kostenlose, neue Skins für Serendipity bekommen kann? Skins heißen bei Serendipity üblicherweise Themes oder Templates. Die wichtigsten, besten, gelungensten oder wie auch immer man es sonst nennen mag :wink: findet man natürlich nebenan auf Sparta...
- Thu Nov 02, 2006 5:27 pm
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
Maybe those themes are missing a UTF-8 subdirectory with a lang_de.inc.php file? Erm ... well, yeah. So I need a UTF-8 subdir in the template folder and a copy of each language file encoded in UTF-8 in there? I've never seen that in any template, although it surely makes sense. :) Tell us if you fi...
- Thu Nov 02, 2006 5:21 pm
- Forum: General discussions
- Topic: browsers, os, resolution etc
- Replies: 17
- Views: 7585
@yellowled, we probably all want to ignore netscape, but if youy look at my stat's, its over 7%. I thought Netscape was dead and buried, but it turns out they own a large ISP in the US and ship their browser on a disk for their ISP subscribers, and they have quite a large corporate base. I always t...
- Thu Nov 02, 2006 5:19 pm
- Forum: General discussions
- Topic: Happy Birthday Garvin!
- Replies: 13
- Views: 7548
- Thu Nov 02, 2006 5:05 pm
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
Second, about the language inclusion: The PHP code tells that language constants are only loaded when the user is in the admin panel. But that doesn't happen. I am in a German admin panel and yet I get English language constants. By the way this happens with other templates using the same method, t...
- Wed Nov 01, 2006 4:47 pm
- Forum: General discussions
- Topic: browsers, os, resolution etc
- Replies: 17
- Views: 7585
After fighting a whole afternoon with awstats (great tool, but I wanted to use it offline with downloaded apache logs - that's not too easy ...), I can now present some more detailed browser/os stats. However, awstats doesn't seem to produce stats on resolution. (By the way, here's another factor wh...
- Wed Nov 01, 2006 11:08 am
- Forum: General discussions
- Topic: browsers, os, resolution etc
- Replies: 17
- Views: 7585
BTW, I really don't like webalizer, it never seemed to produce accurate results for me, but awstats did, and was almost the same as adsense page impressions and the adfreestats that I use (thanks Dave for introducing me to adfreestats) I agree. Almost always ever since I started using the aforement...
- Wed Nov 01, 2006 11:03 am
- Forum: General discussions
- Topic: browsers, os, resolution etc
- Replies: 17
- Views: 7585
almost forget about making templates support 800x600, and this is why I'd love to hear from some of the Serendipity users. So you're gettin' lazy, huh? :wink: As for the resolutions: Hold on, I remember having one(!) visitor with 800x600 the other day ... but, yes, looking at my stats from blogcoun...
- Tue Oct 31, 2006 4:26 pm
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
- Tue Oct 31, 2006 4:06 pm
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
Re: theme configurator: number of navbar links
Did you make sure to delete the serendipity_options table before you replaced the code? Otherwise, not a default will be shown, but the last stored value... No, but I also don't remember you mentioning this earlier :) Yeah, now it works! Hm. But how will this possibly work in other environments, es...
- Tue Oct 31, 2006 3:26 pm
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
Re: theme configurator: number of navbar links
Are you aware that I did not post constant(NAV_DEFAULT_ . $i) but instead constant('NAV_DEFAULT_' . $i) ? No, I wasn't :oops: Sorry about that. However, the second code doesn't work either :( Also, I just saw that my local s9y installation (this is 1.1-beta5 with PHP 5.1.6 and MySQL 4.1.11 on an Ap...
- Tue Oct 31, 2006 2:13 pm
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
Re: theme configurator: number of navbar links
If you have NAV_DEFAULT_0 in your database, that means that you have not defined a constant "NAV_DEFAULT_0"...?! True, I guess. But I also have NAV_DEFAULT_1 and so on in the database - and those are definitely defined in the lang_*.inc.php files, i.e. lang_en.inc.php: <?php [ ... some ot...
- Tue Oct 31, 2006 11:15 am
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
Re: theme configurator: number of navbar links
Are you sure that the default is displayed? Once you saved the theme configuration, the value that is shown in the input field is saved in the database! Have a look at the serendipity_options Database table... Gnagnagna. The false URL default was my fault, had the wrong $template_option variable in...
- Tue Oct 31, 2006 10:29 am
- Forum: Themes
- Topic: theme configurator: number of navbar links
- Replies: 28
- Views: 16821
Re: theme configurator: number of navbar links
A great name for a first-born! ;) Yeah, but if this becomes common sense, we'll have a planet of Garvins within a few years ... :wink: you need to use: 'default' => constant('NAV_DEFAULT_' . $i), I hate to be the bearer of bad news, but this doesn't work. Also, although I have set the navlink URL d...