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'm using the usernode and profile modules to format a profile page for users of my community site. With the help of phpTemplate theming (this page was helpful) I'm getting the profile page to look exactly as I want, except for one problem: I can't remove the comment form.
I want comments to appear universally on my site, but not on usernodes. How do I turn off comments for this specific nodetype?
So I have multiple themes running on my drupal site. I'm building a new theme and I'm confused about some of the php calls and looking for help or a place where I can find help.
For example the line in file node.tpl.php: print $submitted
creates "Submitted by IrnBru001 on Thu, 2006-12-21 18:14." in one template
and "Submitted by IrnBru001 on Thu, 2006-12-21 18:14." in another.
I'm not understanding where in the two themes $submitted is being defined
I'm getting TinyMCE error that I hope someone can help me with. It is:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND n.status = 1 ORDER BY sticky DESC, created DESC LIMIT 5' a query: SELECT DISTINCT(n.nid), n.title, r.body, sticky, created FROM term_node t INNER JOIN node n ON t.nid = n.nid INNER JOIN node_revisions r ON r.vid = n.vid WHERE t.tid IN () AND n.status = 1 ORDER BY sticky DESC, created DESC LIMIT 5 in
....includes\database.mysql.inc on line 121.
I have a problem with the imce and the tinymce plugin: I want users to be able to create their own content and upload pictures for this purpose.
As I see it there are two possibilities:
1) Let users upload via imce in a folder with limited capacity
(i'll have to give them the rights to delete pictures, which leads to problem that the pictures also disappear in the content items)
2) Let them upload in folder with unlimited capacity
(without the possibility to delete pictures. the problem: unused pictures become useless garbage)