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 want to load drupal as a package within another.
/admin/index.php
/index.php
/packages/drupal/
Calls to index.php or /admin/index.php would do things that may include loading drupal and performing a route request. Any response would need to have the correct path translations relative to / with no paths leading to /packages/drupal except for possibly dynamic site data.
Good day,
From what I have read, there is NO easy way of using an existing theme from Drupal 6.x to Drupal 8. It would seem easier to find a Drupal 8 theme that is released and try use it as a basic template. This was built as a sub-theme version of ZEN. It appears that there is no Drupal 8 version of Zen. Does anyone know the best Drupal 8 theme that could be used?
Hi I m using function THEME_preprocess to edit Drupal 8 theme.
I have hard problems to use Drupal Method so I am using my custom class to
obtain info by DB.
It' s not better way but I need to solve some problem.
I don' t understand by documentation
how get info of main_menu
I've created a new view in D8 for user listing. User's e-mail address and last access information is only shown when current user has administer users permission. That's a view for authenticated users, not for admins, so I don't want grant this permission to all authenticated users. How can achieve this?
I have a flight ticket booking drupal 8 form which has the following:
1)From
2)To
3)Date
I need to include two buttons namely "Add" and "Remove" which will add/remove the above mentioned fields in my form.
For example, if my form initially has three fields(From,To,Date) upon load, then by clicking "Add" button, I should be able to see another set of these fields while the first ones still persist.