Hi,

Not sure why you consider creating a custom template as not optimal. IMHO
templates are for customizing.

Create a custom template which extends the build in template, and all
updates of the core framework will be implemented.

Regards

Chris


Am 12.09.2017 8:02 vorm. schrieb <[email protected]>:

Hi Rainell.

That’s indeed the second approach I tried to describe. It works well,
but for such a small thing as changing the search URL part it doesn’t
feel optimal. When doing so you have to watch out for changes to
Mezzanine’s built-in `search_form.html` in future releases and
backport it to your custom one if you’d like to benefit from
improvements made to it.

Also I imagine wanting to change the default search URL is very common
when working with non-English sites, so why not add a setting for it,
similar to the `BLOG_SLUG` setting?

-- Simen

-- 
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to