Title page of the users profile is set to:
'title' => '%profilenode'
However if they dont fill out the bio module node title, then the title does not get set in their profile. and says %profilenode for all of my users.
???
How could i set this to use the username as default, then if title is set for the bio node, to use that instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | ishot-2.jpg | 440.4 KB | benansell |
| #11 | Picture 139.png | 45.45 KB | henns20 |
| #7 | Picture 137.png | 16.49 KB | henns20 |
Comments
Comment #1
michelleThat's not possible in panels currently. Closest you can get is you can change it to just use the username by putting in %user instead. Sounds like merlin might be willing to add it, but he's extremely busy so no clue when.
Michelle
Comment #2
bomarmonk commentedChanging the title of the panel page with advanced profile didn't seem to work for me. I tried setting the panel's title to "%user," but I am still getting %profilenode for the title of my user pages.
Comment #3
michelleHmm... that doesn't make sense. If you changed %profilenode to %user, it can't be printing %profilenode anymore. Where would it be getting it from? Double check to make sure you saved the change.
Michelle
Comment #4
bomarmonk commentedThere was something really funky with my nodeprofile installation. After switching to the bio module, things worked, including the title.
Comment #5
michelleGlad you got it working.
Michelle
Comment #6
danielson commentedI don't have bio installed and I have changed $profilenode to %user. I am not seeing any changes. Do I need to have bio installed to have that change go through?
Comment #7
henns20 commentedhaving same problem- watching----maybe a workaround is make the person fill out the tiel at registration
watching:)
Comment #8
henns20 commentedthat workarounf on last post wont work----tried it - don't have acces to the title to do that ----- thinking may autonotitles - and setting it to profile ----i forget the limitations on this ill try it later
Comment #9
henns20 commentedthat workaround on last post wont work----tried it - don't have access to the title to do that ----- thinking may autonotitles - and setting it to profile ----i forget the limitations on this ill try it later
Comment #10
michelleJust take it out if you don't want to use this feature. Or use the user as the title instead as I suggested in #1. Panels are fully customizable.
Michelle
Comment #11
henns20 commentedmichelle
i preface
you did a great job - on this module from the documentation/to the look/usability... I am sorry but have to clarify for my own sanity.- i have worked with panels a good bit....i am not understanding this solution though....
%userand thats it - no codeComment #12
henns20 commentedmichelle
i preface
you did a great job - on this module from the documentation/to the look/usability... I am sorry but have to clarify for my own sanity.- i have worked with panels a good bit....i am not understanding this solution though....
%userand thats it - no codeComment #13
michelleLet's try this step by step:
Go to ?q=admin/panels/panel-page/userprofile/edit/context
Click the config icon on user ID
Delete '%profilenode' out of the title field
Replace it with %user or leave it empty to not do a title from argument
Did that work? Sorry I've been short with the answers. I really can only focus on one module at a time so this issue queue has been neglected while I work on the advforum D6 port.
Michelle
Comment #14
henns20 commentedawesome:) looks like I got to learn panels more.
gotcha----thanks
jamie
Comment #15
danielson commentedHi Michelle,
When I tried to make those changes you stated in #13. I received a message box saying "Unknown Response from Server". What is causing it?
Thanks,
Dan
Comment #16
najibx commentedsolution #13 works for me. tq
Comment #17
DonTino commentedDan same problem here,
seems to be a bug
http://drupal.org/node/213500
Comment #18
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #19
benansell commentedI tried following the solution stated in this thread, but still have the %profilenode at the top.
Using Bio module
See screen-shot for firebug insight ....
It just seems to be a %profilenode string contained within 'h2' tags ....
Any thoughts/suggestions/help ... please?!
Thanks!
Comment #20
benansell commentedOK - nevermind ... got it figured out ... THANKS!
Comment #21
giorgio79 commentedHow did you figure it out?
%user and %profilenode does not work for me in Panels context. Removing them wont show any title.
Comment #22
giorgio79 commentedeh, it turns out to be some kind of panels bug
http://drupal.org/node/263551
Comment #23
theamoeba commentedcool thanks, that seems to work.