Loading...
 
Skip to main content

Features / Usability


Tables format not working in 1.9.1

posts: 131 Singapore

Hi,

I was kind of suprised when I saw that pages I have created after my upgrade to 1.9.1 does not display the tables format properly. Worst it does not seems to recognize this code:

Copy to clipboard
||r1c1|r1c2 r2c1|r2c2||


But it works for this code below:

Copy to clipboard
||r1c1|r1c2||r2c1|r2c2||


Next come the confusion, at tw.o which is running 1.9.2, it is the opposite - displays correctly for the first code but not working for the second code. This is display here:

r1c1r1c2
r2c1r2c2

r1c1r1c2
r2c1|r2c2||



Anybody has any idea why this is happening??

--kwow

posts: 4664 Japan

> Hi,
>
> I was kind of suprised when I saw that pages I have created after my upgrade to 1.9.1 does not display the tables format properly.
....

Check to make sure your table syntax choice is still set correctly. On the Admin/Wiki page (tiki-admin.php?page=wiki), Tables syntax should indicate "\n for rows".

-- Gary

posts: 131 Singapore

Check to make sure your table syntax choice is still set correctly. On the Admin/Wiki page (tiki-admin.php?page=wiki), Tables syntax should indicate "\n for rows".


Yep, change to \n and now it works. But now the other format no longer works!! 😑

I remembered prior upgrading to 1.9.1, both the Tables syntax works by just setting either to || or \n. Now it seems I am restricted to using just one type of tables format. Why is this so?? 😕

--kwow

posts: 4664 Japan

>

>
Check to make sure your table syntax choice is still set correctly. On the Admin/Wiki page (tiki-admin.php?page=wiki), Tables syntax should indicate "\n for rows".

>
> Yep, change to \n and now it works. But now the other format no longer works!! 😑
>
> I remembered prior upgrading to 1.9.1, both the Tables syntax works by just setting either to || or \n. Now it seems I am restricted to using just one type of tables format. Why is this so?? 😕

You mean you used to be able to use either table syntax? I don't have a pre-1.9.0 Tiki to check with, but as I recall, I had to choose one syntax to use or the other, by changing it on the Admin/Wiki page, and only the chosen syntax would be displayed correctly on my wiki pages.

Anyway, that's water under the bridge. I think it's probably a good idea to stick with one syntax for a particular page feature like a table, both from the wiki-parsing point of view and to keep things simple for the user. As far as I know, there are two ways to make tables only because one was an earlier method and then another method was added but the first wasn't deleted, for legacy reasons, so existing pages wouldn't break. Is there any advantage to having two methods to choose from? Is the old method superior to the new one in any way? Just curious.

-- Gary