dw templates q
- Started
- Last post
- 4 Responses
- fusionpixel
Does anyone knows how to re-map a site from a DW-Template?
I had to create 2 versions of the same site, everything was fine, until V2 of the site inherited all the base paths from V1.
so now it looks like this
img src='v1/imgs/blah.jpg'
instead of
img src='imgs/blah.jpg'
everything was fine for the past 2 weeks until today the template decided to make that kind of update.
Anyone had the same problem? Have you solved it?
TIA for any tips.
- UndoUndo0
use find and replace(under edit) , if you setup a site (under sites)it will go through and change any code/text etc you want it to. very useful in situations like that
- blaw0
make a backup of the site (always when making global changes).
open the template, find/replace
v1/imgs/ with imgs/
save/update.
truth be told, templates are a nice idea, but they've caused me too many headaches. i rely on find/replace.
- UndoUndo0
i'm with blaw, they are more stress than they are worth, but as said nice idea .useful with contribute tho
- fusionpixel0
yeah, i hear yah, this is my setup:
/Templates
-/websitev1
--/images
--/css
--/js
-/websitev2
--/images
--/css
--/jsas you can tell website2 is a replica of website2, so when I create my templates they relly on the information of website1 (images/css/js) to produce the template. If i replace the original website1/img... to /img... you cant see the stuff on the template when creating it since it has to look for the images inside website1/
anyways, i hope it makes sense and some one has some insight...
sigh....