How do I create a search page?

How do I create a search page?

I have the Search API and the Solr search modules installed. In /admin/config/search/search-api, I see my server and index created and with status set to OK. I can see on the index view page that my content is indexed correctly. I did not use the Solr Search Defaults... read more
How do I create a search page?

Load an AJAX submission enabled webform using another AJAX call

I am using Javascript/AJAX to call a path defined in a custom module which loads existing node content for display. i.e. you are at: /custom/path and it makes an AJAX request to /custom/content with arguments to load the content for the page (placed in #main-content).... read more
How do I create a search page?

How to link an image with a PDF?

Actually, I have a content type with 2 fields, image field (multiple) which will contain some pictures and an attachment field (accept only one file) which is file of type PDF. I have a view where I put my gallery and each picture opens in a colorbox. The PDF file... read more
How do I create a search page?

When editing a node, some markup disappears

I’m using Drupal 7 and my page loads and looks fine when I add a new node and insert HTML markup. When I edit the page, some of the markup either disappears or it’s replaced. For example, if I add <h3 class="landing">, the node saves and... read more
How do I create a search page?

Evolving Web: Drupal vs. WordPress, Migrations, Modules, Accessibility, and More… Our Top 10 Articles of 2021

We at Evolving Web had plenty to write about in 2021. From technical tutorials about Drupal 9 to articles about accessibility and inclusion, we aimed to deliver relevant information and useful insights to the developers, content strategists, designers, marketers, and... read more
How do I create a search page?

CiviCRM Blog: Use Drupal webforms to create new users with the CMS User extension

Use Drupal webforms to create new users with the CMS User extension mark.armstrong 2021-12-20 – 09:05 People are at the heart of any organization, whether it’s volunteers, students, or clients, and getting the most out of your technology can help organize them... read more
How do I create a search page?

Evolving Web: The Year in Review: Drupal in 2021

2021 was an eventful year for the Drupal community. In April, we celebrated Drupal’s 20th anniversary and participated in a month-long Drupal Fest. We also launched Discover Drupal and other initiatives to make Drupal more inclusive. We marked the end of life of... read more
How do I create a search page?

Add CSS classes to theme function

I’m implementing hook_theme() in a custom module. function monitor_chart_theme() { return array( ‘chart_monitor’ => array( ‘template’ => ‘monitor_chart’, ‘variables’ => array( ‘container’ =>... read more
How do I create a search page?

Can I create a link to a taxonomy page?

I have a page that has a single category applied to it, for this example, "Self Help Books". I want to put a place on content type that display a "view all [insert category here]" that links to that category listing page. I was hoping I could do... read more
How do I create a search page?

Filter view with multiple displays

Using Drupal 7. I have a view with several page displays, 2 of them being /review and /mentions. I have some exposed filters on these pages visible on a side block of the page. When clicking the apply button to filter the content, I get redirected to... read more
How do I create a search page?

Search API Entity reference selection

Search API EntityReferenceSelection This module provides a selection plugin for entity reference autocomplete fields that lets you use Search API views. SoundCloud Repost Service SoundCloud Promotion Service Spotify Playlist Promotion Spotify Playlist... read more
How do I create a search page?

User registration silently fails – how to debug?

On our Drupal 7 site, user registration silently fails. Drupal doesn’t even reach the form’s validation functions. What we checked: disabling javascript didn’t help. Removing installed modules related to registration such as : logintoboggan,... read more
How do I create a search page?

Showing two colorbox windows side by side…or within one main frame?

I have a site that I’ve created for some fellow musicians to learn new songs. Generally we have a link to a Youtube video of a song then a link that opens up the tab (chords, lyrics, etc) for the song. Right now I have links that open those things up... read more
How do I create a search page?

Can’t get fid of the saved file after file_save_data

I have been trying to get the fid of the file which my custom module is saving and every time I end up getting the error “Trying to get property of non-object in report()”. I have tried file_object->id() and file_object-> fid ->value but neither... read more
How do I create a search page?

Children of children not appearing in book navigation menu

UPDATE: I should mention that this is concerning the Book Navigation Block I’m using the book module to display children of a book in a side menu. It displays the title of the book and it’s children just fine. However the children of the children... read more
How do I create a search page?

Nodes containing simple field collection not displaying properly

I have a content type to which I added fields like description, image and a field collection containing two simple text fields. Editing and viewing in the backend (logged in as admin) works properly. But when I log off and go to the node it just shows the title and no... read more
How do I create a search page?

Add CSS/JS to particular view?

I’m having trouble understanding how to attach a library to views. I want my assets to be included in /foo but not in /bar. I’ve read through the documentation on this more than once and from my understanding this is achieved by using preprocess, such as:... read more
How do I create a search page?

Allow user to fill out node form, then force registration

I’m making a classified website. Have a button that say “Make a ad” I would like the Anonymous user to be able to fill in the text for the ad. But the Anonymous users after filling in advert. has to sign up for the ad to be posted How can do this... read more
How do I create a search page?

How to utilise isDefaultRevision() for forward revisioning?

Since “Support revisions in different states” went into the core it is now theoretically possible to have forward revisions of nodes. For example publish revision 1 then create revision 2 but keep it unpublished. This is very useful when someone needs to... read more
How do I create a search page?

How can I prevent HTML tags getting rendered as plain text?

I have my data from SQL with table HTML tags e.g. <tr> and <td>. When I render it in Views it displaying all the HTML table tags without rendering it. I put some code in .module file to pass this data using hook_views_post_execute I tried all the solution... read more