Search button on the website and Google Enterprise Search - how to do this?

Alexey Sidelnikov asked on March 6, 2014 18:54

Hello,

basically client requested to use Google Enterprise search as the search engine for the website. So we do calls in the backend, and display results on a custom page. How should I create that search custom page? should it be a webpart?.. seems like webpart is an answer to everything but I'm still not completely sold on them so I would like to hear experts' opinions :)

WE are using Kentico 6 portal engine.

Thank you, Alexey

Correct Answer

Brenden Kehren answered on March 12, 2014 15:17

Here is the developer documentation on web part creation, take a look. It should get you going on creating your first web part and have a better understanding of how they work. If you're used to creating user controls, webparts aren't too hard.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on March 7, 2014 01:12

Hi,

This is completely up to you - I would recommend using web part/user control since it is a good practice how to manage the code and you can re-use the same code easily on multiple places.

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on March 7, 2014 06:58

What part of webparts aren't you sold on or what difficulties or challenges do you have with them?

I'd agree with Juraj and state the best way to handle it would be a webpart. You could create a user control and then use the User Control webpart to place it on a page but you don't gain all the functionality as you would if you were to create a webpart.

0 votesVote for this answer Mark as a Correct answer

Alexey Sidelnikov answered on March 7, 2014 21:39

Hello Brenden,

thanks for your help! Regarding webparts - what's I'm confused about is how to create an "editable" webpart. Right now I either create a document type (and let user modify fields) or just hardcode text in ASCX controls. This is bad, especially because we are doing multilingual site.

Ideally, I would like to be able to let user edit various parts of the webpart (similar to "Editable HTML" blocks) - but I have no idea how to approach this.

Am I clear? Please direct me to the right resources if you understand what I'm trying to achieve :)

thanks again.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.