VaeML Thu, 01 Nov 12 02:39:15 -0400 VaeML en-CA Previous orders items Wed, 17 Oct 2012 01:35:25 -0400 brandonsavoy 315@/discussions
I would like to do something like this:

<v:collection path="items">
// cart item info here

Is there something else I can do as a work around or am I just not doing something correct.

Thanks in advance,
Using v:if total_items to determine no items Mon, 20 Aug 2012 19:02:48 -0400 seb 312@/discussions
This works:
<v:if total_items="1"><li>One item</li></v:if>

But this does not:
<v:if total_items="0"><li>Zero items</li></v:if>

It would also be nice if you could use operators within total_items.
Targeting default or selected entry in a collection Thu, 09 Aug 2012 03:25:15 -0400 sbrekken 308@/discussions
Below is my current implementation, is there an easier way?

<v:if param="id">
<v:template filename="entry" />
<v:collection path="entries" limit="1">
<v:template filename="entry" />
Dates in RSS Feeds Thu, 29 Sep 2011 11:25:45 -0400 Scott 159@/discussions]]>
v:collection with v:if and v:pagination Fri, 10 Aug 2012 12:33:31 -0400 adam_crvn 310@/discussions
iterates through 24 collection items

<v:collection path="items" id="itemCollection" paginate="24">

15 of those items make it through the v:if

<v:if path="filterResultsWithPHP(<v->)">

pagination iterates by multiples of 24 when only 15 items are shown

<v:pagination id="itemCollection" />
Generating wrapped next/previous entry links Sat, 23 Jun 2012 02:47:58 -0400 sbrekken 297@/discussions
So far I'm able to generate the next and previous links but I'm struggling on how to link the next link of the last item to the first item in the collection.

<v:section path="prev()">
Previous: <v:a><v:text path="name" /></v:a>
<v:section path="next()">
Next: <v:a><v:text path="name" /></v:a>

Any ideas?]]>
Autogenerating permalinks with a date Mon, 23 Jul 2012 17:44:02 -0400 michael 304@/discussions

v:store:tag formatting Fri, 20 Jul 2012 10:05:33 -0400 adam_crvn 303@/discussions
<v:store:item:price number_format="2" />
Options structure Wed, 22 Sep 2010 15:18:58 -0400 michael 12@/discussions
Is this structure going to be ready soon or should I be pursuing other options for color/size combos for a store?]]>
passing the barcode field via an input element Fri, 13 Jul 2012 16:35:29 -0400 michael 301@/discussions <v:store:add_to_cart barcode="123456" ></v:store:add_to_cart>
I could do something like this:
<v:store:add_to_cart barcode_field="barcode_input_element" >
<input name="barcode_input_element" type="hidden" value="123456" />

The problem that I am having is that I do not know what the barcode will be upon initial page load; It depends on what size option is chosen on the item page.

I will only know the barcode value right before the user has clicked 'add to cart']]>
Not seeing cart_id from within v:store:cart:items Fri, 13 Jul 2012 14:56:06 -0400 dmitrivassilev 300@/discussions
Am I doing something wrong? I've tried both %v:php and v= (using HAML below)

return $context['cart_id'];

returning the last created Vae ID Mon, 02 Jul 2012 16:24:13 -0400 michael 299@/discussions Using logos on order confirmation and invoices made through paypal checkout Fri, 29 Jun 2012 07:53:50 -0400 seb 298@/discussions <v:store:paypal_checkout /> as you can with <v:store:checkout> ?
I am specifically wanting the option to pass a logo url which will then be placed on the standard packing slip and order confirmation/invoice.

finding all child products in a Nested Collection of categories Fri, 20 Apr 2012 13:11:35 -0400 michael 290@/discussions
I have a nested collection of Categories. Some categories are three levels deep.

In a Shop category page, Is there a good way to list all products in the current category plus all products in it's child categories?

<v:collection path="categories/products"></v:collection>
Limiting page links for pagination Fri, 06 Apr 2012 11:32:14 -0400 michael 286@/discussions
If I have 32 pages in a paginated collection, I want it to show something like this
Adding Coupon Code to Email Tue, 20 Dec 2011 12:56:24 -0500 zonetrap 183@/discussions Customize Invoice Packing Slip Fri, 17 Feb 2012 18:20:08 -0500 Scott 280@/discussions escaping a single quote in a predicate expression Fri, 16 Mar 2012 16:15:38 -0400 michael 282@/discussions
The single quote breaks everything. I have been Googling for XPATH single quote escape, but haven't come up with much. The only thing that seems to work is using the concat() function which isn't available in Vae.

Has anyone come across this issue before?

This works fine:

<v:collection path="products[options/size='Women's']>

But then I would need to manually escape the single quote in the backend, which you just can't expect a client to do.

Any help would be much appreciated. Thanks!]]>
Vae doesn't like HTML5Boilerplate? Sat, 13 Aug 2011 05:02:03 -0400 Travis 141@/discussions

I believe a lot of the CSS doesn't validate because it uses a few hacks to maximize usability. I'm not sure if this is causing parsing errors with vae... but when I use v:asset, it's removing random parts from my CSS file.

For example, it's removing font-weight:bold from my headings, and it's removing some of my @font-face font-families (but not others).

It's very weird, I can only imagine it's because it's parsing the CSS sheet wrong because it's not 'valid' in the first place.]]>
Why has Verb changed so much? Wed, 22 Feb 2012 02:03:38 -0500 greg 281@/discussions How to copy customer's billing address to shipping address? Mon, 29 Aug 2011 15:56:36 -0400 Kevin 148@/discussions
<a href="#" onclick="shipping_billing(); return false;">Copy From Billing Address</a>
<script type="text/javascript">
function shipping_billing() {
fields = new Array('name','company','address','address_2','city','state','state_txt','country','phone','zip');
for (var q in fields) {
document.getElementById('shipping_'+fields[q]).value = document.getElementById('billing_'+fields[q]).value;
User managed site navigation Thu, 25 Aug 2011 15:20:17 -0400 sgauder 147@/discussions
Haven't seen any discussion about this or found anything in the documentation (admittedly, I haven't read every page yet). ]]>
New Release: Sections within other Sections, and Headers Tue, 23 Aug 2011 13:12:28 -0400 Kevin 145@/discussions
1. You can now put Sections within other Sections (or Collections). On the frontend, they work just like you expect in terms of paths.

2. You can now add subheaders to group the structures within each Section or Collection. You can do it by clicking on a structure on the Site tab and entering some text into the new spot for "Form Header". Should be pretty easy to figure it out.

Hope you guys like it! Let me know if you have any questions.

insert a Not Published record into a Collection using v:create Tue, 26 Jul 2011 14:01:48 -0400 michael 136@/discussions
Could the v:create tag utilize the Published field when creating a record? Something like:

<v:create path="club" Published="Not Published">
<p><v:text_area path="comment" /></p>
<p><input id="submit" type="submit" value="say" /></p>
using v:create to insert a date structure with time Thu, 15 Dec 2011 13:54:16 -0500 michael 172@/discussions

<v:create path="guestbook">
<v:hidden_field path="datetime_added" value="<v?= date('c'); ?>" />

either date('c') or date('r') will work.]]>
Using "__v:to" in a select element to over ride the formmail Mon, 19 Dec 2011 18:16:26 -0500 Gordon 179@/discussions
So Im trying to use "__v:to" to override v:formmail so it will send the message to the email address selected in the select box but it doesn't seem to want to work. As you can see below, I've named the select box "__v:to" and made the two overriding email addresses options. Any thoughts as to why this might not be working?


<v:formmail to="" redirect="/">
<v:select name="__v:to" options="," class="subject" />
Your Name: <v:text_field name="Name" />
Your Comments: <v:text_area name="Comments" />
<input type="submit" />

Oncomplete Attribute for Ajax Loading Tue, 06 Dec 2011 15:36:14 -0500 Scott 167@/discussions
I think it works for the v:a tag (, but I can't get it working for v:create. e.g. This doesn't work for v:create:
oncomplete="alert('its done!');"]]>
barcodes Mon, 12 Dec 2011 17:16:35 -0500 michael 171@/discussions Is there a parameter for a tag which allows only one post to be displayed? Fri, 28 Oct 2011 11:04:12 -0400 webstroke 162@/discussions
Does anyone know if this is possible, and if so, how?

CSS Media Queries and v:asset Fri, 30 Sep 2011 09:57:15 -0400 Scott 160@/discussions @media screen and (max-width: 380px) {
#some_element {
display: none;

And when I try to deliver this css file using v:asset, it turns into this:
@media screen and max-width 380px {
#some_element {
display: none;

I can set debug="true" in my v:asset tag to deliver the unmodified css, but ideally I would like to be able to deliver a single compressed css file.]]>