Menu

Width and Height of Edit Page (version 1.2.7)

Help
ralfkr
2005-01-26
2012-10-11
  • ralfkr

    ralfkr - 2005-01-26

    How is it possible to change the width and height of the editor area in phpwiki 1.2.7 ?
    I fear there is no config parameter, but maybe there is a simple way to change the php code to limit e.g. the width to 40 characters.

    Thanks in advance
    Ralf

     
    • Reini Urban

      Reini Urban - 2005-01-26

      you have to fix the textarea in the src.

       
    • ralfkr

      ralfkr - 2005-01-26

      Yeah, I have seen the textarea code in editpage.php. But the 1.2.7 code is different to the 1.3.x code in terms of the textarea. In 1.3.x an array is used.
      My php knowledge is not good enough to implement that feature in 1.2.7.

      Ralf

       
      • Reini Urban

        Reini Urban - 2005-01-26

        That's no php, it's pure html.
        phpwiki-1.2.x/templates/editpage.html

        <textarea name="content" rows="22" cols="80" wrap="virtual">###CONTENT###</textarea>

        =>

        <textarea name="content" rows="22" cols="40" wrap="virtual">###CONTENT###</textarea>

         
        • ralfkr

          ralfkr - 2005-01-26

          Oh, I haven't seen the "editpage.html" file. I looked into /lib/editpage.php.
          It works. Great. That makes my life easier on my Zaurus.

          Thanks a lot.
          Ralf

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.