I'm developing a phpBB extension (Empty Post Subjects) which displays on the forum's index page the subject of the topic instead of the subject of the last post if that last post subject was left empty.
Currently, if the following setting in the ACP is enabled, there are two links to the "last post" shown on the forum's index page:
General > Board Configuration > Board Features > Display subject of last added post on forum list
The behavior is as follows:
- The first link is the subject of the "last post", marked yellow in the attached screenshot.
- The second link is the small "view the latest post" icon near the post author's name, marked red.
- Both links have the same target, which is the last post.
I got a request from a user of my extension if it was possible to have different link targets here: the first link should target the topic, the second link should target the last post of the topic.
This is currently not possible, as the forumlist_body.html template uses the same variable for both links.
Could you please consider changing this template and allowing extension authors to change the link targets independently?
Maybe you could introduce a new variable U_LAST_POST_SUBJECT (which by default has the same value as U_LAST_POST), and is used for the first link?