Popularity
Distance
Price
Notice (8): Undefined index: link [APP/View/Elements/hp-post.ctp, line 2]
Code Context
" class="hp-post" style="border-color: #7484c1; background: url(<?php if (!CORDOVA && !empty($categories['posts'])) : foreach ($categories['posts'] as $i => $post) : ?><a href="<?= $post['link'] ?>" class="hp-post" style="border-color: <?= $colors_homepage[$i] ?>; background: url(<?= $post['post_rethumb2x'] ?>) center center no-repeat transparent;">
$viewFile = '/var/www/somontreal_app/app/View/Elements/hp-post.ctp' $dataForView = array( 'indexedPage' => true, 'title_for_layout' => 'Add an activity – So Montréal', 'titles' => array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ), 'hometitle_for_layout' => 'So Montréal – What to do in Montreal? When? Where?', 'description_for_layout' => '', 'categories' => array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'slugs' => array( 'toutes-les-sorties' => array( [maximum depth reached] ), 'all-events' => array( [maximum depth reached] ), 'concerts' => array( [maximum depth reached] ), 'zen-et-jazzy' => array( [maximum depth reached] ), 'zen-and-jazzy' => array( [maximum depth reached] ), 'jazz' => array( [maximum depth reached] ), 'musique-electronique' => array( [maximum depth reached] ), 'electronic-music' => array( [maximum depth reached] ), 'art-et-musees' => array( [maximum depth reached] ), 'art-and-museums' => array( [maximum depth reached] ), 'festivals' => array( [maximum depth reached] ), 'reseautage' => array( [maximum depth reached] ), 'networking' => array( [maximum depth reached] ), 'conferences' => array( [maximum depth reached] ), 'theatre-et-humour' => array( [maximum depth reached] ), 'theater-comedy-shows' => array( [maximum depth reached] ), 'breakfast-brunch' => array( [maximum depth reached] ), 'lgbt' => array( [maximum depth reached] ), 'poutines' => array( [maximum depth reached] ), 'jeux-attractions' => array( [maximum depth reached] ), 'games-amusements' => array( [maximum depth reached] ), 'partir-a-l-aventure' => array( [maximum depth reached] ), 'epic-adventures' => array( [maximum depth reached] ), 'billards' => array( [maximum depth reached] ), 'billiards' => array( [maximum depth reached] ), 'jeux-aquatiques' => array( [maximum depth reached] ), 'water-games' => array( [maximum depth reached] ), 'coups-de-coeur' => array( [maximum depth reached] ), 'best-of' => array( [maximum depth reached] ), 'vieuxport' => array( [maximum depth reached] ), 'old-port' => array( [maximum depth reached] ), 'sud-ouest' => array( [maximum depth reached] ), 'southwest' => array( [maximum depth reached] ), 'mile-end' => array( [maximum depth reached] ), '' => array( [maximum depth reached] ), 'plateau-montroyal' => array( [maximum depth reached] ), 'centre-ville' => array( [maximum depth reached] ), 'downtown' => array( [maximum depth reached] ) ), 'posts' => array( (int) 0 => array( [maximum depth reached] ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ), 'category' => null, 'event' => null, 'language' => 'en', 'oppositeLang' => 'fr', 'isPaymentSuccess' => false, 'browserLanguage' => null, 'blogpost' => null, 'blogposts' => null, 'pulse' => false, 'number_of_blogposts' => (int) 6, 'customPage' => ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ', 'customPageUrl' => 'add-event', 'moment' => 'moment-morning', 'user' => false, 'colors_homepage' => array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) ) $indexedPage = true $title_for_layout = 'Add an activity – So Montréal' $titles = array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ) $hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?' $description_for_layout = '' $categories = array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( 'Category' => array( [maximum depth reached] ) ), (int) 1 => array( 'Category' => array( [maximum depth reached] ) ), (int) 2 => array( 'Category' => array( [maximum depth reached] ) ), (int) 3 => array( 'Category' => array( [maximum depth reached] ) ), (int) 4 => array( 'Category' => array( [maximum depth reached] ) ), (int) 5 => array( 'Category' => array( [maximum depth reached] ) ), (int) 6 => array( 'Category' => array( [maximum depth reached] ) ), (int) 7 => array( 'Category' => array( [maximum depth reached] ) ), (int) 8 => array( 'Category' => array( [maximum depth reached] ) ), (int) 9 => array( 'Category' => array( [maximum depth reached] ) ), (int) 10 => array( 'Category' => array( [maximum depth reached] ) ) ), 'slugs' => array( 'toutes-les-sorties' => array( (int) 0 => (int) 0 ), 'all-events' => array( (int) 0 => (int) 0 ), 'concerts' => array( (int) 0 => (int) 1 ), 'zen-et-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'zen-and-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'jazz' => array( (int) 0 => (int) 1, (int) 1 => (int) 1 ), 'musique-electronique' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'electronic-music' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'art-et-musees' => array( (int) 0 => (int) 2 ), 'art-and-museums' => array( (int) 0 => (int) 2 ), 'festivals' => array( (int) 0 => (int) 3 ), 'reseautage' => array( (int) 0 => (int) 4 ), 'networking' => array( (int) 0 => (int) 4 ), 'conferences' => array( (int) 0 => (int) 4, (int) 1 => (int) 0 ), 'theatre-et-humour' => array( (int) 0 => (int) 5 ), 'theater-comedy-shows' => array( (int) 0 => (int) 5 ), 'breakfast-brunch' => array( (int) 0 => (int) 6 ), 'lgbt' => array( (int) 0 => (int) 7 ), 'poutines' => array( (int) 0 => (int) 8 ), 'jeux-attractions' => array( (int) 0 => (int) 9 ), 'games-amusements' => array( (int) 0 => (int) 9 ), 'partir-a-l-aventure' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'epic-adventures' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'billards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'billiards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'jeux-aquatiques' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'water-games' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'coups-de-coeur' => array( (int) 0 => (int) 10 ), 'best-of' => array( (int) 0 => (int) 10 ), 'vieuxport' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'old-port' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'sud-ouest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'southwest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'mile-end' => array( (int) 0 => (int) 10, (int) 1 => (int) 2 ), '' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'plateau-montroyal' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'centre-ville' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ), 'downtown' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ) ), 'posts' => array( (int) 0 => array( 'post_author' => array( [maximum depth reached] ), 'sharedcount' => (int) 0 ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ) $category = null $event = null $language = 'en' $oppositeLang = 'fr' $isPaymentSuccess = false $browserLanguage = null $blogpost = null $blogposts = null $pulse = false $number_of_blogposts = (int) 6 $customPage = ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ' $customPageUrl = 'add-event' $moment = 'moment-morning' $user = false $colors_homepage = array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) $post = array( 'post_author' => array( 'avatar' => 'https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=128' ), 'sharedcount' => (int) 0 ) $i = (int) 0include - APP/View/Elements/hp-post.ctp, line 2 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Www/homepage.ctp, line 103 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 WwwController::homepage() - APP/Controller/WwwController.php, line 341 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 AppController::beforeFilter() - APP/Controller/AppController.php, line 96 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Notice (8): Undefined index: post_rethumb2x [APP/View/Elements/hp-post.ctp, line 2]) center center no-repeat transparent;">Code Context<?php if (!CORDOVA && !empty($categories['posts'])) : foreach ($categories['posts'] as $i => $post) : ?><a href="<?= $post['link'] ?>" class="hp-post" style="border-color: <?= $colors_homepage[$i] ?>; background: url(<?= $post['post_rethumb2x'] ?>) center center no-repeat transparent;">$viewFile = '/var/www/somontreal_app/app/View/Elements/hp-post.ctp' $dataForView = array( 'indexedPage' => true, 'title_for_layout' => 'Add an activity – So Montréal', 'titles' => array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ), 'hometitle_for_layout' => 'So Montréal – What to do in Montreal? When? Where?', 'description_for_layout' => '', 'categories' => array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'slugs' => array( 'toutes-les-sorties' => array( [maximum depth reached] ), 'all-events' => array( [maximum depth reached] ), 'concerts' => array( [maximum depth reached] ), 'zen-et-jazzy' => array( [maximum depth reached] ), 'zen-and-jazzy' => array( [maximum depth reached] ), 'jazz' => array( [maximum depth reached] ), 'musique-electronique' => array( [maximum depth reached] ), 'electronic-music' => array( [maximum depth reached] ), 'art-et-musees' => array( [maximum depth reached] ), 'art-and-museums' => array( [maximum depth reached] ), 'festivals' => array( [maximum depth reached] ), 'reseautage' => array( [maximum depth reached] ), 'networking' => array( [maximum depth reached] ), 'conferences' => array( [maximum depth reached] ), 'theatre-et-humour' => array( [maximum depth reached] ), 'theater-comedy-shows' => array( [maximum depth reached] ), 'breakfast-brunch' => array( [maximum depth reached] ), 'lgbt' => array( [maximum depth reached] ), 'poutines' => array( [maximum depth reached] ), 'jeux-attractions' => array( [maximum depth reached] ), 'games-amusements' => array( [maximum depth reached] ), 'partir-a-l-aventure' => array( [maximum depth reached] ), 'epic-adventures' => array( [maximum depth reached] ), 'billards' => array( [maximum depth reached] ), 'billiards' => array( [maximum depth reached] ), 'jeux-aquatiques' => array( [maximum depth reached] ), 'water-games' => array( [maximum depth reached] ), 'coups-de-coeur' => array( [maximum depth reached] ), 'best-of' => array( [maximum depth reached] ), 'vieuxport' => array( [maximum depth reached] ), 'old-port' => array( [maximum depth reached] ), 'sud-ouest' => array( [maximum depth reached] ), 'southwest' => array( [maximum depth reached] ), 'mile-end' => array( [maximum depth reached] ), '' => array( [maximum depth reached] ), 'plateau-montroyal' => array( [maximum depth reached] ), 'centre-ville' => array( [maximum depth reached] ), 'downtown' => array( [maximum depth reached] ) ), 'posts' => array( (int) 0 => array( [maximum depth reached] ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ), 'category' => null, 'event' => null, 'language' => 'en', 'oppositeLang' => 'fr', 'isPaymentSuccess' => false, 'browserLanguage' => null, 'blogpost' => null, 'blogposts' => null, 'pulse' => false, 'number_of_blogposts' => (int) 6, 'customPage' => ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ', 'customPageUrl' => 'add-event', 'moment' => 'moment-morning', 'user' => false, 'colors_homepage' => array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) ) $indexedPage = true $title_for_layout = 'Add an activity – So Montréal' $titles = array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ) $hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?' $description_for_layout = '' $categories = array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( 'Category' => array( [maximum depth reached] ) ), (int) 1 => array( 'Category' => array( [maximum depth reached] ) ), (int) 2 => array( 'Category' => array( [maximum depth reached] ) ), (int) 3 => array( 'Category' => array( [maximum depth reached] ) ), (int) 4 => array( 'Category' => array( [maximum depth reached] ) ), (int) 5 => array( 'Category' => array( [maximum depth reached] ) ), (int) 6 => array( 'Category' => array( [maximum depth reached] ) ), (int) 7 => array( 'Category' => array( [maximum depth reached] ) ), (int) 8 => array( 'Category' => array( [maximum depth reached] ) ), (int) 9 => array( 'Category' => array( [maximum depth reached] ) ), (int) 10 => array( 'Category' => array( [maximum depth reached] ) ) ), 'slugs' => array( 'toutes-les-sorties' => array( (int) 0 => (int) 0 ), 'all-events' => array( (int) 0 => (int) 0 ), 'concerts' => array( (int) 0 => (int) 1 ), 'zen-et-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'zen-and-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'jazz' => array( (int) 0 => (int) 1, (int) 1 => (int) 1 ), 'musique-electronique' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'electronic-music' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'art-et-musees' => array( (int) 0 => (int) 2 ), 'art-and-museums' => array( (int) 0 => (int) 2 ), 'festivals' => array( (int) 0 => (int) 3 ), 'reseautage' => array( (int) 0 => (int) 4 ), 'networking' => array( (int) 0 => (int) 4 ), 'conferences' => array( (int) 0 => (int) 4, (int) 1 => (int) 0 ), 'theatre-et-humour' => array( (int) 0 => (int) 5 ), 'theater-comedy-shows' => array( (int) 0 => (int) 5 ), 'breakfast-brunch' => array( (int) 0 => (int) 6 ), 'lgbt' => array( (int) 0 => (int) 7 ), 'poutines' => array( (int) 0 => (int) 8 ), 'jeux-attractions' => array( (int) 0 => (int) 9 ), 'games-amusements' => array( (int) 0 => (int) 9 ), 'partir-a-l-aventure' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'epic-adventures' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'billards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'billiards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'jeux-aquatiques' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'water-games' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'coups-de-coeur' => array( (int) 0 => (int) 10 ), 'best-of' => array( (int) 0 => (int) 10 ), 'vieuxport' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'old-port' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'sud-ouest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'southwest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'mile-end' => array( (int) 0 => (int) 10, (int) 1 => (int) 2 ), '' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'plateau-montroyal' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'centre-ville' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ), 'downtown' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ) ), 'posts' => array( (int) 0 => array( 'post_author' => array( [maximum depth reached] ), 'sharedcount' => (int) 0 ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ) $category = null $event = null $language = 'en' $oppositeLang = 'fr' $isPaymentSuccess = false $browserLanguage = null $blogpost = null $blogposts = null $pulse = false $number_of_blogposts = (int) 6 $customPage = ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ' $customPageUrl = 'add-event' $moment = 'moment-morning' $user = false $colors_homepage = array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) $post = array( 'post_author' => array( 'avatar' => 'https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=128' ), 'sharedcount' => (int) 0 ) $i = (int) 0include - APP/View/Elements/hp-post.ctp, line 2 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Www/homepage.ctp, line 103 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 WwwController::homepage() - APP/Controller/WwwController.php, line 341 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 AppController::beforeFilter() - APP/Controller/AppController.php, line 96 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Notice (8): Undefined index: post_title [APP/View/Elements/hp-post.ctp, line 13]Code Context <?php endif; ?> <h3> <span><?= $post['post_title'] ?></span>
$viewFile = '/var/www/somontreal_app/app/View/Elements/hp-post.ctp' $dataForView = array( 'indexedPage' => true, 'title_for_layout' => 'Add an activity – So Montréal', 'titles' => array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ), 'hometitle_for_layout' => 'So Montréal – What to do in Montreal? When? Where?', 'description_for_layout' => '', 'categories' => array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'slugs' => array( 'toutes-les-sorties' => array( [maximum depth reached] ), 'all-events' => array( [maximum depth reached] ), 'concerts' => array( [maximum depth reached] ), 'zen-et-jazzy' => array( [maximum depth reached] ), 'zen-and-jazzy' => array( [maximum depth reached] ), 'jazz' => array( [maximum depth reached] ), 'musique-electronique' => array( [maximum depth reached] ), 'electronic-music' => array( [maximum depth reached] ), 'art-et-musees' => array( [maximum depth reached] ), 'art-and-museums' => array( [maximum depth reached] ), 'festivals' => array( [maximum depth reached] ), 'reseautage' => array( [maximum depth reached] ), 'networking' => array( [maximum depth reached] ), 'conferences' => array( [maximum depth reached] ), 'theatre-et-humour' => array( [maximum depth reached] ), 'theater-comedy-shows' => array( [maximum depth reached] ), 'breakfast-brunch' => array( [maximum depth reached] ), 'lgbt' => array( [maximum depth reached] ), 'poutines' => array( [maximum depth reached] ), 'jeux-attractions' => array( [maximum depth reached] ), 'games-amusements' => array( [maximum depth reached] ), 'partir-a-l-aventure' => array( [maximum depth reached] ), 'epic-adventures' => array( [maximum depth reached] ), 'billards' => array( [maximum depth reached] ), 'billiards' => array( [maximum depth reached] ), 'jeux-aquatiques' => array( [maximum depth reached] ), 'water-games' => array( [maximum depth reached] ), 'coups-de-coeur' => array( [maximum depth reached] ), 'best-of' => array( [maximum depth reached] ), 'vieuxport' => array( [maximum depth reached] ), 'old-port' => array( [maximum depth reached] ), 'sud-ouest' => array( [maximum depth reached] ), 'southwest' => array( [maximum depth reached] ), 'mile-end' => array( [maximum depth reached] ), '' => array( [maximum depth reached] ), 'plateau-montroyal' => array( [maximum depth reached] ), 'centre-ville' => array( [maximum depth reached] ), 'downtown' => array( [maximum depth reached] ) ), 'posts' => array( (int) 0 => array( [maximum depth reached] ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ), 'category' => null, 'event' => null, 'language' => 'en', 'oppositeLang' => 'fr', 'isPaymentSuccess' => false, 'browserLanguage' => null, 'blogpost' => null, 'blogposts' => null, 'pulse' => false, 'number_of_blogposts' => (int) 6, 'customPage' => ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ', 'customPageUrl' => 'add-event', 'moment' => 'moment-morning', 'user' => false, 'colors_homepage' => array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) ) $indexedPage = true $title_for_layout = 'Add an activity – So Montréal' $titles = array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ) $hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?' $description_for_layout = '' $categories = array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( 'Category' => array( [maximum depth reached] ) ), (int) 1 => array( 'Category' => array( [maximum depth reached] ) ), (int) 2 => array( 'Category' => array( [maximum depth reached] ) ), (int) 3 => array( 'Category' => array( [maximum depth reached] ) ), (int) 4 => array( 'Category' => array( [maximum depth reached] ) ), (int) 5 => array( 'Category' => array( [maximum depth reached] ) ), (int) 6 => array( 'Category' => array( [maximum depth reached] ) ), (int) 7 => array( 'Category' => array( [maximum depth reached] ) ), (int) 8 => array( 'Category' => array( [maximum depth reached] ) ), (int) 9 => array( 'Category' => array( [maximum depth reached] ) ), (int) 10 => array( 'Category' => array( [maximum depth reached] ) ) ), 'slugs' => array( 'toutes-les-sorties' => array( (int) 0 => (int) 0 ), 'all-events' => array( (int) 0 => (int) 0 ), 'concerts' => array( (int) 0 => (int) 1 ), 'zen-et-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'zen-and-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'jazz' => array( (int) 0 => (int) 1, (int) 1 => (int) 1 ), 'musique-electronique' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'electronic-music' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'art-et-musees' => array( (int) 0 => (int) 2 ), 'art-and-museums' => array( (int) 0 => (int) 2 ), 'festivals' => array( (int) 0 => (int) 3 ), 'reseautage' => array( (int) 0 => (int) 4 ), 'networking' => array( (int) 0 => (int) 4 ), 'conferences' => array( (int) 0 => (int) 4, (int) 1 => (int) 0 ), 'theatre-et-humour' => array( (int) 0 => (int) 5 ), 'theater-comedy-shows' => array( (int) 0 => (int) 5 ), 'breakfast-brunch' => array( (int) 0 => (int) 6 ), 'lgbt' => array( (int) 0 => (int) 7 ), 'poutines' => array( (int) 0 => (int) 8 ), 'jeux-attractions' => array( (int) 0 => (int) 9 ), 'games-amusements' => array( (int) 0 => (int) 9 ), 'partir-a-l-aventure' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'epic-adventures' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'billards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'billiards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'jeux-aquatiques' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'water-games' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'coups-de-coeur' => array( (int) 0 => (int) 10 ), 'best-of' => array( (int) 0 => (int) 10 ), 'vieuxport' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'old-port' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'sud-ouest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'southwest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'mile-end' => array( (int) 0 => (int) 10, (int) 1 => (int) 2 ), '' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'plateau-montroyal' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'centre-ville' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ), 'downtown' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ) ), 'posts' => array( (int) 0 => array( 'post_author' => array( [maximum depth reached] ), 'sharedcount' => (int) 0 ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ) $category = null $event = null $language = 'en' $oppositeLang = 'fr' $isPaymentSuccess = false $browserLanguage = null $blogpost = null $blogposts = null $pulse = false $number_of_blogposts = (int) 6 $customPage = ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ' $customPageUrl = 'add-event' $moment = 'moment-morning' $user = false $colors_homepage = array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) $post = array( 'post_author' => array( 'avatar' => 'https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=128' ), 'sharedcount' => (int) 0 ) $i = (int) 0include - APP/View/Elements/hp-post.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Www/homepage.ctp, line 103 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 WwwController::homepage() - APP/Controller/WwwController.php, line 341 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 AppController::beforeFilter() - APP/Controller/AppController.php, line 96 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Code Context
<?php endif; ?><h3><span><?= $post['post_title'] ?></span>
$viewFile = '/var/www/somontreal_app/app/View/Elements/hp-post.ctp' $dataForView = array( 'indexedPage' => true, 'title_for_layout' => 'Add an activity – So Montréal', 'titles' => array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ), 'hometitle_for_layout' => 'So Montréal – What to do in Montreal? When? Where?', 'description_for_layout' => '', 'categories' => array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'slugs' => array( 'toutes-les-sorties' => array( [maximum depth reached] ), 'all-events' => array( [maximum depth reached] ), 'concerts' => array( [maximum depth reached] ), 'zen-et-jazzy' => array( [maximum depth reached] ), 'zen-and-jazzy' => array( [maximum depth reached] ), 'jazz' => array( [maximum depth reached] ), 'musique-electronique' => array( [maximum depth reached] ), 'electronic-music' => array( [maximum depth reached] ), 'art-et-musees' => array( [maximum depth reached] ), 'art-and-museums' => array( [maximum depth reached] ), 'festivals' => array( [maximum depth reached] ), 'reseautage' => array( [maximum depth reached] ), 'networking' => array( [maximum depth reached] ), 'conferences' => array( [maximum depth reached] ), 'theatre-et-humour' => array( [maximum depth reached] ), 'theater-comedy-shows' => array( [maximum depth reached] ), 'breakfast-brunch' => array( [maximum depth reached] ), 'lgbt' => array( [maximum depth reached] ), 'poutines' => array( [maximum depth reached] ), 'jeux-attractions' => array( [maximum depth reached] ), 'games-amusements' => array( [maximum depth reached] ), 'partir-a-l-aventure' => array( [maximum depth reached] ), 'epic-adventures' => array( [maximum depth reached] ), 'billards' => array( [maximum depth reached] ), 'billiards' => array( [maximum depth reached] ), 'jeux-aquatiques' => array( [maximum depth reached] ), 'water-games' => array( [maximum depth reached] ), 'coups-de-coeur' => array( [maximum depth reached] ), 'best-of' => array( [maximum depth reached] ), 'vieuxport' => array( [maximum depth reached] ), 'old-port' => array( [maximum depth reached] ), 'sud-ouest' => array( [maximum depth reached] ), 'southwest' => array( [maximum depth reached] ), 'mile-end' => array( [maximum depth reached] ), '' => array( [maximum depth reached] ), 'plateau-montroyal' => array( [maximum depth reached] ), 'centre-ville' => array( [maximum depth reached] ), 'downtown' => array( [maximum depth reached] ) ), 'posts' => array( (int) 0 => array( [maximum depth reached] ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ), 'category' => null, 'event' => null, 'language' => 'en', 'oppositeLang' => 'fr', 'isPaymentSuccess' => false, 'browserLanguage' => null, 'blogpost' => null, 'blogposts' => null, 'pulse' => false, 'number_of_blogposts' => (int) 6, 'customPage' => ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ', 'customPageUrl' => 'add-event', 'moment' => 'moment-morning', 'user' => false, 'colors_homepage' => array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) ) $indexedPage = true $title_for_layout = 'Add an activity – So Montréal' $titles = array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ) $hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?' $description_for_layout = '' $categories = array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( 'Category' => array( [maximum depth reached] ) ), (int) 1 => array( 'Category' => array( [maximum depth reached] ) ), (int) 2 => array( 'Category' => array( [maximum depth reached] ) ), (int) 3 => array( 'Category' => array( [maximum depth reached] ) ), (int) 4 => array( 'Category' => array( [maximum depth reached] ) ), (int) 5 => array( 'Category' => array( [maximum depth reached] ) ), (int) 6 => array( 'Category' => array( [maximum depth reached] ) ), (int) 7 => array( 'Category' => array( [maximum depth reached] ) ), (int) 8 => array( 'Category' => array( [maximum depth reached] ) ), (int) 9 => array( 'Category' => array( [maximum depth reached] ) ), (int) 10 => array( 'Category' => array( [maximum depth reached] ) ) ), 'slugs' => array( 'toutes-les-sorties' => array( (int) 0 => (int) 0 ), 'all-events' => array( (int) 0 => (int) 0 ), 'concerts' => array( (int) 0 => (int) 1 ), 'zen-et-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'zen-and-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'jazz' => array( (int) 0 => (int) 1, (int) 1 => (int) 1 ), 'musique-electronique' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'electronic-music' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'art-et-musees' => array( (int) 0 => (int) 2 ), 'art-and-museums' => array( (int) 0 => (int) 2 ), 'festivals' => array( (int) 0 => (int) 3 ), 'reseautage' => array( (int) 0 => (int) 4 ), 'networking' => array( (int) 0 => (int) 4 ), 'conferences' => array( (int) 0 => (int) 4, (int) 1 => (int) 0 ), 'theatre-et-humour' => array( (int) 0 => (int) 5 ), 'theater-comedy-shows' => array( (int) 0 => (int) 5 ), 'breakfast-brunch' => array( (int) 0 => (int) 6 ), 'lgbt' => array( (int) 0 => (int) 7 ), 'poutines' => array( (int) 0 => (int) 8 ), 'jeux-attractions' => array( (int) 0 => (int) 9 ), 'games-amusements' => array( (int) 0 => (int) 9 ), 'partir-a-l-aventure' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'epic-adventures' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'billards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'billiards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'jeux-aquatiques' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'water-games' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'coups-de-coeur' => array( (int) 0 => (int) 10 ), 'best-of' => array( (int) 0 => (int) 10 ), 'vieuxport' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'old-port' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'sud-ouest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'southwest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'mile-end' => array( (int) 0 => (int) 10, (int) 1 => (int) 2 ), '' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'plateau-montroyal' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'centre-ville' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ), 'downtown' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ) ), 'posts' => array( (int) 0 => array( 'post_author' => array( [maximum depth reached] ), 'sharedcount' => (int) 0 ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ) $category = null $event = null $language = 'en' $oppositeLang = 'fr' $isPaymentSuccess = false $browserLanguage = null $blogpost = null $blogposts = null $pulse = false $number_of_blogposts = (int) 6 $customPage = ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ' $customPageUrl = 'add-event' $moment = 'moment-morning' $user = false $colors_homepage = array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) $post = array( 'post_author' => array( 'avatar' => 'https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=128' ), 'sharedcount' => (int) 0 ) $i = (int) 0include - APP/View/Elements/hp-post.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Www/homepage.ctp, line 103 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 WwwController::homepage() - APP/Controller/WwwController.php, line 341 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 AppController::beforeFilter() - APP/Controller/AppController.php, line 96 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Notice (8): Undefined index: link [APP/View/Elements/hp-post.ctp, line 2]
All news
Code Context
" class="hp-post" style="border-color: #7484c1; background: url(<?php if (!CORDOVA && !empty($categories['posts'])) : foreach ($categories['posts'] as $i => $post) : ?><a href="<?= $post['link'] ?>" class="hp-post" style="border-color: <?= $colors_homepage[$i] ?>; background: url(<?= $post['post_rethumb2x'] ?>) center center no-repeat transparent;">
$viewFile = '/var/www/somontreal_app/app/View/Elements/hp-post.ctp' $dataForView = array( 'indexedPage' => true, 'title_for_layout' => 'Add an activity – So Montréal', 'titles' => array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ), 'hometitle_for_layout' => 'So Montréal – What to do in Montreal? When? Where?', 'description_for_layout' => '', 'categories' => array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'slugs' => array( 'toutes-les-sorties' => array( [maximum depth reached] ), 'all-events' => array( [maximum depth reached] ), 'concerts' => array( [maximum depth reached] ), 'zen-et-jazzy' => array( [maximum depth reached] ), 'zen-and-jazzy' => array( [maximum depth reached] ), 'jazz' => array( [maximum depth reached] ), 'musique-electronique' => array( [maximum depth reached] ), 'electronic-music' => array( [maximum depth reached] ), 'art-et-musees' => array( [maximum depth reached] ), 'art-and-museums' => array( [maximum depth reached] ), 'festivals' => array( [maximum depth reached] ), 'reseautage' => array( [maximum depth reached] ), 'networking' => array( [maximum depth reached] ), 'conferences' => array( [maximum depth reached] ), 'theatre-et-humour' => array( [maximum depth reached] ), 'theater-comedy-shows' => array( [maximum depth reached] ), 'breakfast-brunch' => array( [maximum depth reached] ), 'lgbt' => array( [maximum depth reached] ), 'poutines' => array( [maximum depth reached] ), 'jeux-attractions' => array( [maximum depth reached] ), 'games-amusements' => array( [maximum depth reached] ), 'partir-a-l-aventure' => array( [maximum depth reached] ), 'epic-adventures' => array( [maximum depth reached] ), 'billards' => array( [maximum depth reached] ), 'billiards' => array( [maximum depth reached] ), 'jeux-aquatiques' => array( [maximum depth reached] ), 'water-games' => array( [maximum depth reached] ), 'coups-de-coeur' => array( [maximum depth reached] ), 'best-of' => array( [maximum depth reached] ), 'vieuxport' => array( [maximum depth reached] ), 'old-port' => array( [maximum depth reached] ), 'sud-ouest' => array( [maximum depth reached] ), 'southwest' => array( [maximum depth reached] ), 'mile-end' => array( [maximum depth reached] ), '' => array( [maximum depth reached] ), 'plateau-montroyal' => array( [maximum depth reached] ), 'centre-ville' => array( [maximum depth reached] ), 'downtown' => array( [maximum depth reached] ) ), 'posts' => array( (int) 0 => array( [maximum depth reached] ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ), 'category' => null, 'event' => null, 'language' => 'en', 'oppositeLang' => 'fr', 'isPaymentSuccess' => false, 'browserLanguage' => null, 'blogpost' => null, 'blogposts' => null, 'pulse' => false, 'number_of_blogposts' => (int) 6, 'customPage' => ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ', 'customPageUrl' => 'add-event', 'moment' => 'moment-morning', 'user' => false, 'colors_homepage' => array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) ) $indexedPage = true $title_for_layout = 'Add an activity – So Montréal' $titles = array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ) $hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?' $description_for_layout = '' $categories = array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( 'Category' => array( [maximum depth reached] ) ), (int) 1 => array( 'Category' => array( [maximum depth reached] ) ), (int) 2 => array( 'Category' => array( [maximum depth reached] ) ), (int) 3 => array( 'Category' => array( [maximum depth reached] ) ), (int) 4 => array( 'Category' => array( [maximum depth reached] ) ), (int) 5 => array( 'Category' => array( [maximum depth reached] ) ), (int) 6 => array( 'Category' => array( [maximum depth reached] ) ), (int) 7 => array( 'Category' => array( [maximum depth reached] ) ), (int) 8 => array( 'Category' => array( [maximum depth reached] ) ), (int) 9 => array( 'Category' => array( [maximum depth reached] ) ), (int) 10 => array( 'Category' => array( [maximum depth reached] ) ) ), 'slugs' => array( 'toutes-les-sorties' => array( (int) 0 => (int) 0 ), 'all-events' => array( (int) 0 => (int) 0 ), 'concerts' => array( (int) 0 => (int) 1 ), 'zen-et-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'zen-and-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'jazz' => array( (int) 0 => (int) 1, (int) 1 => (int) 1 ), 'musique-electronique' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'electronic-music' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'art-et-musees' => array( (int) 0 => (int) 2 ), 'art-and-museums' => array( (int) 0 => (int) 2 ), 'festivals' => array( (int) 0 => (int) 3 ), 'reseautage' => array( (int) 0 => (int) 4 ), 'networking' => array( (int) 0 => (int) 4 ), 'conferences' => array( (int) 0 => (int) 4, (int) 1 => (int) 0 ), 'theatre-et-humour' => array( (int) 0 => (int) 5 ), 'theater-comedy-shows' => array( (int) 0 => (int) 5 ), 'breakfast-brunch' => array( (int) 0 => (int) 6 ), 'lgbt' => array( (int) 0 => (int) 7 ), 'poutines' => array( (int) 0 => (int) 8 ), 'jeux-attractions' => array( (int) 0 => (int) 9 ), 'games-amusements' => array( (int) 0 => (int) 9 ), 'partir-a-l-aventure' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'epic-adventures' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'billards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'billiards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'jeux-aquatiques' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'water-games' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'coups-de-coeur' => array( (int) 0 => (int) 10 ), 'best-of' => array( (int) 0 => (int) 10 ), 'vieuxport' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'old-port' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'sud-ouest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'southwest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'mile-end' => array( (int) 0 => (int) 10, (int) 1 => (int) 2 ), '' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'plateau-montroyal' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'centre-ville' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ), 'downtown' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ) ), 'posts' => array( (int) 0 => array( 'post_author' => array( [maximum depth reached] ), 'sharedcount' => (int) 0 ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ) $category = null $event = null $language = 'en' $oppositeLang = 'fr' $isPaymentSuccess = false $browserLanguage = null $blogpost = null $blogposts = null $pulse = false $number_of_blogposts = (int) 6 $customPage = ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ' $customPageUrl = 'add-event' $moment = 'moment-morning' $user = false $colors_homepage = array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) $post = array( 'post_author' => array( 'avatar' => 'https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=128' ), 'sharedcount' => (int) 0 ) $i = (int) 0include - APP/View/Elements/hp-post.ctp, line 2 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Www/homepage.ctp, line 117 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 WwwController::homepage() - APP/Controller/WwwController.php, line 341 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 AppController::beforeFilter() - APP/Controller/AppController.php, line 96 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Notice (8): Undefined index: post_rethumb2x [APP/View/Elements/hp-post.ctp, line 2]) center center no-repeat transparent;">Code Context<?php if (!CORDOVA && !empty($categories['posts'])) : foreach ($categories['posts'] as $i => $post) : ?><a href="<?= $post['link'] ?>" class="hp-post" style="border-color: <?= $colors_homepage[$i] ?>; background: url(<?= $post['post_rethumb2x'] ?>) center center no-repeat transparent;">$viewFile = '/var/www/somontreal_app/app/View/Elements/hp-post.ctp' $dataForView = array( 'indexedPage' => true, 'title_for_layout' => 'Add an activity – So Montréal', 'titles' => array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ), 'hometitle_for_layout' => 'So Montréal – What to do in Montreal? When? Where?', 'description_for_layout' => '', 'categories' => array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'slugs' => array( 'toutes-les-sorties' => array( [maximum depth reached] ), 'all-events' => array( [maximum depth reached] ), 'concerts' => array( [maximum depth reached] ), 'zen-et-jazzy' => array( [maximum depth reached] ), 'zen-and-jazzy' => array( [maximum depth reached] ), 'jazz' => array( [maximum depth reached] ), 'musique-electronique' => array( [maximum depth reached] ), 'electronic-music' => array( [maximum depth reached] ), 'art-et-musees' => array( [maximum depth reached] ), 'art-and-museums' => array( [maximum depth reached] ), 'festivals' => array( [maximum depth reached] ), 'reseautage' => array( [maximum depth reached] ), 'networking' => array( [maximum depth reached] ), 'conferences' => array( [maximum depth reached] ), 'theatre-et-humour' => array( [maximum depth reached] ), 'theater-comedy-shows' => array( [maximum depth reached] ), 'breakfast-brunch' => array( [maximum depth reached] ), 'lgbt' => array( [maximum depth reached] ), 'poutines' => array( [maximum depth reached] ), 'jeux-attractions' => array( [maximum depth reached] ), 'games-amusements' => array( [maximum depth reached] ), 'partir-a-l-aventure' => array( [maximum depth reached] ), 'epic-adventures' => array( [maximum depth reached] ), 'billards' => array( [maximum depth reached] ), 'billiards' => array( [maximum depth reached] ), 'jeux-aquatiques' => array( [maximum depth reached] ), 'water-games' => array( [maximum depth reached] ), 'coups-de-coeur' => array( [maximum depth reached] ), 'best-of' => array( [maximum depth reached] ), 'vieuxport' => array( [maximum depth reached] ), 'old-port' => array( [maximum depth reached] ), 'sud-ouest' => array( [maximum depth reached] ), 'southwest' => array( [maximum depth reached] ), 'mile-end' => array( [maximum depth reached] ), '' => array( [maximum depth reached] ), 'plateau-montroyal' => array( [maximum depth reached] ), 'centre-ville' => array( [maximum depth reached] ), 'downtown' => array( [maximum depth reached] ) ), 'posts' => array( (int) 0 => array( [maximum depth reached] ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ), 'category' => null, 'event' => null, 'language' => 'en', 'oppositeLang' => 'fr', 'isPaymentSuccess' => false, 'browserLanguage' => null, 'blogpost' => null, 'blogposts' => null, 'pulse' => false, 'number_of_blogposts' => (int) 6, 'customPage' => ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ', 'customPageUrl' => 'add-event', 'moment' => 'moment-morning', 'user' => false, 'colors_homepage' => array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) ) $indexedPage = true $title_for_layout = 'Add an activity – So Montréal' $titles = array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ) $hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?' $description_for_layout = '' $categories = array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( 'Category' => array( [maximum depth reached] ) ), (int) 1 => array( 'Category' => array( [maximum depth reached] ) ), (int) 2 => array( 'Category' => array( [maximum depth reached] ) ), (int) 3 => array( 'Category' => array( [maximum depth reached] ) ), (int) 4 => array( 'Category' => array( [maximum depth reached] ) ), (int) 5 => array( 'Category' => array( [maximum depth reached] ) ), (int) 6 => array( 'Category' => array( [maximum depth reached] ) ), (int) 7 => array( 'Category' => array( [maximum depth reached] ) ), (int) 8 => array( 'Category' => array( [maximum depth reached] ) ), (int) 9 => array( 'Category' => array( [maximum depth reached] ) ), (int) 10 => array( 'Category' => array( [maximum depth reached] ) ) ), 'slugs' => array( 'toutes-les-sorties' => array( (int) 0 => (int) 0 ), 'all-events' => array( (int) 0 => (int) 0 ), 'concerts' => array( (int) 0 => (int) 1 ), 'zen-et-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'zen-and-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'jazz' => array( (int) 0 => (int) 1, (int) 1 => (int) 1 ), 'musique-electronique' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'electronic-music' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'art-et-musees' => array( (int) 0 => (int) 2 ), 'art-and-museums' => array( (int) 0 => (int) 2 ), 'festivals' => array( (int) 0 => (int) 3 ), 'reseautage' => array( (int) 0 => (int) 4 ), 'networking' => array( (int) 0 => (int) 4 ), 'conferences' => array( (int) 0 => (int) 4, (int) 1 => (int) 0 ), 'theatre-et-humour' => array( (int) 0 => (int) 5 ), 'theater-comedy-shows' => array( (int) 0 => (int) 5 ), 'breakfast-brunch' => array( (int) 0 => (int) 6 ), 'lgbt' => array( (int) 0 => (int) 7 ), 'poutines' => array( (int) 0 => (int) 8 ), 'jeux-attractions' => array( (int) 0 => (int) 9 ), 'games-amusements' => array( (int) 0 => (int) 9 ), 'partir-a-l-aventure' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'epic-adventures' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'billards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'billiards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'jeux-aquatiques' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'water-games' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'coups-de-coeur' => array( (int) 0 => (int) 10 ), 'best-of' => array( (int) 0 => (int) 10 ), 'vieuxport' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'old-port' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'sud-ouest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'southwest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'mile-end' => array( (int) 0 => (int) 10, (int) 1 => (int) 2 ), '' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'plateau-montroyal' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'centre-ville' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ), 'downtown' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ) ), 'posts' => array( (int) 0 => array( 'post_author' => array( [maximum depth reached] ), 'sharedcount' => (int) 0 ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ) $category = null $event = null $language = 'en' $oppositeLang = 'fr' $isPaymentSuccess = false $browserLanguage = null $blogpost = null $blogposts = null $pulse = false $number_of_blogposts = (int) 6 $customPage = ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ' $customPageUrl = 'add-event' $moment = 'moment-morning' $user = false $colors_homepage = array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) $post = array( 'post_author' => array( 'avatar' => 'https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=128' ), 'sharedcount' => (int) 0 ) $i = (int) 0include - APP/View/Elements/hp-post.ctp, line 2 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Www/homepage.ctp, line 117 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 WwwController::homepage() - APP/Controller/WwwController.php, line 341 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 AppController::beforeFilter() - APP/Controller/AppController.php, line 96 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Notice (8): Undefined index: post_title [APP/View/Elements/hp-post.ctp, line 13]Code Context <?php endif; ?> <h3> <span><?= $post['post_title'] ?></span>
$viewFile = '/var/www/somontreal_app/app/View/Elements/hp-post.ctp' $dataForView = array( 'indexedPage' => true, 'title_for_layout' => 'Add an activity – So Montréal', 'titles' => array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ), 'hometitle_for_layout' => 'So Montréal – What to do in Montreal? When? Where?', 'description_for_layout' => '', 'categories' => array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'slugs' => array( 'toutes-les-sorties' => array( [maximum depth reached] ), 'all-events' => array( [maximum depth reached] ), 'concerts' => array( [maximum depth reached] ), 'zen-et-jazzy' => array( [maximum depth reached] ), 'zen-and-jazzy' => array( [maximum depth reached] ), 'jazz' => array( [maximum depth reached] ), 'musique-electronique' => array( [maximum depth reached] ), 'electronic-music' => array( [maximum depth reached] ), 'art-et-musees' => array( [maximum depth reached] ), 'art-and-museums' => array( [maximum depth reached] ), 'festivals' => array( [maximum depth reached] ), 'reseautage' => array( [maximum depth reached] ), 'networking' => array( [maximum depth reached] ), 'conferences' => array( [maximum depth reached] ), 'theatre-et-humour' => array( [maximum depth reached] ), 'theater-comedy-shows' => array( [maximum depth reached] ), 'breakfast-brunch' => array( [maximum depth reached] ), 'lgbt' => array( [maximum depth reached] ), 'poutines' => array( [maximum depth reached] ), 'jeux-attractions' => array( [maximum depth reached] ), 'games-amusements' => array( [maximum depth reached] ), 'partir-a-l-aventure' => array( [maximum depth reached] ), 'epic-adventures' => array( [maximum depth reached] ), 'billards' => array( [maximum depth reached] ), 'billiards' => array( [maximum depth reached] ), 'jeux-aquatiques' => array( [maximum depth reached] ), 'water-games' => array( [maximum depth reached] ), 'coups-de-coeur' => array( [maximum depth reached] ), 'best-of' => array( [maximum depth reached] ), 'vieuxport' => array( [maximum depth reached] ), 'old-port' => array( [maximum depth reached] ), 'sud-ouest' => array( [maximum depth reached] ), 'southwest' => array( [maximum depth reached] ), 'mile-end' => array( [maximum depth reached] ), '' => array( [maximum depth reached] ), 'plateau-montroyal' => array( [maximum depth reached] ), 'centre-ville' => array( [maximum depth reached] ), 'downtown' => array( [maximum depth reached] ) ), 'posts' => array( (int) 0 => array( [maximum depth reached] ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ), 'category' => null, 'event' => null, 'language' => 'en', 'oppositeLang' => 'fr', 'isPaymentSuccess' => false, 'browserLanguage' => null, 'blogpost' => null, 'blogposts' => null, 'pulse' => false, 'number_of_blogposts' => (int) 6, 'customPage' => ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ', 'customPageUrl' => 'add-event', 'moment' => 'moment-morning', 'user' => false, 'colors_homepage' => array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) ) $indexedPage = true $title_for_layout = 'Add an activity – So Montréal' $titles = array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ) $hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?' $description_for_layout = '' $categories = array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( 'Category' => array( [maximum depth reached] ) ), (int) 1 => array( 'Category' => array( [maximum depth reached] ) ), (int) 2 => array( 'Category' => array( [maximum depth reached] ) ), (int) 3 => array( 'Category' => array( [maximum depth reached] ) ), (int) 4 => array( 'Category' => array( [maximum depth reached] ) ), (int) 5 => array( 'Category' => array( [maximum depth reached] ) ), (int) 6 => array( 'Category' => array( [maximum depth reached] ) ), (int) 7 => array( 'Category' => array( [maximum depth reached] ) ), (int) 8 => array( 'Category' => array( [maximum depth reached] ) ), (int) 9 => array( 'Category' => array( [maximum depth reached] ) ), (int) 10 => array( 'Category' => array( [maximum depth reached] ) ) ), 'slugs' => array( 'toutes-les-sorties' => array( (int) 0 => (int) 0 ), 'all-events' => array( (int) 0 => (int) 0 ), 'concerts' => array( (int) 0 => (int) 1 ), 'zen-et-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'zen-and-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'jazz' => array( (int) 0 => (int) 1, (int) 1 => (int) 1 ), 'musique-electronique' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'electronic-music' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'art-et-musees' => array( (int) 0 => (int) 2 ), 'art-and-museums' => array( (int) 0 => (int) 2 ), 'festivals' => array( (int) 0 => (int) 3 ), 'reseautage' => array( (int) 0 => (int) 4 ), 'networking' => array( (int) 0 => (int) 4 ), 'conferences' => array( (int) 0 => (int) 4, (int) 1 => (int) 0 ), 'theatre-et-humour' => array( (int) 0 => (int) 5 ), 'theater-comedy-shows' => array( (int) 0 => (int) 5 ), 'breakfast-brunch' => array( (int) 0 => (int) 6 ), 'lgbt' => array( (int) 0 => (int) 7 ), 'poutines' => array( (int) 0 => (int) 8 ), 'jeux-attractions' => array( (int) 0 => (int) 9 ), 'games-amusements' => array( (int) 0 => (int) 9 ), 'partir-a-l-aventure' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'epic-adventures' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'billards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'billiards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'jeux-aquatiques' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'water-games' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'coups-de-coeur' => array( (int) 0 => (int) 10 ), 'best-of' => array( (int) 0 => (int) 10 ), 'vieuxport' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'old-port' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'sud-ouest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'southwest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'mile-end' => array( (int) 0 => (int) 10, (int) 1 => (int) 2 ), '' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'plateau-montroyal' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'centre-ville' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ), 'downtown' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ) ), 'posts' => array( (int) 0 => array( 'post_author' => array( [maximum depth reached] ), 'sharedcount' => (int) 0 ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ) $category = null $event = null $language = 'en' $oppositeLang = 'fr' $isPaymentSuccess = false $browserLanguage = null $blogpost = null $blogposts = null $pulse = false $number_of_blogposts = (int) 6 $customPage = ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ' $customPageUrl = 'add-event' $moment = 'moment-morning' $user = false $colors_homepage = array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) $post = array( 'post_author' => array( 'avatar' => 'https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=128' ), 'sharedcount' => (int) 0 ) $i = (int) 0include - APP/View/Elements/hp-post.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Www/homepage.ctp, line 117 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 WwwController::homepage() - APP/Controller/WwwController.php, line 341 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 AppController::beforeFilter() - APP/Controller/AppController.php, line 96 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
All news Code Context
<?php endif; ?><h3><span><?= $post['post_title'] ?></span>
$viewFile = '/var/www/somontreal_app/app/View/Elements/hp-post.ctp' $dataForView = array( 'indexedPage' => true, 'title_for_layout' => 'Add an activity – So Montréal', 'titles' => array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ), 'hometitle_for_layout' => 'So Montréal – What to do in Montreal? When? Where?', 'description_for_layout' => '', 'categories' => array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'slugs' => array( 'toutes-les-sorties' => array( [maximum depth reached] ), 'all-events' => array( [maximum depth reached] ), 'concerts' => array( [maximum depth reached] ), 'zen-et-jazzy' => array( [maximum depth reached] ), 'zen-and-jazzy' => array( [maximum depth reached] ), 'jazz' => array( [maximum depth reached] ), 'musique-electronique' => array( [maximum depth reached] ), 'electronic-music' => array( [maximum depth reached] ), 'art-et-musees' => array( [maximum depth reached] ), 'art-and-museums' => array( [maximum depth reached] ), 'festivals' => array( [maximum depth reached] ), 'reseautage' => array( [maximum depth reached] ), 'networking' => array( [maximum depth reached] ), 'conferences' => array( [maximum depth reached] ), 'theatre-et-humour' => array( [maximum depth reached] ), 'theater-comedy-shows' => array( [maximum depth reached] ), 'breakfast-brunch' => array( [maximum depth reached] ), 'lgbt' => array( [maximum depth reached] ), 'poutines' => array( [maximum depth reached] ), 'jeux-attractions' => array( [maximum depth reached] ), 'games-amusements' => array( [maximum depth reached] ), 'partir-a-l-aventure' => array( [maximum depth reached] ), 'epic-adventures' => array( [maximum depth reached] ), 'billards' => array( [maximum depth reached] ), 'billiards' => array( [maximum depth reached] ), 'jeux-aquatiques' => array( [maximum depth reached] ), 'water-games' => array( [maximum depth reached] ), 'coups-de-coeur' => array( [maximum depth reached] ), 'best-of' => array( [maximum depth reached] ), 'vieuxport' => array( [maximum depth reached] ), 'old-port' => array( [maximum depth reached] ), 'sud-ouest' => array( [maximum depth reached] ), 'southwest' => array( [maximum depth reached] ), 'mile-end' => array( [maximum depth reached] ), '' => array( [maximum depth reached] ), 'plateau-montroyal' => array( [maximum depth reached] ), 'centre-ville' => array( [maximum depth reached] ), 'downtown' => array( [maximum depth reached] ) ), 'posts' => array( (int) 0 => array( [maximum depth reached] ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ), 'category' => null, 'event' => null, 'language' => 'en', 'oppositeLang' => 'fr', 'isPaymentSuccess' => false, 'browserLanguage' => null, 'blogpost' => null, 'blogposts' => null, 'pulse' => false, 'number_of_blogposts' => (int) 6, 'customPage' => ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ', 'customPageUrl' => 'add-event', 'moment' => 'moment-morning', 'user' => false, 'colors_homepage' => array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) ) $indexedPage = true $title_for_layout = 'Add an activity – So Montréal' $titles = array( 'fr' => 'So Montréal', 'en' => 'So Montréal', 'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.', 'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.', 'blog_title' => 'Toutes les nouvelles', 'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.', 'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?', 'short_description_en' => 'What to do in Montreal? When? Where?', 'a-propos' => 'À propos de notre projet', 'about' => 'About our project', 'contact' => 'Contact', 'mentions-legales' => 'Mentions Légales', 'legals' => 'Legals', 'add-event' => 'Add an activity', 'ajouter' => 'Ajouter une activité', 'edit' => 'Edit an activity', 'editer' => 'Modifier une activité', 'partners' => 'Partners', 'partenaires' => 'Partenaires' ) $hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?' $description_for_layout = '' $categories = array( 'labels' => array( 'title_fr' => 'Quoi faire<span class="at-mtl"> à Montréal</span>|<span class="dayname">aujourd'hui<span>▼</span></span> <span class="qmark">?</span>', 'title_en' => 'What to do<span class="at-mtl"> in Montreal</span>|<span class="dayname">today<span>▼</span></span> <span class="qmark">?</span>' ), 'categories' => array( (int) 0 => array( 'Category' => array( [maximum depth reached] ) ), (int) 1 => array( 'Category' => array( [maximum depth reached] ) ), (int) 2 => array( 'Category' => array( [maximum depth reached] ) ), (int) 3 => array( 'Category' => array( [maximum depth reached] ) ), (int) 4 => array( 'Category' => array( [maximum depth reached] ) ), (int) 5 => array( 'Category' => array( [maximum depth reached] ) ), (int) 6 => array( 'Category' => array( [maximum depth reached] ) ), (int) 7 => array( 'Category' => array( [maximum depth reached] ) ), (int) 8 => array( 'Category' => array( [maximum depth reached] ) ), (int) 9 => array( 'Category' => array( [maximum depth reached] ) ), (int) 10 => array( 'Category' => array( [maximum depth reached] ) ) ), 'slugs' => array( 'toutes-les-sorties' => array( (int) 0 => (int) 0 ), 'all-events' => array( (int) 0 => (int) 0 ), 'concerts' => array( (int) 0 => (int) 1 ), 'zen-et-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'zen-and-jazzy' => array( (int) 0 => (int) 1, (int) 1 => (int) 0 ), 'jazz' => array( (int) 0 => (int) 1, (int) 1 => (int) 1 ), 'musique-electronique' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'electronic-music' => array( (int) 0 => (int) 1, (int) 1 => (int) 2 ), 'art-et-musees' => array( (int) 0 => (int) 2 ), 'art-and-museums' => array( (int) 0 => (int) 2 ), 'festivals' => array( (int) 0 => (int) 3 ), 'reseautage' => array( (int) 0 => (int) 4 ), 'networking' => array( (int) 0 => (int) 4 ), 'conferences' => array( (int) 0 => (int) 4, (int) 1 => (int) 0 ), 'theatre-et-humour' => array( (int) 0 => (int) 5 ), 'theater-comedy-shows' => array( (int) 0 => (int) 5 ), 'breakfast-brunch' => array( (int) 0 => (int) 6 ), 'lgbt' => array( (int) 0 => (int) 7 ), 'poutines' => array( (int) 0 => (int) 8 ), 'jeux-attractions' => array( (int) 0 => (int) 9 ), 'games-amusements' => array( (int) 0 => (int) 9 ), 'partir-a-l-aventure' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'epic-adventures' => array( (int) 0 => (int) 9, (int) 1 => (int) 0 ), 'billards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'billiards' => array( (int) 0 => (int) 9, (int) 1 => (int) 1 ), 'jeux-aquatiques' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'water-games' => array( (int) 0 => (int) 9, (int) 1 => (int) 2 ), 'coups-de-coeur' => array( (int) 0 => (int) 10 ), 'best-of' => array( (int) 0 => (int) 10 ), 'vieuxport' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'old-port' => array( (int) 0 => (int) 10, (int) 1 => (int) 0 ), 'sud-ouest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'southwest' => array( (int) 0 => (int) 10, (int) 1 => (int) 1 ), 'mile-end' => array( (int) 0 => (int) 10, (int) 1 => (int) 2 ), '' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'plateau-montroyal' => array( (int) 0 => (int) 10, (int) 1 => (int) 3 ), 'centre-ville' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ), 'downtown' => array( (int) 0 => (int) 10, (int) 1 => (int) 4 ) ), 'posts' => array( (int) 0 => array( 'post_author' => array( [maximum depth reached] ), 'sharedcount' => (int) 0 ) ), 'actualMoment' => 'tuesday_morning', 'realMoment' => 'morning', 'actualDateFormat' => array( 'lang_fr' => 'aujourd'hui', 'lang_en' => 'tuesday morning' ), 'adfrequency' => (int) 5, 'adfrequencycordova' => (int) 999, 'enabledadscordova' => (int) 0 ) $category = null $event = null $language = 'en' $oppositeLang = 'fr' $isPaymentSuccess = false $browserLanguage = null $blogpost = null $blogposts = null $pulse = false $number_of_blogposts = (int) 6 $customPage = ' <div class="head add-event"> <h2>Add an activity</h2> </div> <div id="payment" class="single-page"> <div class="form-event"> <div class="step1"> <!--<a href="#" class="manual selected" data-step="mn"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add an activity manually </span> </a> <a href="#" class="facebook" data-step="fb"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="415.582px" height="415.582px" viewBox="0 0 415.582 415.582" xml:space="preserve"><g><path d="M411.47,96.426l-46.319-46.32c-5.482-5.482-14.371-5.482-19.853,0L152.348,243.058l-82.066-82.064c-5.48-5.482-14.37-5.482-19.851,0l-46.319,46.32c-5.482,5.481-5.482,14.37,0,19.852l138.311,138.31c2.741,2.742,6.334,4.112,9.926,4.112c3.593,0,7.186-1.37,9.926-4.112L411.47,116.277c2.633-2.632,4.111-6.203,4.111-9.925C415.582,102.628,414.103,99.059,411.47,96.426z"/></g></svg> <span> Add all your future Facebook events in one click </span> </a>--> </div> <div class="step2"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Title in French</span> </label> <div class="cell"> <input name="title_fr" value="" placeholder="Title in French" data-validation="length" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Titre in English</span> </label> <div class="cell"> <input name="title_en" value="" placeholder="Title in English" data-validation="length required" data-validation-length="0-255" data-validation-error-msg="Veuillez entrer un titre jusqu'à 255 caractères." data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="">Description in French</span> </label> <div class="cell"> <textarea class="description" name="description_fr" data-validation-optional="true"></textarea> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Description in English</span> </label> <div class="cell"> <textarea class="description" name="description_en"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add price-input"> <label> <span>Price</span> <span class="italic">Leave the field blank if it's free.</span> </label> <div class="cell"> <input name="price" value="" placeholder="Minimum / Regular price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> <div class="cell"> <input name="price_max" value="" placeholder="Maximum price" data-validation="number" data-validation-allowing="float" data-validation-decimal-separator="." data-validation-error-msg="The price format should be like : 20.00" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span>Website link</span> </label> <div class="cell" > <input name="event_link" value="" placeholder="http://" data-validation="url" data-validation-error-msg="This URL is not valid." data-validation-optional="true"/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Youtube link</span> </label> <div class="cell"> <input name="youtube_id" value="" placeholder="http://" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span class="mandatory">Picture</span> </label> <div class="cell"> <input type="file" name="image" data-validation="mime size" data-validation-max-size="500kb" data-validation-allowing="jpg, png, jpeg" data-validation-error-msg="The file should be in jpg or png, and the file size should be less than 500kb."/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row event-date border-add"> <label> <span class="mandatory">Event date(s) / schedule(s)</span> <span class="italic">Please use the 24h format, example: 21-11-2026 15:00</span> </label> <div class="one-date clearfix"> <div class="cell"> <input name="Eventdate[0][date_start]" value="" placeholder="When does your event start ?" /> </div> <div class="cell"> <input name="Eventdate[0][date_end]" value="" placeholder="When does your event end ?" /> </div> </div> <div class="add-another-date"> + add another date </div> </div> </div> <div class="row"> <div class="small-12 columns form-row autocomplete"> <label> <span class="mandatory">Address / place</span> </label> <div class="cell"> <input type="text" class="place_id" value="" placeholder="Start to type and select your place in the list" data-validation="required" data-validation-error-msg="Start to type and select your place in the list"/> <input type="hidden" name="place_id" value="" /> <div class="results"> <p><strong><em class="results">results :</em></strong></p> <ul> </ul> <a href="#" class="no_place">The location is not listed?</a> <div class="add-place"> <h3>Add a new place</h3> <textarea name="new_place"></textarea> </div> </div> </div> </div> </div> <!--<div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Informations complétentaires</span> <span class="italic">Indiquez si votre activité est récurrente, ou toute autre information destinée à notre équipe.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="20-400" data-validation-error-msg="Veuillez taper une phrase de 20 à 400 caractères." data-validation-optional="true"></textarea> </div> </div> </div>--> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Your email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="yourname@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true"/> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> <div class="step3"> <form action="/api/payment" method="POST" class="payment-form" enctype="multipart/form-data"> <div class="row"> <div class="small-12 columns form-row"> <label> <span class="mandatory">Facebook Event link or Facebook Page link</span> </label> <div class="cell"> <input name="facebook_url" placeholder="http://www.facebook.com/Montrealenlumiere/" data-validation="custom required" data-validation-regexp="http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/.+?$" data-validation-error-msg="Please put a valid Facebook URL."/> </div> </div> </div> <div class="row"> <div class="small-12 large-6 columns form-row"> <label> <span class="mandatory">Email address</span> </label> <div class="cell"> <input name="email" type="text" placeholder="votrenom@gmail.com" data-validation="email required" data-validation-error-msg="Please put your email address, it will not be displayed."/> </div> </div> <div class="small-12 large-6 columns form-row"> <label> <span>Phone</span> </label> <div class="cell"> <input name="phone" type="text" placeholder="514 999-9999" data-validation="custom" data-validation-optional="true" /> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row border-add"> <label> <span>Further information</span> <span class="italic">Indicate if your activity is recurring, or any other information intended for our team.</span> </label> <div class="cell"> <textarea name="informations" data-validation="length" data-validation-length="1-1000" data-validation-error-msg="Please insert a description of less than 1000 characters." data-validation-optional="true"></textarea> </div> </div> </div> <div class="row"> <div class="small-12 columns form-row"> <label> </label> <div class="cell"> <button value="validate" type="submit">Submit</button> </div> </div> </div> </form> </div> </div> <div class="success-event"> <span>Thank you! Your event will be verified within the next 24 hours.<br/>It will only be displayed <u>on the event date(s)</u>, starting the <strong class="event-date"></strong>.</span> <div class="upgrade"> <img src="https://somontreal.ca/www-html/img/somontreal-upgrade-bg.jpg" /> <div class="panel panel-primary "> <div class="panel-heading"><h3 class="panel-title text-center">Visibility offer</h3></div> <div class="panel-body text-center"> <p>Boost the promotion of your event for only</p> <h2 class="panel-price">44.99 $CAD</h2> <dl> <dt>Post of your event on <a href="https://www.facebook.com/SoMontreal/" target="_blank">So Montreal Facebook page</a> with 16,300 fans</dt> <dt><em class="plus">+</em>Pre-listed <strong>1 week</strong> prior to your event</dt> <dt><em class="plus">+</em>Featured <strong>on top of page with a red background</strong> in the «Must-see events» section</dt> </dl> </div> <div class="panel-footer text-center"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input name="currency_code" type="hidden" value="CAD"> <input name="shipping" type="hidden" value="0.00"> <input name="amount" type="hidden" value="44.99"> <input name="tax" type="hidden" value="0.00"> <input name="return" type="hidden" value="https://www.somontreal.ca/en/?payment=success"> <input name="cancel_return" type="hidden" value="https://www.somontreal.ca/en/add-event"> <input name="cmd" type="hidden" value="_xclick"> <input name="business" type="hidden" value="ludovic@somontreal.ca"> <input name="item_name" type="hidden" value=""> <input name="bn" type="hidden" value="PP-BuyNowBF"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="no_shipping" value="1"> <input name="custom" type="hidden" value=""> <div class="submit"><input class="btn btn-primary" type="submit" value="Pay with Paypal"></div></form> <a href="/en/contact" class="btn">Contact us for more info</a> </div> </div> <span class="heading">So Montreal has <strong>75,000</strong> MTL lovers who visit the website and the app each month. It's also a community of <strong>59,000</strong> followers on Instagram and <strong>16,300</strong> fans on Facebook.</span> </div> </div> </div> ' $customPageUrl = 'add-event' $moment = 'moment-morning' $user = false $colors_homepage = array( (int) 0 => '#7484c1', (int) 1 => '#da3743', (int) 2 => '#f0a64d', (int) 3 => '#6bc9b9', (int) 4 => '#67aef8', (int) 5 => '#ea5370', (int) 6 => '#aec174' ) $post = array( 'post_author' => array( 'avatar' => 'https://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=128' ), 'sharedcount' => (int) 0 ) $i = (int) 0include - APP/View/Elements/hp-post.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Www/homepage.ctp, line 117 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 WwwController::homepage() - APP/Controller/WwwController.php, line 341 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 AppController::beforeFilter() - APP/Controller/AppController.php, line 96 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
1
All events
30
Concerts
38
Art & Museums
17
Festivals & Markets
3
5 to 7 & Networking
7
Plays & Comedy
264
Breakfast & Brunch
15
LGBT
1015
Poutines
90
Games & Amusements
41
So Montreal's best of
Add an activity
Thank you! Your event will be verified within the next 24 hours.
It will only be displayed on the event date(s), starting the .
So Montreal has 75,000 MTL lovers who visit the website and the app each month. It's also a community of 59,000 followers on Instagram and 16,300 fans on Facebook.
It will only be displayed on the event date(s), starting the .
Visibility offer
Boost the promotion of your event for only
44.99 $CAD
- Post of your event on So Montreal Facebook page with 16,300 fans
- +Pre-listed 1 week prior to your event
- +Featured on top of page with a red background in the «Must-see events» section