How do you customize the "Search Module" results - editing the script?

SOLVE
cstone
Community Manager

HubSpot hosted our first ever CMS Developer AMA on July 25th 2018. This question was submitted and the first reply is what the panelist and audience chat responded with. (view the full AMA here)

--------------------------------------------

Could you show us some ways to play with the new "Search Results" module? Particularly, I am interested in ways to edit the script.

For example, how can I set a character limit for the result.title and result.description? (Screenshot attached) I used to rely on HubL's "trucatehtml" filter but it doesn't apply to this as the result are retrieved with JS. Any other JS trick to this module would be greatly helpful Smiley Happy

1 Accepted solution

Accepted Solutions
cstone
Solution
Community Manager
4 Replies 4
cstone
Solution
Community Manager
Jsum
Key Advisor

@cstone Where do you find these video sessions?

0 Upvotes
jausura
Inbound Professor

Hey @Jsum, those vids are snippets from the developer AMA on 7/25. The entire session can be found here. If you want to peruse the snippets by question, @cstone posted each of those in Community, so his last few posts are a good synopsis. Does that answer the question? Let me know if I misinterpreted... 

Jsum
Key Advisor

@jausura that is great, thanks. I didn't know this type of content was out there, I'm glad it was shared.

0 Upvotes