drupalfun.com
Book: section 4.2.1 profile teaser
First and foremost, I love the book. It has been a big help with my learning curve in my transition from Joomla to Drupal.
I have run into a snag though. When I set the display in the Content Profile tab to "Display the content's teaser", the entire profile shows up on the My Account page. However, if I set the display to "Display it as link to the profile content", only a link entitled "Profile" shows up on the My Account page. This works fine, until I get to section 4.4.1. Once the php code is entered, it does not override the "Profile" link on the My Accounts page. I'm sure I am missing something, just can't find it anywhere on here or in the book.
My setup:
Drupal 6.13
Content Profile 6.x-1.0-beta4
Please help
Related Questions
Responses
2. Book: section 4.2.1 profile teaser - closed
Thanks for the response Dorien. The php code I am talking about is that found on page 39-40 of the book where we are adding the button that links to the profile:
node/
<?php print $node->nid ?>">
sites/default/files/profilebutton.jpg" />
I think my problem stems back to section 4.2.1 when I set the Content Profile display settings to "Display the content's teaser". With it set this way, the entire profile shows up and not just a teaser. There is another option there to set the display settings to "Display it as a link to the content profile". With this one set, I get a link on the My Account page to the content profile called "Profile".
I have temporarily left it with the link only displayed and am moving on to see how it will work out. I apologize, I should have posted a reply to my message to indicate that I was going to attempt to press on and work around some of the differences in the book and the modules that I have encountered.
Again, I must say, I really appreciate the effort you put in to your book. It has been a big help in my learning Drupal and trying to set up a social site.
Thanks so much and have a wonderful day!


1. Hi, Can you copy the code
Hi,
Can you copy the code here?
Did you fill it in in contemplate -> teaser?
Did you check the display as TEASER on the content profile.