Quote:
Originally Posted by DavyMac
I'm asking specifically about these two lines:
PHP Code:
$smarty->assign("AltImagesDir", "http://cdn.domain.com/skin/books_and_magazines/images");
$smarty->assign("AltSkinDir", "http://cdn.domain.com/skin/books_and_magazines");
AltImagesDir and AltSkinDir were not present before the edit (unlike ImagesDir and SkinDir), so if they are new where are they being used? I'm guessing they are in fact used for your chosen skin, but that would mean the assignment exists elsewhere since it did not reside in smarty.php - in which case don't we need to delete the original assignment?
If I were using an XCart template then I would simply trust your post and include the code verbatim, but I'm using thexcartstore's xtreme_gear template and I've yet to workout how to include their template resources on CDN. It's complicated more because I have a different template for mobiles - so I'm not sure what to put for AltImagesDir and AltSkinDir.
|
And I am now understanding your confusion...
I am also confused, now that I have two active skins.
Which skin is $AltSkinDir (xtreme or xmobile?)
I am also seeing the txs templates and modules not use the default calls that automatically send content to the cdn. So I am having to figure this out.
What is the solution for step #4 if you have two active skins?