Hi,
I’m looking for a way to change the title of the invitation page in the profile page from “My Account” to the user’s username as shown in the attachments. Can this be done by views or would I need to modify the code? Thank you for the support.
| Comment | File | Size | Author |
|---|---|---|---|
| SDC10394.JPG | 588.44 KB | rockwright | |
| SDC10392.JPG | 585.9 KB | rockwright |
Comments
Comment #1
hefox commentedI've had to do something similiar, in the end I ended up overiding it in the theme
here's a code snippit (needed it on several pages).
Comment #2
rockwright commentedWould the above code go into template.php?
Comment #3
hefox commentedoops, yes it would
Comment #4
rockwright commentedYou said you needed the snippet in several pages, what pages would those be? I tried inserting that code in the template file but it still didn't render what I wanted.
Comment #5
hefox commentedHm, weird I have it working on two pages. What base them you using? Did you change themename to your theme's name?
On mine it changes the title of anything with the url user//
ie
user/1/edit
user/1/view (aka user/1)
user/1/notifications
user/1/invite
user/1/contact
Comment #6
ryan osītis commented