Okay, so my question is, how to control specific collapsible fieldsets to be opened by default on page load? I saw that initially these fieldsets have the class name 'collapsed' and after opening them by clicking on the legend this class name disappears. I could try hacking the css to make it non-collapsed but I'd need only some of these fieldsets opened only. I am using category.module and when a user submits content to my site, I want him to see the dropdown list of categories instead of skipping it and posting to the first (lightest-weighted) category.
$doc_link = eregi_replace("^node.","",db_result(db_query("SELECT src FROM {url_alias} WHERE dst = '%s_doc'", substr($node_url,1))));
somewhere. First I used $node->path but this was emtpy using an anonymous user. then I changed using node_url but now on my hosted site this is empty as well.
Do I have to initialize them somehow?
What is the right way to get the url from a node, working for all users?
So thus far Content Templates have been serving me quite well in terms of getting the output of my CCK content types to look as I want it to. But now I'm running into something that I have no clue how to do. I know I can create a .tp.php file to theme a particular node type (how I did it before Contemplate) but I don't recall (and couldn't find) any way to theme the title of a teaser, or really a teaser at all. I am basically looking to dump the teaser and display one of my Imagefields in the teaser. What I've got so far (with Contemplate) is the Imagefield with a title above it.