Loading...
 
Skip to main content

split-plugin doesn´t work correctly

Status
Closed
Subject
split-plugin doesn´t work correctly
Version
6.x
7.x
8.x
Category
  • Error
  • Usability
Feature
Wiki Plugin (extends basic syntax)
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
Out of Date
Submitted by
Leu
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Using the split-plugin in cooperation with the sort-plugin would run in some trouble.

In tiki5 the combination of this:

Copy to clipboard
{SPLIT()} -=A=- {SORT(sort->asc)} ((AC)) ((AG)) ((AA)) {SORT} --- -=B=- {SORT(sort->asc)} ((BB)) ((BA)) {SORT} --- -=C=- {SORT(sort->asc)} ((CX)) ((CD)) {SORT} {SPLIT}



will work fine. You will get three columns and every entry is sorted and seperated fine.

After tiki5 this code-creation doesn´t work any more, the entry´s wouldn´t seperate by CR , only by SPACE. Anything is in one row.


This appears to be a basic parser problem in the way nested plugins are parsed. Same issue affects the FANCYTABLE plugin - see http://dev.tiki.org/item4216Question

Solution
Workaround

LPH and myself figured out @Wikifest Berlin this (ugly) workaround:

Copy to clipboard
{DIV(class="clearfix")} {DIV(float="right",width="24%")} {SORT...} {DIV} {DIV(float="right",width="24%")} {SORT...} {DIV} {DIV}

But you can´t "sell" them anyone 🙁

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3872
Created
Sunday 08 May, 2011 08:00:01 UTC
by Leu
LastModif
Tuesday 30 June, 2026 16:55:48 UTC


Show PHP error messages