How do I know if a site works on Drupal? What are the markup patterns?

I am wondering what the DRUPAL markup template is. I know that a site works in Wordpress when I look at its markup and see / wp themes, or in Joomla it uses / templates / administrator (for the admin page, for example, site.com/administrator).

+4
source share
8 answers

For me, the boldest way is to check for drupal.js in the source or Drupal global js variable using a js console like firebug.

+4
source

Try switching to update.php. You should see Access Denied and the blue theme, which is Garland.

You can also go to / user and find out that this is the Drupal login. Wordpress is sent to / wp -login and Joomla goes / manages.

+2
source

All other answers work, plus - if they turned on css and js optimization, you can see links to similar css and js files (with "sites / default / files"):

 <link type="text/css" rel="stylesheet" media="print" href="/sites/default/files/css/css_b4e7deec9864f332efab3b64ea4fa606.css" /> 
+1
source

Drupal sets the HTTP Expires header for Sun, November 19, 1978, 05:00:00 GMT, which is Dries' birthday. Find the drupal_page_header () function in include / bootstrap.inc.

+1
source

Here is what I am looking for ..

Most Drupal sites use "clean" URLs, so usually the admin page is http://www.site.com/admin

0
source

In the source code you can find

jQuery.extend (Drupal.settings, ----------- Code -----------------)

and also you can find as js files

script type = "text / javascript" src = "/examplesite/sites/all/modules/XXXXX/js/XXX.js? g"

and css files as

link type = "text / css" rel = "stylesheet" media = "all" href = "/examplesite/sites/all/modules/xxxxx/demo.css? g"

0
source
0
source

Finding paths to javascript themes or files will not work if they are cached.

You, as well as the license, could find CHANGELOG.txt, UPGRADE.txt or MAINTAINERS.txt in the root directory.

Depending on how the server is configured, you can also request a path that is denied access in .htaccess.

If you gain access, and not a page not found on all of these templates, it will most likely be Drupal. These paths are (add network root): module, profile, themes, etc. See .htaccess File for Drupal. If the page is not found for these pages, it could be Drupal.

0
source

Source: https://habr.com/ru/post/1305197/


All Articles