Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0stripped skinstripped skin
Previous
 
Next
New Post
6/14/2007 3:25 AM
 

Hi,

Is it possible to make a skin that:

  • doesn't contain any css references
  • doesn't contain javascript
  • doesn't contain javascript script references
  • doesn't contain viewstate

Thanks in advance,

rudgr

 
New Post
6/14/2007 5:00 AM
 

most of the things you dont want are injected by either DNN or ASP.NET:

  • css is injected for every module that has a module.css file, also portal.css  and default.css are injected by dnn
  • javascript is injected by asp.net (eg. to support postbacks)
  • javascript references are injected by dnn to support the client api, also in 4.5.x javascript is injected if asp.net ajax exenstions are available
  • viewstate is injected by asp.net if any controls are available on the page that need viewstate. You can keep viewstate on the server by setting page state persistence to memory in host settings though (uses lot of ram with busy site!)

can you please elaborate as to what it is you are trying to acomplish?


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
6/14/2007 5:04 AM
 

Hi Erik,

Thanks for your reply. What I wanted to accomplish is to use a standard dnn page output as a template for a html newsletter. In order to prevent possible spam detection I want to remove all javascript, viewstate and css links.

rudgr

 

 

 
New Post
6/14/2007 5:09 AM
 

what you could do is to post process the page with a regex replacement function. This would allow you to strip out all unwanted tags from the page. You'd want to remove more than what you just mentioned (eg. the form tags to name one).

AFAIK it is not possible to have DNN generate the output as you want. One option though would be to look at page blaster from snapsis, as this has a regex based replacement engine built in....


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
6/14/2007 5:11 AM
 

you're right on the form, thanks!

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0stripped skinstripped skin


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