0
Hi there,

this plugin has a lot of potential - but I have two issues in setting it up in our site.

Issue one: Description Character Limit
I am just starting to load our events into the calendar, but have found that there seems to be a character limit on the event description.
Is there any way to change this?

I have uploaded a screenshot - obviously the word 'journey' at the end has been cut in half.

Issue two: User Submit button not displaying
In your screenshots (url attached) you show a 'new event' button which looks like front end users have the option to submit an event.
As you can see from the screenshot attached to this question - we seem to be missing the 'new event' option on ours.
Is there a setting that needs turning on for this to work?

Thanks for your help!

Cheers,

Zoe
Responses (16)
  • Accepted Answer

    Wednesday, August 20 2014, 09:50 AM - #Permalink
    0
    Hello Zoe,

    1. yes, the description field is limited to 255 characters by the system. if you want to increase this limit, you will need to do it in the DB.
    are you familiar with changing something in the DB? the change is very easy.. but you need to be familiar with it. let me know and I'll tell you how.

    2. the "new event" button will show up if
    a) the option "frontend users can create events" is markes as YES in the calendar planner options, and
    b) the user is logged in.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 18 2017, 12:49 AM - #Permalink
    0
    Hello,
    I have emailed you earlier. Instead of re-creating the thread, it may be easier to have a better communication on site.
    What table needed to be notified in order to increase the characters limit?
    It would be great to be able to allow HTML in order to add extra stuff like bullet point for more flexible editing.
    For example, here is a sample invoice where there's description and explanation of the process.
    http://prntscr.com/dx05ja

    Is that something that could be integrated? So far I'm loving the invoice system. I haven't done much of custom templates yet but this is just one little piece that is missing which I can't have invoice without.

    Thank you!
    • Germinal Camps
      more than a month ago
      hello,

      I think you posted in the wrong forum category.. this thread is about Calendar Planner, but you are talking about Invoice Manager :)

      to allow what you ask for, actually some DB changes are needed, along with HTML and PHP. You need to allow HTML code into the description and increase the chars permitted...
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 18 2017, 03:59 PM - #Permalink
    0
    Sorry instead of creating a new thread , I used search by relevance. As of right now, is there a way to increase just the characters? From the 255 limit or however many characters it allows. Thank you!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 18 2017, 05:25 PM - #Permalink
    0
    yes, if you just want to increase characters you can do it on the DB directly... find table #__invoices_items, and the description field should be bigger than the current VARCHAR(255)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 19 2017, 05:15 AM - #Permalink
    0
    I made a change but however I was still only able to put in 255 characters:
    http://prntscr.com/dxhxey

    is there another field I'm missing?

    I tried changing to the text data type same deal. For whatever reason I can't add more text. Is there another data type I'm missing else where that I can't seem to find which column it's in?
    Thank you!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 19 2017, 05:27 AM - #Permalink
    0
    I've changed the template items as well to text doesn't seem to be going through
    http://prntscr.com/dxi19a

    I've then tried setting both of those to varchar(500)
    http://prntscr.com/dxi2mw
    and
    templateitems:
    http://prntscr.com/dxi2sr

    seems to be same deal, won't go past 255
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 19 2017, 12:39 PM - #Permalink
    0
    probably VARCHAR onlly allows 255. then try changing to TEXT type
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 19 2017, 03:00 PM - #Permalink
    0
    I have tried both ways. For Varchar I believe the max limit is 8000 characters. But not too sure with mysql if it's the same.
    I've changed both places to text field it would still allow only limited number of characters. Is there something else I'm missing?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 19 2017, 05:11 PM - #Permalink
    0
    oh, you mean that when you INPUT the description it doesn't allow you to write more than X characters...

    this means you need some HTML changes too. the SIZE attribute of the input field must be unlimited.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 19 2017, 05:30 PM - #Permalink
    0
    Germinal Camps wrote:

    oh, you mean that when you INPUT the description it doesn't allow you to write more than X characters...

    this means you need some HTML changes too. the SIZE attribute of the input field must be unlimited.

    So there's no easy work around to just increase the text input?
    That would kind of sucks. Is this something that will eventually be updated within the future releases?
    I'm trying to be able to input larger description than the current character limit. I'm seeing it as the only thing that's missing which would not suite properly for our end. That would be a great feature to have. I'm not looking to have HTML allowed on it just the characters increased.
    Eventually I would do custom coding to also allow HTML in there as well within the description and name possibly.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 20 2017, 11:32 AM - #Permalink
    0
    what you mean there's no way..? I just told you how... :)

    you need to increase the size (maxlength attribute) on the html INPUT field. currently it is:

    maxlength="255"

    it should be

    maxlength="1000" or whatever
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 20 2017, 03:58 PM - #Permalink
    0
    I'm sorry for all the confusion can be difficult sometimes with the communication. Could you please tell me where to locate that file to edit? I'm having difficulty finding.
    Thank you!
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 23 2017, 05:44 PM - #Permalink
    0
    hello!

    files are:

    /administrator/components/com_invoices/views/invoice/tmpl/form_items.php
    /administrator/components/com_invoices/views/invoice/tmpl/form_item.php

    there is where the inputs are defined...
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 24 2017, 08:34 AM - #Permalink
    0
    I have changed the code for the description maxlength from 250 to 1000. It still however only allows 500 characters max. The Editing form allows to type more but it's only displaying 500 on the invoice. Once I saved then edit again, the form cuts down to 500.
    Now, I believe that 500 is more than enough for my purpose but just pointing that out what may be the cause. A bit interesting weather there's another side for it.
    Both of the files forum_items.php and forum_item.php were set to the same 1000 value.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 24 2017, 05:21 PM - #Permalink
    0
    and in the DB, you have it set to TEXT type?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2017, 07:58 PM - #Permalink
    0
    Germinal Camps wrote:

    and in the DB, you have it set to TEXT type?

    I forgot that initially I set it to varchar(500) thought I changed it to 1000. Thank you!
    The reply is currently minimized Show
Your Reply