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.
I am attempting to change the string for the privatemsg module link for one type of node only. Currently the module includes a function which checks if the item is a node or comment (via variable "$type").
I, however, am trying to change it so that it is different for forum objects and nothing else.
I attempted to add a key to the array value by modifying the actual privatemsg.module ( see code )
I'm not too strong in PHP, so I'm sure this is just a coding error on my part. I'm trying to have my forum nodes mimick the module nodes in layout and design. I've already done a bit of tweaking on the comment module and I'd like it to apply to forum nodes as well.
In my node.tpl.php I attempted to include an "if/then" statement, but I can't seem to get the syntax right.
getting this msg: warning: Missing argument 3 for theme_menu_local_task() in /home/jwilde/public_html/ideascape/includes/menu.inc on line 696. each time I open a page with tabs on the node, eg, access control with the three tabs - permissions, roles, access rules. Any ideas? www.advancinginsights.com
I'm having CSS issues with Internet Explorer and using CSS to set the textarea to 95%. It looks pretty without text, but as soon as you type it expands beyond its set area.
I've tested this with the drupal site, and ofcourse it works great. I just wondered what trick you used, or what pit I've falled into.