[Template]topiclist_row_topictitle_after

Request hook events and what data needs to be sent for the new hook system.
Post Reply
User avatar
martti
Registered User
Posts: 45
Joined: Wed Aug 20, 2014 4:50 pm
Location: Belgium

[Template]topiclist_row_topictitle_after

Post by martti »

Identifier: topiclist_row_topictitle_after
Prosilver location:
viewforum_body.html

Code: Select all

	
					<div class="list-inner">
						<!-- EVENT topiclist_row_prepend -->
						<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
						<!-- EVENT topiclist_row_topictitle_after -->
						<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
and in search_results.html

Code: Select all


						<div class="list-inner">

							<!-- EVENT topiclist_row_prepend -->
							<!-- IF searchresults.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->
							<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a>
							<!-- EVENT topiclist_row_topictitle_after -->
							
							 {searchresults.ATTACH_ICON_IMG}
							<!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED --><a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a> <!-- ENDIF -->
Eplanation/motivation : This is to provide a topic title suffixes which have their own style and are linkable. I want to use this for a topic based Calendar extension, which will be ported from a existing calendar mod which was up till now only used privately. Dates wil be shown as topic title suffixes. These suffixes are links which bring you to the according period on the calendar page.

User avatar
martti
Registered User
Posts: 45
Joined: Wed Aug 20, 2014 4:50 pm
Location: Belgium

Re: [Template]topiclist_row_topictitle_after

Post by martti »

I see now it's a duplicate of

viewtopic.php?f=111&t=44989

Post Reply