Search found 177 matches

by LazyBadger
Wed Jun 01, 2011 8:42 am
Forum: Themes
Topic: TagCloud block view
Replies: 6
Views: 6506

Re: TagCloud block view

Yes, I tried to play with spans <span class="serendipity_freeTag_xmlTagEntry"> <a ...> <img ... class ...> </a>&nbsp; <span class ... style ...> <a ...> Tag here </a> </span> </span> chain (with space and nbsp in multiwords tags, reverse hierarchy of internal span and a - span -> a vs ...
by LazyBadger
Wed Jun 01, 2011 8:25 am
Forum: Themes
Topic: TagCloud block view
Replies: 6
Views: 6506

TagCloud block view

Just to note - compare two views of the same source (XML and NoNL-mode selected). I'll be happy to see browser- in dependent code, which will show tags always with buttons in Opera-style, without widow xml.gif and the end of line. BTW, I suppose nbsp in multiword's tags isn't best choice for long ta...
by LazyBadger
Mon May 30, 2011 5:18 am
Forum: Bugs
Topic: SYNDICATE_THIS_BLOG block small glitches
Replies: 0
Views: 4717

SYNDICATE_THIS_BLOG block small glitches

Not a bugs, rather small annoyances 1. Default Feedburner button's image-file fbapix.gif totally missing in distro 2. SYNDICATION_PLUGIN_FEEDBURNERIMG input doesn't accept empty value (even if it's allowed according to description) and reset value to default "fbapix.gif" on save?thus - bur...
by LazyBadger
Tue May 17, 2011 6:13 pm
Forum: Themes
Topic: Different designs for sidebar blocks
Replies: 1
Views: 3038

Different designs for sidebar blocks

Are there any way to detect in which sidebar block must be output'ed (inside theme)? For strange reason I want to get differently decorated blocks in left and right sidebar, but - see only one sidebar.tpl
by LazyBadger
Tue May 17, 2011 6:09 pm
Forum: General discussions
Topic: More than 2 sidebar
Replies: 1
Views: 1950

More than 2 sidebar

Can I get more sidebars in theme, even without d&d blocks placements (I'll agree to edit smth. by hand to add block in additional sidebar)?
by LazyBadger
Sun May 15, 2011 12:31 pm
Forum: General discussions
Topic: i18n issues with notifications texts (in E-mail)
Replies: 1
Views: 1872

i18n issues with notifications texts (in E-mail)

I had to say that text in e-mail notifications is bad (from internationalization POV), and it's strange for me, because my very poor German tells me "In Deutsch Literatur at least 'User Name' from English also will not be 2-word combination, but just "Benutzernamen" and trouble must b...
by LazyBadger
Thu May 12, 2011 1:04 pm
Forum: General discussions
Topic: Correct alphabet sorting. A piece of spaghetti code
Replies: 11
Views: 6462

Re: Correct alphabet sorting. A piece of spaghetti code

Updated freetag and installed event_sort by hand. All correct (in sorting) in backend * new entry - tags div * manage tags - all tags and in frontend tag cloud * sort order - tag name New sorting not used in "related tags" output (must these tags be sorted?) Will be happy to see category-l...
by LazyBadger
Thu May 12, 2011 12:02 pm
Forum: General discussions
Topic: Correct alphabet sorting. A piece of spaghetti code
Replies: 11
Views: 6462

Re: Correct alphabet sorting. A piece of spaghetti code

Ive just committed the new "sort" event hook to the freetag plugin, and committed serendipity_event_sort which contains your code. Still can't see these commits in SPARTACUS, tried to read online event_sort. This snippet confuses me somewhat. function utf8cmp($a, $b) { static $order = nul...
by LazyBadger
Sat May 07, 2011 4:48 am
Forum: General discussions
Topic: Correct alphabet sorting. A piece of spaghetti code
Replies: 11
Views: 6462

Re: Correct alphabet sorting. A piece of spaghetti code

Hm, I think before committing this it would be an idea to create its own s9y plugin for that, so that we can sort using that algorithm on other instances as well. A new event hook "sort" could be created It's far away from the area of my competence and even uncompetence, in such situation...
by LazyBadger
Thu May 05, 2011 11:12 pm
Forum: General discussions
Topic: Correct alphabet sorting. A piece of spaghetti code
Replies: 11
Views: 6462

Re: Correct alphabet sorting. A piece of spaghetti code

Full file from above - no, patch here - yes, it has.
I didn't remove also preprint() around uksort() (which have to be done in release version) and init $order inside class without GLOBALS by hardcoded russian alphabet
by LazyBadger
Thu May 05, 2011 2:06 pm
Forum: General discussions
Topic: Can i install s9y without having programming knowledge
Replies: 2
Views: 2130

Re: Can i install s9y without having programming knowledge

monalisa123 wrote:I would like to know whether I can install s9y blog system in my website even though having less programming knowledge.
Yes, you have to have only one
- Ability to read written text, understand and follow instructions
by LazyBadger
Thu May 05, 2011 2:02 pm
Forum: General discussions
Topic: Why users leave Serendipity for fat WP?
Replies: 1
Views: 1942

Why users leave Serendipity for fat WP?

Let's flame begin. I just can't imagine any reasonable and understandable reason
by LazyBadger
Thu May 05, 2011 1:49 pm
Forum: General discussions
Topic: Correct alphabet sorting. A piece of spaghetti code
Replies: 11
Views: 6462

Re: Correct alphabet sorting. A piece of spaghetti code

Natsort(), even in form natcasesort() is JUST SUXX. It know nothing about alphabet order beside numbers and US-ASCII.
BTW, I fixed my code (one string moved one string lower), we can just integrate it now, if you want and can review it
by LazyBadger
Thu May 05, 2011 2:46 am
Forum: General discussions
Topic: Correct alphabet sorting. A piece of spaghetti code
Replies: 11
Views: 6462

Re: Correct alphabet sorting. A piece of spaghetti code

And here my troubles began In attachment I added two files - standalone test of utf_8_alphabet::cmp, there initial array was filled with data from test-blog - dirty hack of serendipity_event_freetag.php from test-blog,there I added class and debug print into code In both cases source array is (sorry...
by LazyBadger
Thu May 05, 2011 12:49 am
Forum: General discussions
Topic: Correct alphabet sorting. A piece of spaghetti code
Replies: 11
Views: 6462

Correct alphabet sorting. A piece of spaghetti code

Gute Nacht, liebe Genossen! Ich bitte um etwas Hilfe von niemandem in dieser Idee interessiert. Mission of code Provide a way of sorting strings in natural alphabet order for any non-English alphabets. Because I was crying bitterly on the results of the standard PHP sort - they are alogical (from us...