Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > customizing cmssearchbox when using aspx templates View modes: 
User avatar
Member
Member
eagleag-yahoo - 2/17/2009 4:04:26 AM
   
customizing cmssearchbox when using aspx templates
Hi,
I've created a site using aspx templates and added cmssearchbox to my pages.
I want to change the design and get rid of "search" text.
I do not want to make changes to the cmssearchbox.ascx becaue then it will affect all projects under this kentico installation.
How should I proceed?

User avatar
Member
Member
yehuda - 2/17/2009 4:11:57 AM
   
RE:customizing cmssearchbox when using aspx templates
I usualy clone the web part I want to modify (in Development\Web parts), and specify I want to copy the files.
Then you can make all the changes on the new web part.

User avatar
Member
Member
eagleag-yahoo - 2/17/2009 4:27:13 AM
   
RE:customizing cmssearchbox when using aspx templates
I'm using aspx template. search doesnt show up in development/web parts.
how can clone the search that appers in the folder CMSWebParts/Search?

User avatar
Guest
yehuda - 2/18/2009 1:55:17 AM
   
RE:customizing cmssearchbox when using aspx templates
When you clone a web part it will also create a copy of the files in cmswebparts.
By default it adds a "1" to the filename, but you can specify any name you want.

I'm guessing that since you use aspx templates, you could also copy the files yourself without having them registered in the cms (just like you would do with any other user control).

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/23/2009 5:44:05 AM
   
RE:customizing cmssearchbox when using aspx templates
Hi,

You can also clone the web part simply by copying the source files and change their names and class inheritance in code behind. Then you need to register it Site Manager -> Development -> Web parts so the web part will be visible in the web part selection dialog.

Best Regards,
Juraj Ondrus