I an only getting one glossified link per paragraph, even though there are multiple keywords to different pages in the paragraph. I have the following configuration set:
1. Link From everything. Link to everything.
2. Set to TRUE: Only link first occurrence of term.
3. I am using both the "Make use of title" and the internal method to create links.
4. My target "To" node in the attached screen shot has the following title: Photo Gallery
5. My target "To" node in the attached screen shot has the following comma separated keywords added to it: gallery, images, photos, pictures
The attached screen shot of the "From" node contains the following paragraph: (Yes, it is garbage text while I am testing this issue.)
Be sure to contact us and pictures photos gallery we can help. You can also request a consultation.
Only "contact us" is being glossified (a different target "To" node) in that paragraph while the follow keywords are not: pictures, photos and gallery
A later paragraph does glossify the keyword: photos
I am using TinyMCE 3.3.2, although I am not sure how that would affect it. If it helps, the site is running:
Drupal 6.19
MySQL database 5.0.91
PHP 5.2.14
Anything else needed?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | CORRECT-one-glossify-per-paragraph.png | 88.58 KB | Archnemysis |
| one-glossify-per-paragraph.png | 81.95 KB | Archnemysis |
Comments
Comment #1
Archnemysis commentedUgh. Uploaded the wrong screen shot. This is the correct one where the later paragraph does glossify the keyword: photos.
Comment #2
Ivo.Radulovski commentedHi and thanks for your interest in glossify, i suspect this could be related to the "only first" bug. I will try to update the module today and would like to ask you to give the next dev release a shot.
Comment #3
omerida commentedFixed in #917366: Performance patch - the way the replacement function works, it was only replacing inside the deepest child of each paragraph, in a sense. Once you add a link to a paragraph, it would only look to replace within that A tag, if that makes sense.
Comment #4
Ivo.Radulovski commentedYes i noticed that, it seems like simplehtmldom does not (as i at first thought) have a seperate text-node, i've already worked on a fix but i'll see how far we can merge our fixes, thanks a lot however for all your effort. I will try to get working on glossify asap.
Comment #5
WorldFallz commentedseems to be fixed in the current dev.