-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS Override isn't working for me… #5
Comments
Ah, I have it set as a PHP constant, not a configuration variable in the application. (Much like NSM_BASEPATH in that example is a constant). You would have to do: I'm currently not using EE config object for the fieldtype, as it is a separate add-on. I agree, more documentation on this portion would be helpful :D |
Ah, cool, i'll give that a try later tonight/tomorrow morning. My PHP Curtis On Wed, Apr 25, 2012 at 10:07 PM, Chris Fidao <
|
should actually be |
I'll check in on that when I have a few this afternoon :D |
Even changing the variable in Markdown's config.php has no effect in the CP. |
Sounds like one of two scenarios:
I also just realized that the config variable won't override the current setting, it simply serves as the initial value used when installing the fieldtype. I'll have to do some more leg work to make an over-ride variable. |
Ah, that must be the issue (the non-override part). That would be necessary Curtis On Thu, Apr 26, 2012 at 12:04 AM, Chris Fidao <
|
I added
'MARKDOWN_GLOBAL_CSS' => NSM_BASEPATH . '/themes/third_party/_overrides/markdown/markdown.css',
to NSM Config Bootstrap.There is no change to my preview pane, and the Default CSS File URL in the fieldtype settings remains at the default. With other overrides, the CP setting is updated to reflect what's in the file, so I expected that to happen here, too.
Here's an excerpt of the file:
P.S. It would be good to have the override variable with an example in the docs.
The text was updated successfully, but these errors were encountered: