Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#3362 Order - create short filename

Posted in ‘Event Gallery - General’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by sbluege on Thursday, 29 November 2018 20:17 UTC

Jan
Hello Sven,
could you help me with change code?
I would like add a list of photos in the form "filename, filename" without the first 5 characters and the last 4 characters at the end of the order. For easy searching in Adobe Lightroom.
My files have names "0001-filename.jpg" but I just want "filename".

Could you help me?

I added short code at the end of the order in files "new_order_body.tpl":

For photographer: <BR>
{foreach $data->order->imagelineitems as $lineitem}
{$lineitem->filename},
{/foreach}

Code is OK, but I don't know shrink my filename.

Thank you very much for help me.

 MarekJ

sbluege
Event Gallery uses Smarty as the template engine. That page might be interesting for you: https://www.smarty.net/docsv2/en/language.modifiers.tpl