Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Goto page: 1 - 2 [+1]

Bottom
scribite install?
  • Posted: 22.01.2008, 09:03
     
    zach123
    rank:
    Softmore 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..
  • Posted: 22.01.2008, 15:19
     
    espaan
    rank:
    Helper 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
  • Posted: 22.01.2008, 18:47
     
    Topiatic
    rank:
    Professional 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!
  • Posted: 23.01.2008, 07:48
     
    zach123
    rank:
    Softmore 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.
    icon_frown

    thanks



    edited by: zach123, Jan 23, 2008 - 02:50 AM

    --
    The Thinker needs a lift!
    Banging head on table again..
  • Posted: 23.01.2008, 09:09
     
    AmmoDump
    rank:
    Professional 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
  • Posted: 23.01.2008, 09:41
     
    zach123
    rank:
    Softmore 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..
  • Posted: 23.01.2008, 14:51
     
    espaan
    rank:
    Helper 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 function

    Code

    <!--[scribite]-->
    in 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.

    6. Make sure scribite has the right permissions

    Code

    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 icon_smile

    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
  • Posted: 23.01.2008, 16:36
     
    zach123
    rank:
    Softmore 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 function

    Code

    <!--[scribite]-->
    in 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.

    6. Make sure scribite has the right permissions

    Code

    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 icon_smile

    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..
  • Posted: 23.01.2008, 20:03
     
    espaan
    rank:
    Helper 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 icon_wink

    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl
  • Posted: 26.01.2008, 18:45
     
    zach123
    rank:
    Softmore Softmore
    registered:
     December 2007
    Status:
    offline
    last visit:
    10.03.08
    Posts:
    68
    yes i had all of the above correct. i decided to wait and try to install scribite later.

    --
    The Thinker needs a lift!
    Banging head on table again..
  • Posted: 26.01.2008, 19:55
     
    espaan
    rank:
    Helper Helper
    registered:
     August 2003
    Status:
    offline
    last visit:
    22.11.08
    Posts:
    465
    Wait for what BTW?

    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl
  • Posted: 22.02.2008, 03:37
     
    zach123
    rank:
    Softmore 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..
  • Posted: 22.02.2008, 10:48
     
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    offline
    last visit:
    21.11.08
    Posts:
    2975
    Typetool was working fine? What is your definition of fine? icon_razz

    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
  • Posted: 22.02.2008, 21:12
     
    rank:
    Helper 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
  • Posted: 26.02.2008, 09:46
     
    zach123
    rank:
    Softmore Softmore
    registered:
     December 2007
    Status:
    offline
    last visit:
    10.03.08
    Posts:
    68
    I will jump on this on the weekend. i have no time now. i will let you know asap or as soon as i start on it.
    icon_eek

    --
    The Thinker needs a lift!
    Banging head on table again..

Goto page: 1 - 2 [+1]

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula