user tip Need a template identified, want to customize.

Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
Searching on an item within the main site forum and I want to customize the results slightly. (To be specific, I want to add " Posted in " in front of the forum category name.

Which template generates the individual item listing?

Sample search result page:

http://www.thechocolatelife.com/forum/activity/2720/sebastian
updated by @claygordon: 03/09/15 06:11:25PM
paul
@paul
9 years ago
4,326 posts
I think that is the activity.tpl template that is part of the jrForum module.


--
Paul Asher - JR Developer and System Import Specialist
michael
@michael
9 years ago
7,715 posts
The way I find stuff when I dont know what it is is to look at the source code for things that look unique.

That div has a class "forum_post_text" so i run a search on the codebase i have on my local pc for that and it turns up:

/modules/jrForum/templates/activity.tpl
and
/modules/jrForum/templates/item_details.tpl

I know item_details.tpl is the single one off displayer name, so paul's likely right with the activity.tpl template call.
Clay Gordon
Clay Gordon
@claygordon
9 years ago
733 posts
michael:
The way I find stuff when I dont know what it is is to look at the source code for things that look unique.

That div has a class "forum_post_text" so i run a search on the codebase i have on my local pc for that (snip)

I was thinking about pulling a local copy of the source. I use local search to find classes in the CSS files. Extending that to the source makes a lot of sense.

Tags