Loading...
 
Features / Usability

Features / Usability


HTML in page not rendering

posts: 18

I upgraded from 1.9 to version 9 ( I know it was a BIG change yet I am trying to work out the bugs)

Anyway my pages are all in HTML and they used to display correctly.

Now some of them display and some just show the html on the rendered page.

I use CKEditor that comes witht he upgrade and when I edit the page it renders properly. However, when I click preview, it comes up wierd - the tables all have borders and the links display (cached) etc

Also , If I ckick on the "source" button within CKEdit, it displays wiki syntax which is NOT what I want.

I tried clicking on the HTMLPlugin but it does not help.

How can I get tikiwiki to render my html pages correctly. (I have 2500 pages) Should I change your version of CKEditor?

Also when I click on source in ckeeditor I want to see my original source - not my source converted to wikisyntx

Thanks this is very frustrating

posts: 18

OK

While still waiting for a reply, this is a workaround.

If your wiki page displays HTML.

1. Copy the HTML that is being displayed

2. Click Edit (It should show your page rendered properly in ckedit. Do not save yet or it will screw up your html)

3. Click the "Source" button in ckedit. ( It will show your html CONVERTED to wikisyntax- ugh!)

4. Delete all that code in the source window and PASTE the HTML code from step 1 into the source window. (Do not click "source" again or will AGAIN convert it to wikisyntax)

5. Click "Preview" to make sure your html rendered properly (It should)

6. Click Save

7. To verify that the html was saved properly, click Edit again and "source" again. It should show your original html in the source - not wikisyntax

Note:
This is a huge pain since I have about 1000 pages that I have to repeat this process for.

So I am still waiting for a reply from the experts. There must be some setting that I missed or the upgrade screwed up.

It is also possible that the version of CKeditor that is shipped has some modification that converts code to wikisyntax. Maybe downloading ckeditor from sourceforge will correct this

Anyone?


posts: 18

Since I'm pretty sure NO-ONE will answer I am posting this disclaimer:

I have made about two or three posts of questions without ONE answer. (except the ones that I figured out myself). It seems that this wiki is made for a little "club" of users and not for the general public

So first of all, if you are thinking about using tikiwiki, THINK TWICE.

I upgraded to version 9.2 and these are my observations:

1. The documentation is all over the place
2. Documentation refers to OLD versions
3. This new version contains screens that shouldn't even exist and are carry overs from old versions
4. TPL's have been changed without letting anyone know, so if you upgrade prepare to have to DEBUG your code since you will have "undocumented changes" that screw up your site
5. If you have a problem, expect to spend HOURS digging on the web to even find a clue about how to fix your propblem
6. Forget about their screwy chat room. You will log in and wait hours without anyone even replying (again its primarily for their little club of developers)

Now to my problem

I want to use wysiwyg (none of this wiki-syntax crap since I probably will migrate at some time)

I do like CKEditor which is a great product

However, the version that ships with the TIKIWIKI 9.2 either is missing most of the icons or the idiots at tikiwiki disabled them

I have tried all sorts of wacky settings in the admin panels

I even tried playing with the toolbars

http://twbasics.tikiforsmarties.com/Customizing+Toolbars

which does absolutely NOTHING

(BTW what the heck is LOAD, SAVE autoload Global * and all those other BS settings that don't seem to do anything. And for the record "dragging" icons does absolutely NOTHING!
What the heck is WYSIWYG_6X ? )

All I want to know is:

1. How I can get the normal CKeditor with the normal toolbars to appear when I edit a page.

2. How can I paste from MS-WORD (using the "paste from Word" Icon) that is missing?

I know that I will probably have to download CKEditor from sourceforge and then dig into some stupid TIKIWIKI PHP in order to get it to work properly. With all you developers out there, It is truly AMAZING that no one can answer this simple question


posts: 103 Wales

Hi wikisicha, sorry you're not having such a good experience of Tiki at the moment.

Unfortunately, I'm not able to help you here. Except to say, that I started experimenting with WYSIWYG in Tiki 8 & 9 but found problems with it (its a relatively new feature for Tiki - some parts if it still labelled experimental). In the end, I decided it wasn't ready for me and stuck with Wiki syntax even though, like you, I'd rather have the option of WYSIWYG.

I'm just hoping someone / some people with coding skills will want to improve this feature one day enough to make it robust.

Like you, I've posted messages on this forum without replies - but equally sometimes with replies, and I've been grateful for that.

I'm not sure how much of a 'developers club' the Tiki community is. There's certainly a huge installation base. As with all OS software, it comes down to the number of people willing to get involved. I know I post more questions here than I answer - so I'm as guilty as everyone else who's not giving you the answers you need.

I do see a lot of replies on these forums from those who you might see as part of the 'developers club' and who I presume more naturally frequent the IRC chat room. I'm more inclined to be grateful for the time they do spend here though, of course, I wish I had 24/7 access to their expertise ;-)

I've also wished the Documentation was more up-to-date. And that would stop me having to post here. But I do recognise that documentation for Tiki must be a massive enterprise compared to other software with its all inclusive nature. And, again, its down to the whole community to update it. And, again, I'm as guilty as anyone for not doing so. So I've decided I have no right to complain until I do contribute something there!

Anyway, good luck with your issues.


posts: 18

Hi Arthur

Thanks for your post.

I have been a user of Tikiwiki since 2009. I used version 1.9 until I upgraded to 9.2 (stupid me) and I got the wysiwyg in 1.9 to work quite easily.

The problem with this whole product is that it is trying to be everything to everybody, when most people probably only require a few parts. Unfortunately, the parts that are heavily used, e.g. structures and TOC's are woefully inadequate in functionality.

Wysiwyg does work (sort of) in 9.2. It’s just that it comes up with missing icons and wants (sometimes??) to convert your html to wikisyntax. This is either because they have some stripped down version of CKEdit or because they have some wacky PHP code that interferes with your HTML. It's just that there are so many undocumented settings that it’s almost impossible to figure out what’s happening and to get it working correctly.

I actually got tiki to save my page in HTML code and HTML is displayed in CKeditor’s source button, but as posted before, I still have about 1000 pages that show that actual html on the rendered tiki page.

The funny thing is that when I press the Tiki edit button, the page displays correctly in CKEditor. But if I press the source button in CKEditor’s toolbar, it shows my HTML converted to wikisyntax.

I WILL get this to work with 9.2 but, barring any help from the tiki gurus (sic), I will probably spend countless hours getting this crap to work when I should be focusing on content.

Stay tuned since I will hopefully post the way to do it.


posts: 2428 Czech Republic

Hi,
try switch off "Content is parsed like wiki page" on Wysiwyg admin panel.
Then please ignore or hide via CSS the "development notice" while editing the page.

posts: 18

Hi luci

I tried that and it did not work (Although I think it may have changed the toolbars that ckeditor displays)

I did ignore the "development notice" and when I saved it, it put wikisyntax into the "source". Not only that, but the rendering got all screwed-up (as I mentioned in my first post)

BTW, what the heck is WYSIWYG_6x and what do all those other settings actually mean? The actual latest version of CKeditor from their site is 4.0. Could you please explain or provide a url to explain?

So far, the only solution is the one that I posted.

For the record, ALL the pages displayed correctly in my old version (1.9) and they are all HTML. Furthermore, I have done Nothing to those pages!

The funny thing is that some pages render correctly and some don't.

This leads me to conclude:

1. Tiki's conversion from 1.9 to 9.2 screwed up some of the pages ( I do see dashes ---------------------------- at the end of my HTML when I paste it into ckeditor’s source window)

2. There is some field on the Tiki_Pages table (or some other table) that is causing this to display incorrectly. I will compare in sql, a good page versus a bad page to see if there is some field setting that is messing it up

So my issues are:

1. I want to have the have CKeditor’s latest version and have the ability to upgrade their version without Tiki getting in the way.

I also want their version to display without all these different styles showing-up (one for wikisyntax , another for ckeditor with buttons missing etc). AS I said before, that toolbar menu does not work (at least for me)

(My main beef with Tiki's version of ckeditor is that ckeditor’s “import from word” is missing and I create my content in ms-word. And if I just copy/paste from word, some of the formatting e.g. indents etc get lost). So I need documentation how to do this in version 9.2

2. Fixing about 1000 pages that do not render properly

For an example of my problem:

http://wikisicha.org/tiki-index.php?page=5712+-+Chayei+Sarah+%2C+1st+day+R%22C+Kislev+%2C+Seudat+Brit&structure=Sefer+HaSichot+5712

Thanks


posts: 18

Hi

As I replyed to Luci, I suspected that there is some field on the Tiki_Pages table (or some other table) that is causing this to display incorrectly.

As it turns out there are two fields. wysiwyg (y/n) and is_HTML (0/1) on the Tiki_Pages table

I'm not sure what the wysiwyg actually does, but the non-rendering html pages had 0 in the is_HTML field. Setting them to 1 in sql corrected the issue.

I do not know how to set these fields in the Admin. I could do a code search but perhaps someone can inform us, what these fields are.


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting