computerminds.co.uk - Make a link use ajax in Drupal 7 (it's easy)
Di. 14.02.2012 - 01:00
Part 1: Make the link work without javascript
In this example we have a table listing log entries of some kind. We want to put a delete link against each log entry allowing the administrator to delete the log entry:
The following code is responsible for printing out each link onto the page:
More news from computerminds.co.uk
02.06.2026
Our automated tests for a Drupal 11 upgrade failed with a cryptic error: Recursive router rebuild detected.…
30.04.2026
Many manufacturing organisations start with WordPress. It’s fast to launch, familiar to marketing teams, and flexible enough to cover…
20.02.2026
A bit of backgroundEven as a seasoned Drupal developer, when upgrading a Drupal 10.x site to Drupal 11.x you can still encounter a…
10.02.2026
A client of ours has millions of items on their Drupal website that they index into Solr using the fantastic Search API Solr module.…
06.02.2026
In mid-January 2026 a group of business leaders in the Drupal space came together to discuss strengths, weaknesses, opportunities, and…
10.01.2026
This week, Drupal turns 25. From its beginnings as a student message board to becoming one of the world’s…
23.12.2025
Drupal's Views module is wonderful for listing content, but what should you show when you have nothing to list? Everybody loses if a…
28.11.2025
We’re big believers in supporting our team’s growth, because when our people develop, our clients benefit…
22.09.2025
On a recent client website, I needed to programmatically load and render 3 blocks. Plugin blocks to be precise. In modern Drupal, there…
17.09.2025
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
Using Sass >= 1.80 and wanting to shush those @import…
- 1 von 17
- ››

