Page 1 of 1
Where can I find the actual "style" files?
Posted: Tue Oct 24, 2006 6:39 am
by Kurt
Hello,
My first post to this group. I have been working with Wordpress for about a year now, but I like the feel of CMSmadesimple and am experimenting with it.
My normal workflow from Wordpress is to open the template/theme folder directly and load the stylesheet in Dreamweaver, make changes and then upload and overwrite the existing file via ftp. This allows me to change the look of the site using the css selector feature in Dreamweaver. If I don't like the look of the changes I've made, I can always go back into Dreamweaver and undo what I've done. Is there any way of working like this in CMSmade...? I can't seem to find the actual stylesheet files or even the template folders. I know that I can access the css directly in the admin section but then I can't use my undo function like in Dreamweaver, or can I? Just wondering if I can work in a similar manner to what I'm used to with Wordpress which would help me a lot.
Thanks in advance.
Kurt
Re: Where can I find the actual "style" files?
Posted: Tue Oct 24, 2006 7:04 am
by cyberman
Hi Kurt,
welcome on this forum.
Templates and CSS are stored in database so you can't found someone
Currently there's no roll back function inside CMSms. The only one you can do is rolling back content with archiver module
http://dev.cmsmadesimple.org/projects/archiver/
But perhaps you can use Template Externalizer
This module allows you to use any text editor to edit CMS templates and stylesheets. It exports them to temporary files on the server and watches these files for modifications which are automatically imported into the database and take immediate effect.
http://dev.cmsmadesimple.org/projects/externalizer
Re: Where can I find the actual "style" files?
Posted: Tue Oct 24, 2006 3:28 pm
by Kurt
Thanks for the info.
So just so I have this straight, there is no way for me to load the css from the default template into Dreamweaver and then upload this file to the database, therby overwriting the existing file? This means that there is no way to use an external css selector to make changes to the stylesheet. I prefer the selector because my css skills are not the best...
Kurt
Re: Where can I find the actual "style" files?
Posted: Tue Oct 24, 2006 4:37 pm
by tsw
there is a module which does something like this (havent tested myself tho)
http://dev.cmsmadesimple.org/projects/externalizer/
Re: Where can I find the actual "style" files?
Posted: Tue Oct 24, 2006 10:44 pm
by seafdamon
This frustrated me, too, initially, but if you're using CSS to style pages you'll soon find Dreamweaver more of an impediment than a help. I ended up dumping Dreamweaver and just using a text editor (Text Wrangler for the Mac) and make changes to the stylesheet and markup and view the page in a browser.
When editing CMS Made Simple templates I start by copying an existing template, then I create a new page and apply the new copied template to only that page. That way I can make changes to the page and since it's not part of the rest of the site nobody else needs to see it. When I'm done, I apply the new template to the rest of the pages.
To save a template, just copy your markup (page code) and stylesheet and save them as files.
Good luck to you! You'll save $400 or so on the next stinky Dreamweaver "upgrade."
Re: Where can I find the actual "style" files?
Posted: Wed Oct 25, 2006 4:41 am
by cyberman
Kurt wrote:
This means that there is no way to use an external css selector to make changes to the stylesheet. I prefer the selector because my css skills are not the best...
If you woun't use CMSms stylesheets, you can also use the "normal" way to include a stylesheet in templates head area like
Code: Select all
<link href="path_to_css/stylesheet.css" type="text/css" rel="stylesheet">
for an external stylesheet or direct including the styles. But don't forget the literal tags

...
Re: Where can I find the actual "style" files?
Posted: Wed Oct 25, 2006 6:27 am
by Dr.CSS
I use Firefox with the Web Developer Toolbar, seems like the perfect WYSIWYG, crack open the page in the browser click on Edit CSS, little side bar opens, mess with the CSS till you get what you want copy/paste the goods into the CSS file and your good to go.... till you look at it with IE then it's hack'em up time

Re: Where can I find the actual "style" files?
Posted: Wed Oct 25, 2006 9:26 am
by Kurt
Yes, I see your point and I guess I would also be happy just editing the pages in a text editor - although I do like the simplicity of just selecting the options from the Dreamweaver tool. I think I understand your workflow when you copy a template. I'll give it a try and see how that works for me. I'm not quite sure about saving the markup and the stylesheet though. Do you I should save these files locally? How do I then overwrite the existing files in the CMS system - copy and paste the text into the box?
Thanks for this.
Kurt
seafdamon wrote:
This frustrated me, too, initially, but if you're using CSS to style pages you'll soon find Dreamweaver more of an impediment than a help. I ended up dumping Dreamweaver and just using a text editor (Text Wrangler for the Mac) and make changes to the stylesheet and markup and view the page in a browser.
When editing CMS Made Simple templates I start by copying an existing template, then I create a new page and apply the new copied template to only that page. That way I can make changes to the page and since it's not part of the rest of the site nobody else needs to see it. When I'm done, I apply the new template to the rest of the pages.
To save a template, just copy your markup (page code) and stylesheet and save them as files.
Good luck to you! You'll save $400 or so on the next stinky Dreamweaver "upgrade."