Drupal is a registered trademark of Dries Buytaert

pseudo_link

No security coverage
View on drupal.org

The Pseudo Link module for Drupal allows you to add customizable pseudo links to specific entities and bundles.
With this module, you can define link text, CSS classes, wrapper classes, and choose whether links open in a new tab.
It enhances content presentation by offering flexible, reusable link elements that can be applied across your site.

Configuring pseudo links as part of the module allows precise control over which entities and bundles display links, and how they are styled.
This ensures that site builders can maintain consistent link behavior and design without modifying templates or writing custom code.

Installation

Features

  • Entity & Bundle Specific: Enable pseudo links per entity type and bundle.
  • Custom Link Text: Define the text displayed for each pseudo link.
  • CSS Classes: Apply custom CSS classes to links and wrapper elements for styling.
  • Wrapper Control: Add custom wrappers around links for layout purposes.
  • Open in New Tab: Optional setting to open links in a new browser tab.

Post-Installation

After installing the Pseudo Link module, follow these steps to configure:

  1. Go to Configuration > Pseudo Link in the Drupal admin interface.
  2. Enable pseudo links for the desired entities and bundles.
  3. Set the link text, CSS classes, wrapper classes, and toggle the “Open in New Tab” option as needed.

Once saved, pseudo links will automatically appear on the selected entities according to your configuration.

No additional modules are required. For full functionality, ensure your theme supports standard content regions and renders entity views properly.

Demo

  • Go to https://simplytest.me/project/pseudo_link.
  • Click "Launch Sandbox".
  • Install Drupal as normal.
  • Enable "Pseudo Link" module, and any optional modules you wish to try out.
  • Go to the the url admin/pseudo-link-configurations and enable and configure the configurations for the entities
  • Go the manage display page of the entitiy(Fulsh the caches if the changes are not reflecting on the manage display page.)
  • Enable the pseudo field and drag up or down to reorder
  • Save the changes and visit the entity details page or the view block or pages(Fulsh the caches if the changes are not reflecting on the pages)

Troubleshooting & FAQ

  • Links not appearing? Check that pseudo links are enabled for the specific entity and bundle.
  • CSS not applied? Ensure the CSS classes are valid and your theme includes the relevant styles.
  • Links not opening in new tab? Verify that the “Open in New Tab” option is enabled for the bundle.

Support

For bug reports, feature requests, or support, visit the Pseudo Link module page on Drupal.org and use the issue queue.

Activity

Total releases
2
First release
Feb 2025
Latest release
1 year ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.2.x-dev Dev Feb 1, 2025
1.2.2 Stable Feb 1, 2025