Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Skandabhatt on
Hey guys, I am working with 'omega' theme and Drupal 7.
I want to edit nodes/pages at html level. How do i get access to it?
I don't mean inspecting elements in browser. A real access to actual html files of a particular page in drupal site.
Comments
Drupal doesn't use HTML files
Drupal doesn't use HTML files, content is stored in the database.
How you edit that content depends on the content you want to edit.
Or perhaps if you mean the
Or perhaps if you mean the template files on which the HTML output is based on, you would need to take a look at Working with template suggestions and Drupal 7 Template (Theme Hook) Suggestions
where to include javascript code?
i have some javascript codes for a module to work and i dont know where to include them
To include .js file(s) from
To include .js file(s) from your module check drupal_add_js function().
In which case what I would do
In which case what I would do is a custom subtheme and include any js in there in the .info file.