Pages: [1] |
|
|
Author |
Topic: CSS Styles & PHP Includes (Read 3024 times) |
xzab
Posts: 1
|
I was wondering if there has been any progression on CSS & PHP Includes. I have <?PHP include('header.php');?> in each of my pages and therefore no pages CSS is picked up in the snippets. I looked through the posts to see if that was fixed but didn't find anything. Please let me know if I missed anything.
Thoughts for a quick fix: Put a spot in the admin where you can specify stylesheet(s) and/or just classes that it should use. That way if people use includes, you can still select the class because it looked specifically for the stylesheet.
Just a thought, looking forward to a solution. Thanks!
p.s. I've been looking forward to finding a good CMS that doesn't let my client hack my designs apart for 10 years now and finally I will use one -- this one! Thank you!
P.s.s. Is there any chance this will eventually use a database instead of writing to the files directly?
|
|
|
|
tkrell
Posts: 1
|
I would like an answer to this as well. I have all the code for my stylesheets coming from a php include, so I can't get the visual styling for my user when they edit the page. It would be nice if I could just point Snippet Master to a stylesheet to use for all of the pages it edits when it can't find one.
|
|
|
|
cedarcreek
Posts: 7
|
I too would like to know a work-around for this. I have tried to copy the stylesheet into the main web root as well as the snippetmaster dir without much luck. Seems like a pretty common practice to have CSS included dynamically, so it would be great to get this working for future clients.
|
|
|
|
cedarcreek
Posts: 7
|
Just trying to keep this at the top of the stack. It's becoming more important for my business...as this CMS is darn near perfect! But, this issue is really making tough to integrate into sites with server-included CSS.
Thanks much!
|
|
|
|
cedarcreek
Posts: 7
|
Anything? Did I miss an update? This issue continues to hamper our use of SM Pro.
|
|
|
|
davert
Posts: 33
|
For what it's worth, this issue will probably remain until the latest version of TinyMCE is used. I took a look at Toko, a similar system, and it has the same problems, only worse, becuase it's using FCKeditor; the very latest version of which, renamed to CKeditor for obvious reasons, has the same problem, namely, that it does not recognize class styles and is totally incapable of every adapting to them.
Kudos to Henri for choosing the right text editor; I only hope he can update Snippetmaster sometime soon to use the newest TinyMCE.
Really, that would solve a lot of problems even if it was the ONLY thing he did, including complete Mac compatibility.
PS> Toko does have one interesting twist - you can hard-code the CSS file into the snippet code (the <!-- bit where you define users, the name, etc. for Snippetmaster) so Toko knows what CSS file to use. Though, as I've said, Toko's use of (F)CKeditor means that CSS classes cannot be modified or added.
|
|
|
|
|
Pages: [1]
|
|
|
|