Nice job on this module! I've got it working and so far everything seems to be running smoothly with my Facebook app.
However, I would like to change the node teaser template to link back to my original nodes at my drupal site. I tried inserting my domain name in the following code:
<a href="http://www.mysite.com<?php print $node_url?>"><?php print $title?></a></h2>
However, I noticed that it inserts my canvas page directory, /myfbapp/nodeurl. I searched around in the Drupal for Facebook module and I discovered you changed $base_path. Is there a way to refer back to the original base_path or to just call up the whole url back to the node at my site in node-teaser.tpl.php? Thanks for any help that you can provide.
Comments
Comment #1
Dave Cohen commentedSee if fb_local_url("node/".$node->nid) returns what you want.
If you're customizing the theme, consider make your own theme (start with a copy of fb_fbml) and set the variable 'fb_theme' in your settings.php. That way future changes to fb_fbml will not affect you. (Which may or may not be desireable, your choice).
Comment #2
FatPitchFinancials commentedThanks, that worked perfectly.
I also appreciate the suggestion to consider creating my own theme. I think I might do that once I decide exactly what I want. Right now I'm only making minor tweaks to the theme.
My next goal is to figure out how to get content in Facebook profiles.
Comment #3
Letharion commentedSince Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 support requests.