We're please to announce the latest version of PCI Net Toolbelt.
Release Notes: http://www.pcinet.com/docs/notes/too...ease_notes.txt
Toolbelt dramatically extends the Miva Merchant 5 page templates, adding HUNDREDS of new commands, and making page templates a robust development environment. Finally you can have the ability to create the pages you've always dreamed of.
Included page template files show many fully commented, real world examples of how you can easily customize your pages to do things that once required external modules.
The exhaustive indexed documentation is the second to none.
New Commands:
New Functions:
Release Notes: http://www.pcinet.com/docs/notes/too...ease_notes.txt
Toolbelt dramatically extends the Miva Merchant 5 page templates, adding HUNDREDS of new commands, and making page templates a robust development environment. Finally you can have the ability to create the pages you've always dreamed of.
Included page template files show many fully commented, real world examples of how you can easily customize your pages to do things that once required external modules.
The exhaustive indexed documentation is the second to none.
New Commands:
- Search_Files: Index and Search external files on your web server (HTML, TEXT, PDF etc)
- Dir and Dir_Subs: Reads the files and folders on server filtered by file extension
- Array_Sort and SearchArray: Instantly Sort and search any array by any member.
- Array_Fromlist: Convert a list into an array
- Array_Elements: Get the number of elements in the array.
- Form_Select and Form_Radio: Display dynamic form controls with a single command.
- BasketEmpty: Empty the basket when a customer logs out.
- SEOName: Cconverts a product or category NAME into a string suitable for inclusion on a URL.
- SelectState: Display more than US in the States dropdown during checkout. Options US, CA, MX, AU
- DoFile: execute any external .mvc file.
New Functions:
- Name2Code(l.all_settings:product:name):
Converts a product name, or any string, into a format usable within a URL. - StateList_Load_All(l.all_settings:states):
Loads all US states into the array, in this case l.all_settings:states. Returns the number of states. - FinalIndexOf(target, search)
Returns the position, from the left, of the LAST matching search string in target. - GettokenLast(target, search)
Returns the last token string in a delimited string. - Time2Seconds(time_str) converts a time string to seconds.
Given hh:mm:ss returns seconds from midnight using this formula ((hh * 3600) + (mm * 60) + (ss)) - MySqlEscape(string) : Prevents SQL injection attacks.
- IsAnyWordInText(words, text) See if any words in a list is in anther list. We use this as a spam filter on form emails.
- ReplaceChars(source_string, replace_chars, with_chars), Strip multiple characters out of a string in a single command.