Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Why does editing "portal.css" outside DNN not show changes?Why does editing "portal.css" outside DNN not show changes?
Previous
 
Next
New Post
5/22/2017 3:08 PM
 

Dear DotNetNuke Pros,

Please help.

Why does editing "portal.css" outside DNN not show changes?

But, when I edit that CSS using DNN site settings it does show changes?

Please advise.

Here are the details...

(1) I use Visual Studio to open "portal.css" directly, because the editor support is way better than that in DNN, and I get syntax help, and the like. I edit the file. I save the file. I go to the effected page on the site, I choose Refresh, the changes are NOT shown. But, then if I go to DNN Site Settings and look at the CSS and the changes ARE there, in the CSS, as expected, but refreshing that page does NOT reflect the changes. Why? Maybe browser caching -- but -- this behaviour is different in another scenario, as per (2) below. Why?

(2). I directly edit the CSS using just the DNN Site Settings area, and I save it, and then go to the page and Refresh the page then the changes ARE shown. Why?

Please advise.

Thanks.

-- Mark Kamoski
 
New Post
5/23/2017 11:52 AM
 
Mark,

I think you should clear the cache or restart the app pool after doing changes from outside.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
5/23/2017 1:38 PM
 
Michael Tobisch wrote:
Mark,

I think you should clear the cache or restart the app pool after doing changes from outside.

Happy DNNing!
Michael



Michael,

Please help with some follow-up.

Well, to "restart the app pool" I would need direct access to the web server and permissions to change iis so that is not really a good option, for me at least.

What exactly do you mean by "clear the cache" here?

Do you mean to clear the browser cache?

Or do you mean to clear some other cache, such as perhaps there is a cache setting in DotNetNuke somewhere?

Please advise.

Thanks.

-- Mark Kamoski
 
New Post
5/23/2017 2:26 PM
 
Mark Kamoski wrote:
Michael Tobisch wrote:
Mark,

I think you should clear the cache or restart the app pool after doing changes from outside.

Happy DNNing!
Michael



Michael,

Please help with some follow-up.

Well, to "restart the app pool" I would need direct access to the web server and permissions to change iis so that is not really a good option, for me at least.

What exactly do you mean by "clear the cache" here?

Do you mean to clear the browser cache?

Or do you mean to clear some other cache, such as perhaps there is a cache setting in DotNetNuke somewhere?

Please advise.

Thanks.

-- Mark Kamoski

 You can restart DNN when logged in as Host.
No need to access IIS.

 
New Post
5/24/2017 11:17 AM
Accepted Answer 
Mark,

Timo is right. When you are logged in as host, you find Clear Cache and Restart Application.

DNN <= 8: Tools menu
DNN 9: Settings > Servers - two Buttons top right.

Yes, I meant the server cache. Keep in mind that restarting the app pool does also clear the server cache.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Why does editing "portal.css" outside DNN not show changes?Why does editing "portal.css" outside DNN not show changes?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out