currently the bakery module assumes that the contact url will be @bakery_master/contact and forces those urls when presenting users with errors. This works great for D.O, but not great when the contact page is on a subsidiary site to the master site. It also does not take into account that the /contact url could be re-aliased to another url such as 'contact-us' and will generate bad links.

I've created and attached a patch that adds a field to allow admins to specify the actual contact url they want users to be sent to. I also added some t() functions to form item #title attributes that were missing.
-Chris

Comments

coltrane’s picture

Status: Active » Needs review
StatusFileSize
new7.29 KB

Thanks netw3rker. I don't usually see an update function for a variable, especially when it's a new variable like this. So in the attached patch I removed the edit to .install, wrapped URLs in check_url() and modified spacing in one place.

coltrane’s picture

Here's my preferred alternative, removing the links. The site should provide a visible way to contact administrators or the string can be altered for an individual site.

purencool’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)