Top new questions this week:
|
For example, if URL ends with /test/flower , breadcrumb should be Home/test/flower. First time working with this module,and it’s not clear to me how to do this. Could you please help me? Thanks in …
|
I want to import/export all menus of site1 in into site2. Currently I am using the entitysync module to synchronize the content between two sites. I can see there is an option for “Custom Menu …
|
I found this identical question but it seems to be dead and none of the answers help me. I also don’t have enough reputation to ask in a comment, so, since I’m at the end of my rope with this issue, I’…
|
Does anyone know how to display every article (or a content type) a user has published on their “my account” view? Just to clarify, I only want it to display that specific user’s published content, so …
|
I’m looking for a solution to hide machine_name from a form temporarily (only during validation) and restore it afterward. When the form has validation with errors the machine name appears (with a …
|
I have a multilingual site whose default language is Italian. Some of the content has no language defined. The problem occurs when I browse the site in English. All the links are displayed with the /…
|
Greatest hits from previous weeks:
|
Drupal 8 re-arranged all the directories and locations of modules/themes etc. Where do things go now?
|
I’m programmatically creating a user with the following code. $newUser = array( ‘name’ => $mail, ‘pass’ => ‘password’, // note: do not md5 the password ‘mail’ => $mail, ‘status’ =&…
|
myfield is a plain text field. {{ content.field_myfield }} renders the field with HTML markup and the field label. How do I render the raw value of the field? {{ content.field_myfield.value }} doesn’…
|
I have a Drupal instance running on example.org. Which has a theme X installed and activated. Now for a limited period an event is supposed to be held on the site for which a special section has been “…
|
What are the fundamentals of implementing hook_menu()? I would like to see the basics covered in a single question, to avoid having to answer the same similar but different questions over and over.
|
I’m developing a site using Drupal 8 beta-14. I’ve created a view block of different terms and now I want to display it using code. How can I display it programatically? I used to do it in Drupal 7 …
|
In Drupal 7, if I wanted to get the node id of the currently displayed node (e.g. node/145) I could get it with the arg() function. In this case, arg(1) would return 145. How can I achieve the same …
|