Forum Replies Created
- AuthorPosts
lucmercx
ParticipantWorks perfect, thanks for the superfast reply!
lucmercx
ParticipantOther question, the input in the field is now month/day/year
I would like to have it in Dutch: day-month-year of day/month/yearThanks in advance!
lucmercx
ParticipantHello,
This works perfect for me, except for the translation. I use a dutch calender but the calender created with the script is in English. What file can I change to get a dutch calender?
lucmercx
ParticipantThanks, this does the trick. The item van be closed now. Thank you very much for the good support!
March 26, 2014 at 8:19 am in reply to: Fill field with variable with command in the theme file #9332lucmercx
ParticipantDear Ally,
Thanks for your reply, I have done the following:
– update to 1.4.14
– Placed the line:
<?php if (function_exists('iphorm_popup')) echo iphorm_popup(2, 'OFFERTE AANVRAGEN', '','tour=' . get_the_title()); ?>
No form will pop-up. If I add an empty variable in the line so the filling of variable tour is on the fourth position, it will work, only it shows on the form the title of the first event, no matter which button I use.
<?php if (function_exists('iphorm_popup')) echo iphorm_popup(2, 'OFFERTE AANVRAGEN', '','tour=' . get_the_title()); ?>
I have here the code used to generate the page with a list off all events:
{foreach $posts as $item}
{first}<ul class="items">{/first}
<li class="item clear{ifset $item->packageClass} {$item->packageClass}{/ifset}{ifset $item->optionsDir['featured']} featured{/ifset}">
{if $item->thumbnailDir}
<div class="thumbnail">
link}">thumbnailDir, w => 155, h => 115}" alt="{__ 'Item thumbnail'}">
</div>
{/if}
<div class="description">
<div class="desc-head">
<h3>link}">{$item->title}
<div class="item">min. <?php the_field('personen'); ?> personen | tijdsduur <?php the_field('tijdsduur'); ?></div>
</h3>{if $item->rating}
<div class="item-rating">
{for $i = 1; $i <= $item->rating['max']; $i++}
<div class="star{if $i <= $item->rating['val']} active{/if}"></div>
{/for}
</div>
{/if}
{var $lp = getTourPrice($item->id)}
{if $lp}<div class="item-price"><span><span>{$lp}</span></span></div>{/if}
</div>
<div class="desc-text">
link}">{!$item->excerpt}
</div>
<div>
<div class="sc-button"">
<span class="border"><span class="wrap"><span class="title"><?php if (function_exists('iphorm_popup')) echo iphorm_popup(2, 'OFFERTE AANVRAGEN', '','tour=' . get_the_title()); ?></span></span></span></div>
<div class="sc-button">
<span class="border"><span class="wrap"><span class="title">link}">LEES MEER</span></span></span></div>
</div>
</div>{last}{/last}
{/foreach}
I’ve stripped the code from inline styles.Thanks in advance…
March 25, 2014 at 3:57 pm in reply to: Fill field with variable with command in the theme file #9313lucmercx
ParticipantHello Ally,
When I use this line the form will not “popup”. In fact it only returns to the top of the page.
I used this line:
<?php if (function_exists('iphorm_popup')) echo iphorm_popup(2, 'OFFERTE AANVRAGEN', 'tour=' . get_the_title()); ?>
On this site: http://www.stadswandelingen-in-amsterdam.nl/type/wandel/
I use it on the button “Offerte aanvragen” (request an offer).
- AuthorPosts