GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - paravibe/word_link: Module for Drupal

BranchesTags
Open more actions menu

Latest commit

 

History

155 Commits
155 Commits

Folders and files

NameName
Last commit message
Last commit date
css
css
 
 
handlers
handlers
 
 
modules/word_link_exchange
modules/word_link_exchange
 
 
tests
tests
 
 
theme
theme
 
 
README.txt
README.txt
 
 
word_link.actions.inc
word_link.actions.inc
 
 
word_link.admin.inc
word_link.admin.inc
 
 
word_link.info
word_link.info
 
 
word_link.install
word_link.install
 
 
word_link.module
word_link.module
 
 
word_link.rules.inc
word_link.rules.inc
 
 
word_link.views.inc
word_link.views.inc
 
 
word_link.views_default.inc
word_link.views_default.inc
 
 

Repository files navigation

-- SUMMARY --

The Word Link module allows you to automatically convert
specific words into links. It works as text filter.
This can be useful for crossposting your site's pages,
or for the contextual advertising of your partners (SEO).

* Features:
- Convert word in content with a link or just wrap it in with class.
- Can set on which content type it will be affected.
- Can set a list of HTML tags that will be ignored.
- Can specify case sensitivity.
- Can set a path on which words will not be converted or path only on which it will be converted.
- Works for Cyrillic (PCRE 8.10 or higher).
- Import words from taxonomy terms.
- Import words from CSV file.
- Export words to CSV file.
- Bulk delete operation.
- Sortable tableselect with pager.

* Need to know:
Word Link module uses DOMDocument class that build in PHP from version 5.
And for loading HTML it uses loadHTML method. This means that your HTML
does not have to be well-formed, but if it is not, it can cause errors,
especially when using deprecated tags or HTML 5 tags. So it’s better that
your fields/comments HTML meet the requirements of XHTML 1.0.

* Example:
"Nam aliquam egestas congue. Sed at odio odio, quis viverra dolor.
Vestibulum sed mauris id elit vehicula tincidunt. Integer quis magna
tortor, non ultrices elit. Nunc quis amet."

Would become:
"Nam aliquam egestas congue. Sed at odio odio,
<a href="www.drupal.org" target="_blank">quis</a> viverra dolor.
Vestibulum sed mauris id elit vehicula tincidunt. Integer
<a href="www.drupal.org" target="_blank">quis</a> magna tortor,
non ultrices elit.
Nunc <a href="www.drupal.org" target="_blank">quis</a> amet."

-- REQUIREMENTS --

- PHP 5.
- For unicode symbols PCRE (Perl Compatible Regular Expressions) 8.10 or higher.


-- INSTALLATION --

* Put the module in your drupal modules directory and enable it in
  admin/modules.


-- CONFIGURATION --

* Configure user permissions in Administration » People » Permissions:
Go to admin/people/permissions and grant permission to any roles
that need to be able to add and edit words.

* Configure text filter:
Go to admin/config/content/formats and edit text format.
Add word link as filter to the text format and configure it.

* Add a new word:
Just follow the admin/config/content/word-link/add and fill out the form.
Also here you may specify case sensitivity, link title and inner drupal path
on which words will not be converted.

About

Module for Drupal

drupal.org/project/word_link

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.