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 trying to install the tinymce compressor. But when I follow the installation instruction of the tinymce module, (put the tiny_mce_gzip.php in tinymce/javascript/tiny_mce) the editor doesn't work. and the instruction from tinymce compressor is like this
Copy the tiny_mce_gzip.js and tiny_mce_gzip.php to the tiny_mce directory. The same directory that contains the tiny_mce.js file.
Remove the current script tag.
Hi. I deleted the folder /drupal/files accidentally and now I
mkdir files
&
chmod 775 files -R
but Drupal's File System keeps saying the directory files is not writable.
I'd like to do a php snippet that lists title, teaser, and a few other fields for a given category, but I have not been able to figure out how to get a distinct entry for records that have been revised. Right now, my snippet lists single items multiple times. Any suggestions?
select distinct(n.nid), n.title,r.teaser,u.name,n.type,t.tid from node n INNER JOIN term_node t on n.nid = t.nid INNER JOIN term_data ON t.tid INNER JOIN users u ON n.uid = u.uid INNER JOIN node_revisions r ON r.nid = n.nid where t.tid = 1 and n.type="blog";