Mysteries relating to moving my own template, CSS & images into CMSMS.
Posted: Wed Mar 24, 2010 7:06 pm
I created a brief html template, CSS, and 3 images. The CSS is handling 2 of the background images for the body bg and the header bg. The other image is called by the HTML for the logo in the header.
All this works.
I plugged in basic CMSMS tags as mentioned in the docs.
Took me two days to figure out that I couldn't upload the files and images into the upload and upload/images dir and then simply install them via Admin. I had to find in a forum post that I had to copy/paste the html and css contents into Add Template/CSS forms, which I did. The images are still in the upload dir.
Added a page properly, applied the CSS to the page, made it a content page, and child of another so I could see the menu work, etc.
When I browse to the new page, I see the dummy content I entered, the unstyled menu text, and some of the CSS controlled divs (with their colored backgrounds).
However, a great lot of the CSS is not working, and the images aren't displaying at all. It all worked prior to copy/pasting/uploading.
1. Apparently, I'm going to be told this is a stupid question (and later I'll agree:), but I can't find anywhere in the documentation that discusses or shows where to put the new images in the filesystem or whether there's a systemic way to "install" them. Where do they belong? Will they live in the uploads directory forever?
1a. What dir does CMSMS consider the home directory?
2. When I create (copy/paste) a new template, should I only be copying in the contents of the tag? Or can page specific info stay in? Are the tags redundant?
3. Any thoughts about why my various text styles aren't working? They seem to be placed correctly in the template, and worked before.
TIA,
TJ
All this works.
I plugged in basic CMSMS tags as mentioned in the docs.
Took me two days to figure out that I couldn't upload the files and images into the upload and upload/images dir and then simply install them via Admin. I had to find in a forum post that I had to copy/paste the html and css contents into Add Template/CSS forms, which I did. The images are still in the upload dir.
Added a page properly, applied the CSS to the page, made it a content page, and child of another so I could see the menu work, etc.
When I browse to the new page, I see the dummy content I entered, the unstyled menu text, and some of the CSS controlled divs (with their colored backgrounds).
However, a great lot of the CSS is not working, and the images aren't displaying at all. It all worked prior to copy/pasting/uploading.
1. Apparently, I'm going to be told this is a stupid question (and later I'll agree:), but I can't find anywhere in the documentation that discusses or shows where to put the new images in the filesystem or whether there's a systemic way to "install" them. Where do they belong? Will they live in the uploads directory forever?
1a. What dir does CMSMS consider the home directory?
2. When I create (copy/paste) a new template, should I only be copying in the contents of the tag? Or can page specific info stay in? Are the tags redundant?
3. Any thoughts about why my various text styles aren't working? They seem to be placed correctly in the template, and worked before.
TIA,
TJ