Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Static page detect in alternate directory



******    message to minivend-users from jojo@buchonline.net     ******

On 25 Jul, Simon B wrote:
> ******    message to minivend-users from Simon B <music@labyrinth.net.au>     ******
> 
> In the sample demo if a static html document named with the same key
> as a product is found in the "pages" directory it is displayed.
> Otherwise the flypage is used.
> 
> Is it possible to make minivend look for and display the 
> static page in another directory (i.e. pages/static) 
> 
> I currently use this on my flypage:
> [if file pages/static/[item-code].html]
> [include pages/static/[item-code].html]
> 
> [else]
> regular flypage code
> 
> This works but I am wondering if it is possible to do this without the [if
> file...]

MV has a static build capability! I have some experience with MV3.xx
only, because I get some misbehavior with MV4 and I donīt know, if this
is fixed now. Search for the keyword "static" in your catalog.cfg and
docu and build you pages with "bin/minivend -b <your-catalog-name>".
Please, if you have a lot of items, test it with the simple demo shop
first. In my case, it take a long time (ca. 1 hour with ca. 4000 items).

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
45886 Gelsenkirchen         FAX: 0209 1671449

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: