We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30613
    • 6 Posts
    Hi

    I am trying to develop a news CMP. The news items is stored in a separate table in the database. I got it working, so that I can add new items and list them in the CMP. I have got this far by trial and error. However, now I am only getting errors...

    I would like to add TinyMCE to the textarea (see screenshot). Is there any very simple solutions to this? I have tried to look at Bruno’s xdbedit (seems similar to what I’m trying to do), but I have had no luck yet. I was hoping simply to be able to set xtype: ’textarea-richtext’, and then have it working. Is this possible, and can somebody please point me in the right direction?

    Thanks in advance
    Trez
      • 4172
      • 5,888 Posts
      with xdbedit its easy to use tinyMCE as input-field. Did you try the example?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 30613
        • 6 Posts
        I have tried to get it to work, but I couldn’t figure out the example. How is tinyMCE implemented?
          • 30613
          • 6 Posts
          Ok, I have got the telephonedir-example working. How do I get the other two examples working?

          Eg. I keep getting stuck on this error:
          Fatal error: Call to a member function set() on a non-object in {core_path}/components/xdbedit/processors/mgr/angebote/fields.php on line 21

          Thanks!
            • 30613
            • 6 Posts
            xdbedit is working beautifully. Thanks Bruno. Great work smiley
              • 34120
              • 236 Posts
              edit: just figured it out, I needed to remove the table prefix from
              $this->customconfigs['tablename']='myprefix_telephonedir';
              in the config file. Sorry for the post smiley

              Sorry for digging up an old thread but I'm having this exact same error, can you remember how you solved it? thanks!
              Quote from: trezno at Jan 22, 2011, 06:32 PM
              Fatal error: Call to a member function set() on a non-object in {core_path}/components/xdbedit/processors/mgr/angebote/fields.php on line 21
              [ed. note: bobwal last edited this post 14 years, 10 months ago.]