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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...SEARCH SkinObject Deployment Best Practices QuestionSEARCH SkinObject Deployment Best Practices Question
Previous
 
Next
New Post
9/2/2009 7:57 PM
 

I created a custom search control that is intended to replace the default search SkinObject. So wherever a skin marks a SEARCH token, my new control would replace the default.

After creating the control, and successfully adding it to Extensions and assigning it to the SEARCH token, I noticed that my control still wasn't showing. Also, when I replaced the existing, older search control (I did this by renaming the Key value to something other than SEARCH), I noticed that the default still hadn't gone away.

So I went into the default.aspx file and noticed that, at least in MinimalEntropy, that there was a REGISTER tag pointing to the older search control. I changed it to my custom control's path, and voila - my control showed up.

This leads me to ask what the proper deployment method is for SkinObjects that replace default SkinObjects. Do I:

- Create my custom SkinObject with the SAME NAME as the one I am replacing? This doesn't seem right, but it saves me having to go in and manually update 25+ skin files.

- Or, have I missed a step in deployment? When following Mitch Sellar's example (his SCBreadCrumb article specifically), he mentions that the SkinObject will be deployed in the DesktopModules folder. But in this case, since its replacing a default object, I thought that simply specifying my control with the SEARCH token would update any other skins.

Sorry for the long winded question, hope it makes sense. This directly impacts my deployment model for a number of sites so I'm hoping there's an easy answer.

 
New Post
9/3/2009 9:06 AM
 

After looking at the 5.1.2 contents and noticing that there are ASCX files that get updated, I have to think that option 1 is totally wrong. So what trick am I missing here?

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...SEARCH SkinObject Deployment Best Practices QuestionSEARCH SkinObject Deployment Best Practices Question


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