Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be great to have an option to make links even for empty categories, as we can have not only nodes in a category page.
Comment | File | Size | Author |
---|---|---|---|
#9 | After.png | 23.81 KB | renatog |
#9 | After(Admin).png | 45.42 KB | renatog |
#9 | Before.png | 23.2 KB | renatog |
#1 | site_map-link_empty-1593584-1.patch | 1.7 KB | Avorathol |
Comments
Comment #1
Avorathol CreditAttribution: Avorathol commentedPatchfile for link empty against 7.x-1.x branch. It adds a configuration option and create links if specified.
Comment #2
darrell_ulm CreditAttribution: darrell_ulm commentedAvorathol, thanks again for the patch. Will look at getting it tested and applied soon. Looks interesting.
Cheers,
Comment #3
darrell_ulm CreditAttribution: darrell_ulm commentedThe patch applied, and it does what it says which is to make links to empty taxonomy categories and the taxonomy reads
as expected.
There were no errors and the code looks OK.
Does anyone else have a need for this enhancement? I supposed it could be useful in the right circumstances.
Thanks Avorathol, let's see if anyone else will weigh in on this.
Comment #4
darrell_ulm CreditAttribution: darrell_ulm commented@frjo, hi what do you think about this idea. Since it is your module, think I should ask if you are interested in applying it.
Thanks!
Comment #5
chrisarusso CreditAttribution: chrisarusso commentedI have a need for this. I will be applying the patch and running the patched version in production until incorporated.
Comment #6
renatogHi people.
I applied the patch and works good for me.
Very good.
Before:
After (In Admin page):
After:
Thank you very guys.
Good Work.
Regards.
Comment #8
renatogFixed.
Commited in dev branch.
Good Work.
Regards.
Comment #9
renatog