Start ::
PostNuke 0.7 Support ::
Tutorials and Solutions ::
Help, I'm a noob and can't get an EDITOR to work
Moderated by: Support Team
-
- rank:
-
pnFreshman
- registered:
- April 2008
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 15
I have installed PostNuke .764 a week ago and have done not much else since than reading, searching, more reading, trying, searching and more reading....
I have managed to make a theme look the way I like it - sort of - but can't for the love of me understand why I don't get a WYSIWYG editor (like cfkeditor or tinyMCE) like I have in my phpNuke sites.
I 'think' I did all the steps as described in the somewhat cryptic 'scribite' install.txt (cryptic for someone who doesn't know much about all the jargon).... emptied caches, recompiled themes, activated modules.. you name it.... NOTHING. Not on my 'theme' and not on any of the default themes.
I would sure appreciate some ideas on how to install scribite and get the thing to actually SHOW UP somewhere.....
Please pretty please !!??
Kindest regards,
Francois
P.S. Have been SO busy reading and searching that I didn't find the time yet to work on my profile
-
- rank:
-
pnProfessional
- registered:
- September 2006
- Status:
- offline
- last visit:
- 12.05.08
- Posts:
- 916
First, welcome to the PostNuke community!
If you're beginning, i recommend you to start with the latest SVN snapshot of the 0.8 version. A lot of things are improved there compared with the .7x! And about themes, it's a lot better.
And well, the essential points to consider running scribite are:
1. Copy the module files correctly. In the 0.7 version, put the scribite module in the /modules folder, and additionally add the scribite plugin in the /modules/Xanthia/plugins folder... in the 0.8 version, the same, but the plugin should be located in the /config/plugins folder and the editors in the /javascript/scribite_editors folder.
2. Now you can install the module (go to the Modules Admin Panel /admin.php?module=Modules) and regenerate the list, search Scribite there and there you go.
3. Add the plugin call ( <--[scribite]--> ) in the header of your theme; for that reason, is needed to clear the compiled/cached templates, it needs to apply the changes.
4. You can customize the editor in the Scribite admin panel (admin.php?module=scribite) and in the 0.8 version you can choose which TEXTAREAS will have editor, and in which functions!
So, try it and tell us.
Happy Postnuking!
-----
- Mateo T. -
Mis principios... son mis fines -
- rank:
-
pnFreshman
- registered:
- April 2008
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 15
Hi Mateo, and many thanks for the quick reply !
To be honest, I thought the .8 was still in Beta and figured it might be a bit 'over my head' to start with that. I'd still consider 'jumping in', but would need some guidance.. .. the things listed with 'patch' are just that, a patch and not a full version?
And can I 'port' my current database (=data) over to the .8 version?
As for the actual problem... I did all what you explained in your message... except that I can't really find the 'header of my theme'..... I found master.htm, home.htm and admin.htm that seem to contain the header and body information.. and put the just above the /head line in all three of them.
That may be the wrong file.... ?
The 'editors' (Xanthia, tinyMCE and fckeditor are all in the javascript folder in sub-folders.
I DO get the admin function for Scribite and can set the editor and various other things. But when going to 'add-story' I continue to have the default input areas with no icons or whatever atop them.
I am certain I am doing something obvious wrong, but can't put my finger on it. And when trying too long one starts losing the focus I guess.... perhaps I should leave it for a few days
-
- rank:
-
pnProfessional
- registered:
- September 2006
- Status:
- offline
- last visit:
- 12.05.08
- Posts:
- 916
Sure, you can upgrade your .76 info to the .8,
read the instructions, they are in the /docs folder and try it in a test database.
About run scribite, modify master.htm is Ok
but i encourage you to try this in the 0.8 version (it's not stable but the release is really near) and there is easiest because there's no AddStory/SubmitNews/News modules, just one News module that does the work.
So, try it
-----
- Mateo T. -
Mis principios... son mis fines -
- rank:
-
pnSoftmore
- registered:
- August 2003
- Status:
- offline
- last visit:
- 22.04.08
- Posts:
- 80
Ok, the install.txt is not so good as expected from newbies ...
The .8 version is quite better and i will try to add some remarks for newbies, ok?
The master.html is for most pages, the home.html for your homepage (but there you don't need scribite!) and perhaps some others like admin.html (which is used for the admin pages - add scribite! also there!).
Just add the just before the closing head (/head) to master.html and admin.html.
Then delete all files in /pnTemp/Xanthia_compiled , because the master.html and the admin.html are in compiled versions there, by deleting PostNuke is getting a newer version.
Success?
-----
scribite! - pimp your PostNuke -
- rank:
-
pnSoftmore
- registered:
- August 2003
- Status:
- offline
- last visit:
- 22.04.08
- Posts:
- 80
If there are still some questions you can send ma a PM with login/password and i'll take a look into your templates.
But first take a look into the source code of your page where an editor should be loaded: is there any code from scribite! ? Look at the header parts ...
-----
scribite! - pimp your PostNuke -
- rank:
-
pnFreshman
- registered:
- April 2008
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 15
Mateo and hilope, I am very grateful for your help ! I only know of two other communities where help is so quick and forthcoming.
Mateo, I will try and install .8 tomorrow (have other things to do tonight I'm afraid).
Hilope: OOPS !! I deleted the files and nothing. Then I looked at the source and there is nothing loaded !! So I must be doing something horribly wrong, eh? -
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
This is the part where you give your hint for noobs...
The 'why' it didn't work for you.. and what was 'solved'.
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
-
- rank:
-
pnFreshman
- registered:
- April 2008
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 15
I couldn't get ANY editor to work, in spite of trying to follow all instructions I could find...
.....this is what Sven wrote when I asked him what he'd changed:
I added the scribite plugin to master.htm and admin.htm (admin.htm is used by modules using admin.php?module=......) and deleted it from home.htm (where is no need for that - performance!). Then i cleared Xanthia_compiled and pnRender_compiled folders and tried.
There was no editor so i tried Xinha - that worked. Perhaps it worked before with changing to Xinha, but AddStory uses admin.php where no plugin was in the templates.
-----
I am now using fckeditor (that works too), but tinyMCE still doesn't work.
Anyway, after I return from my travels (2nd week of May), I'll start my next adventure and try and install PostNuke .8 and port my current database over to it.
I printed the instructions but it all looks too complicated to try and do hastily just before I leave.... I better not risk that
Many thanks for everybody and especially Sven for helping a poor PN beginner out !
Francois -
- rank:
-
pnProfessional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 08.05.08
- Posts:
- 2635
Well, let me know if I can revise the PN upgrade directions to make them easier. The sooner the better. I have revised them a few times over the last several months.. but I could always use a noobier perspective.
Thanks
-----
-- David Pahl -- (PostNuke Support Team)
<div id="me" class="none" style="none" />
Start ::
PostNuke 0.7 Support ::
Tutorials and Solutions ::
Help, I'm a noob and can't get an EDITOR to work
