• Hello, im looking help.
    I need to display a 50 character excerpt of the message content here in this place or in the table below

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ovidijus

    (@ovidijus)

    /*** jquery.dop.frontend.BSPCalendar.js *****/
    if (promo > 0 && type !== ' dopbsp-past-hour' 
                            && (bind === 0 
                                    || bind === 1)){                                      
                        hourHTML.push('        <div class="dopbsp-old-price">'+DOPBSPFrontEnd.setPrice(ID, price)+'</div>');
                    }              
    /******************************/          
    /* How get excerpt of the message content here? */
                    hourHTML.push('        <div class="dopbsp-available">'+availableContent+' '+DOPBSPFrontEnd.text(ID, 'text', 'form')+' BBBB1</div>');
    /******************************/
    /*                     END    */
                    
                    if ((infoBody !== undefined
                                    && infoBody.length > 0)
                            && type !== ' dopbsp-past-hour'){
                        hourHTML.push('          <div class="dopbsp-info-body" id="'+id+'_info-body">');
                        hourHTML.push('              <div class="dopbsp-info-body-mask">→</div>');
                        hourHTML.push(methods_form.getInfo(infoBody));
                        hourHTML.push('          </div>');
                    }
    Plugin Support Pinpoint World Support

    (@pinpointworld)

    Hi,

    We are not sure we understand. Do you want to display the excerpt from a form field after the booking is made?

    If so, you can display the form field in the body of the hour. You have to go to Pinpoint Booking System -> Forms -> Select the form -> Expand the form field you want -> Enable Add field to day/hour body

    Best Regards,

    Support Team

    Thread Starter ovidijus

    (@ovidijus)

    COOL thank you ??

    Plugin Support Pinpoint World Support

    (@pinpointworld)

    Hi,

    One more thing to add about this option is that it will only work for new reservations only, it will not update the calendar with old information.

    Best Regards,

    Support Team

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Read from DB text message and display’ is closed to new replies.