- Moderated by:
- Support Team
-
- rank:
-
Softmore
- registered:
- December 2007
- Status:
- offline
- last visit:
- 10.03.08
- Posts:
- 68
hi once again,
I have one question and i am posting a little code to see if i have edited my theme/templates/master.htm correctly. need a little advice.
I installed scribite per install.txt and still can not get scribite to work with /submitnews..this is only the bottom of the code page not the whole page.
here is the code:
Code
<!-- Footer -->
<div id="bottomMenu" ><!--#cccccc-->
<span class="pn-sub"> </span>
</div>
<div id="footer" ><!--#ffffff-->
<!--[footmsg]-->
</div>
<!--[nocache]--><!--[pagerendertime]--><!--[/nocache]-->
<... some code ...>
<!--[scribite]-->
</head>
</body>
<... more code ...>
</html>
thanks
edited by: zach123, Jan 22, 2008 - 04:05 AM
--
The Thinker needs a lift!
Banging head on table again.. -
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 22.11.08
- Posts:
- 465
Uhm, seems a little strange. Is this your footer or your header? You have footer statements but also the head markup element.
The scribite statement should be in the header of the template. And you should have installed the plugin (function.scribite.php) in the plugins subdir of your Xanthia theme.
--
http://www.erikspaan.nl
http://www.avwijchen.nl
Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl -
- rank:
-
Professional
- registered:
- November 2003
- Status:
- offline
- last visit:
- 06.11.08
- Posts:
- 1675
First this code:
Code
<div id="bottomMenu" ><!--#cccccc-->
<span class="pn-sub"> </span>
</div>
does nothing and does not need to be there.
Also, and more importantly:
Code
</head>
is supposed to be immediately before:
Code
<body>
check to make sure you have one there and remove this one (or move this one there if you don't have one in the appropriate place) keeping the scribite call just above the /head.
Can you also provide a link?
--
Under Construction! -
- rank:
-
Softmore
- registered:
- December 2007
- Status:
- offline
- last visit:
- 10.03.08
- Posts:
- 68
Topiatic
First this code:
Code
<div id="bottomMenu" ><!--#cccccc-->
<span class="pn-sub"> </span>
</div>
does nothing and does not need to be there.
Also, and more importantly:
Code
</head>
is supposed to be immediately before:
Code
<body>
check to make sure you have one there and remove this one (or move this one there if you don't have one in the appropriate place) keeping the scribite call just above the /head.
Can you also provide a link?
ok, here is what i did in my theme/master.htm:
Code
//-->
<!--[scribite]-->
</head><!-- Master template -->
<body onload="hideLoadingPage();">
<div id="loading" align="center" onclick="hideLoadingPage()">
<b><!--[pnml name=_LOADING]--></b>
<!-- <img src="<!--[$themepath]-->/images/loading.gif"> -->
is this the way you were suggesting?
scribite still does not function using "addstory" or "submit news", although, it shows as a third party module and all the three editors show in admin and you can configure.
thanks
edited by: zach123, Jan 23, 2008 - 02:50 AM
--
The Thinker needs a lift!
Banging head on table again.. -
- rank:
-
Professional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 21.11.08
- Posts:
- 2975
Add story is an administrative function, so if you have an admin template the scribite plugin needs to be called there.
Also read:
http://community.postnuke.com/Wiki-CachingCompiling.htm
--
David Pahl
Zikula Support Team -
- rank:
-
Softmore
- registered:
- December 2007
- Status:
- offline
- last visit:
- 10.03.08
- Posts:
- 68
AmmoDump
Add story is an administrative function, so if you have an admin template the scribite plugin needs to be called there.
Also read:
http://community.postnuke.com/Wiki-CachingCompiling.htm
I'm just having problems with sribite. everything is as described in the install except for the legacythemes and autothemes, i have not edited them nor do i know what they are really.
everything in the scribite admin module seems to work but i can not get scribite to come up as an editor when submittimg news or anything. any suggestions?
--
The Thinker needs a lift!
Banging head on table again.. -
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 22.11.08
- Posts:
- 465
espaan
The scribite statement should be in the header of the template. And you should have installed the plugin (function.scribite.php) in the plugins subdir of your Xanthia theme.
Did you do all this? Just to go over the list once again to see if something is missing
1. Install scribite (make sure it is version 1.21 for PN 0.764 - you have 0.764?)
2. activate the module
3. Make sure the plugin function.scribite.php is in modules/Xanthia/plugins or in themes/yourtheme/plugins
4. Clear the pnrender and xanthia caches
5. Insert the Smarty functionin the header of you theme template where you want hte editor to appear. So in master.htm for all pages and also in admin.htm (if you're using an admin.htm) if you want it to be active in AddStory.Code
<!--[scribite]-->
6. Make sure scribite has the right permissionsCode
Users | scribite:: | :: | Comment
7. Turn on the modules (AddStory, Submit_News, etc) in the admin of scribite.
8. Turn on javascript in your browser
9. I can't think of any more caveats
Hope there's one step missing.
edited by: espaan, Jan 23, 2008 - 10:52 AM
--
http://www.erikspaan.nl
http://www.avwijchen.nl
Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl -
- rank:
-
Softmore
- registered:
- December 2007
- Status:
- offline
- last visit:
- 10.03.08
- Posts:
- 68
espaan
espaan
The scribite statement should be in the header of the template. And you should have installed the plugin (function.scribite.php) in the plugins subdir of your Xanthia theme.
Did you do all this? Just to go over the list once again to see if something is missing
1. Install scribite (make sure it is version 1.21 for PN 0.764 - you have 0.764?)
2. activate the module
3. Make sure the plugin function.scribite.php is in modules/Xanthia/plugins or in themes/yourtheme/plugins
4. Clear the pnrender and xanthia caches
5. Insert the Smarty functionin the header of you theme template where you want hte editor to appear. So in master.htm for all pages and also in admin.htm (if you're using an admin.htm) if you want it to be active in AddStory.Code
<!--[scribite]-->
6. Make sure scribite has the right permissionsCode
Users | scribite:: | :: | Comment
7. Turn on the modules (AddStory, Submit_News, etc) in the admin of scribite.
8. Turn on javascript in your browser
9. I can't think of any more caveats
Hope there's one step missing.
edited by: espaan, Jan 23, 2008 - 10:52 AM
I will check but i believe i have executed all of these steps. i have to go to work now. will let you know this afternoon.
thanks
--
The Thinker needs a lift!
Banging head on table again.. -
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 22.11.08
- Posts:
- 465
BTW you don't have to quote everything if you just make a small remark
--
http://www.erikspaan.nl
http://www.avwijchen.nl
Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl -
- rank:
-
Softmore
- registered:
- December 2007
- Status:
- offline
- last visit:
- 10.03.08
- Posts:
- 68
well typetool was working fine. i gues scribite is much better than typtool so i am going to go over the steps again and try and install scribite along with AutoTheme.
i assume that installing AutoTheme is much harder than scribite.
i want to have a lot of editing and customizing features for myself. that is the reason for installing the two packages, i guess these two will allow me these features, so i am going to try tackling the two tomorrow.
any suggestions anyone?
--
The Thinker needs a lift!
Banging head on table again.. -
- rank:
-
Professional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 21.11.08
- Posts:
- 2975
Typetool was working fine? What is your definition of fine?
Scribite in itself is not a wysiwyg, but a PN bridge for many editors. A very nice one. Specific plugins may need special concideration.
AutoTheme initself should not be that hard to install.
--
David Pahl
Zikula Support Team -
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 15.11.08
- Posts:
- 111
Hi,
first of all the installation for AutoTheme is described in the docs. Everything you need is described there.
Code
6. Edit your your theme templates (!!IMPORTANT!!):
- Xanthia Themes:
<... some code ...>
<!--[scribite]-->
</head>
<body>
<... more code ...>
In a few cases <!--[ scribite ]--> seems not to work, so use above call without spaces.
- Legacy themes:
$scribite = pnModFunc('scribite', 'user', 'editorheader');
echo ($scribite);
- Autothemes:
Add the following to your theme.html
<head>
<?php $scribite = pnModFunc('scribite', 'user', 'editorheader');
echo $scribite ?>
</head>
As second point please remove the onload script from your body tag and all the events involved with that script.
zach123
...
ok, here is what i did in my theme/master.htm:
Code
//-->
<!--[scribite]-->
</head><!-- Master template -->
<body onload="hideLoadingPage();">
<div id="loading" align="center" onclick="hideLoadingPage()">
<b><!--[pnml name=_LOADING]--></b>
<!-- <img src="<!--[$themepath]-->/images/loading.gif"> -->
...
Just a try. Since version 1.21 (pn.764) and version 1.3 (pn.8) the editors are called via prototype.js what should sove the problmes with other "onload"-scripts like your hideLoadingPage.
Perhaps you have an old version of scribite! with no prototype.js ?
Awaiting a response .... and please post your full source here from the page where no editors is working. I need more informations.
Sven
edited by: hilope, Feb 22, 2008 - 05:14 PM
--
scribite! - pimp your Zikula
