PDA

View Full Version : Dynamic URLs


fH_noob
07-02-08, 06:05 PM
Hi All,

I was curious if something like this is even possible:

I have a single mall with multiple stores in them. Every time I add a store, a new folder gets created on my server (/Merchant5/graphics/00000001, ...00000002, ...00000003, etc.).

My question is, is there a way to reference this file path (or at least the "0000002" part), much in the same way you can reference a URL requiring the store code with something like "&mvte:store:code;"?

If so, that would make my life so much easier. Thought I'd check w/ the experts. Thanks!

Bruce - PhosphorMedia
07-02-08, 06:17 PM
That part of the path comes from padding the variable "&mvt:global:domain:stsl_id;" to seven places with '0'...so you cant do this directly.

fH_noob
07-02-08, 06:29 PM
Rats. Had a feeling. Thanks for the quick answer, Bruce!