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 Drupal 6 with WYSIWYG and CKeditor and I was looking for a way to add classes to elements via CKeditor so that they could then use the standard theme CSS that I’ve created. I see how to modify default.js to add the styles that I want but that seems to add them inline to the element itself without using a class. I really just want to add the class and have the stylesheet do the styling.
You will notice that there are code snippets that solve the problem. However, most likely due to my lack of coding skills, I get the WSOD for the entire website when I try to apply any of the snippets. Undoing the work clears the problem right up.
I would like to save the form field values by using mymodule_admin() function.Now the problem is that how can i get the values saved in the mymodule_admin() on the other form without using the database ?
i have enabled profiles module and added some field for registration.
but i want to show these added field on edit profile page,but in permissions(under user management) added fields are not listing.
I am trying to copy image file from a URL to a directory in a server. I am not aware on how to do this in Drupal 6. As fas as I know, file_copy() doesn't support URLs in Drupal 6.
It is a strange thing that google index both my site ip and domain at the same time. I read lots of think about that but I could'nt find any satisfying answer. I have three question about that:
1- Is it a property of drupal?
2- How can I redirect my indexed ip pages to domain? Example:
http://myip/testpage.html to
http://www.mydomain.com/testpage.html
3- Is it bad for seo and can cause to duplicate content? If I fix it can it affect my seo positively?