Hello, I would like to allow any user to access: /user/2/contact
ie. The administrator is the only users to use contact forms - the only exception is that anyone can contact the administrator. I have /user/2/contact aliased to /contact and made it accessible as a primary link.
I have tried to customise a couple of _access hooks with no luck. I don't quite understand how to approach this problem.
I'm trying to enhance the printer-friendly print function in book.module. Right now my issue is to remove all the glossary icons from the text. i can remove the glosaary link images ok with a simple replace but it leaves a lot of unseen rubbish in the HTML from the glossary link. Since I want users to be able to use the book text for their own purposes, I'm trying to remove the entire glossary link.
So far i have this $output = preg_replace('#<a href="/\?q=glossary.+glossary\.gif" /></a>#', '', $output );
I need help creating a custom node that pulls info from another database when it displays the node. Basically the user will enter in a few fields into the form, including an MLS # (required field). Then when the user views that node it uses the MLS # to look up the info from another database and joins that information with fields filled out in the node form. Make sense?
I'm wondering what would be the best way to do the following :
I'm making a site that has no registered users. An option in the menu will give the possibility to change the theme by a single click (actually, it's not the theme, it's only some simple parameter of it)
I'm not experienced enough to guess the best (and simplest) strategy. Should I make a module ? If so, how to make it hooked to urls such as :