Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
The module allows you to show node author information in a custom format.
As it uses the cck userreference field, you can easily change the displayed author and keep the real author information in the uid field of the node table. This is useful if you work with freelance authors/journo's or if somebody else handles the actual content input/upload.
To use the module:
1. Enable the module
2. Go to node type settings page Administer -> Content Management -> Content types. Select the node type you want to modify
3. Add a userreference cck field to a node type. Select display template "Author field template"
4. Open the page with content type settings.
5. In a fieldset "Author information" for a field "Author field" select the userreference field you want to use
6. In "Author information template" add php code which returns formatted string. You can use $n (node object) and $u (user object) variables here.
For example:
SWFObject Filter module automatically loads the SWFObject script into the head of the page if it's needed.
About SWFObject
SWFObject 2 offers multiple standards-friendly methods to embed SWF files into web pages. It uses JavaScript to detect Flash Player and avoid broken SWF content, and is designed to make embedding SWFs as easy as possible. It supports the use of alternative content to display content to people that browse the web without plug-ins, to help search engines index your content, or to point visitors to the Flash Player download page. SWFObject 2 detection is future-proof, includes Adobe Express Install, and offers an elaborate API for JavaScript developers. All of this is powered by one small (under 10K) JavaScript file.
- http://www.adobe.com/devnet/flashplayer/articles/swfobject.html