Recovering a small skin customization I lost when I moved to jr6
Using Jamroom
(I understand that your very last post was meant for my other thread by the way)
But as to this thread's issue again:
michael:
You're checking if the timeline entry is a comment on the profile and if it is skip it.
{if !(isset($item['action_item']['comment_module']) && $item['action_item']['comment_module'] == 'jrProfile')}
...
Michael I don't understand why I can't fix this simply by adding the (above) old code line back again into my current skin's index_activity.tpl ...since apparently that code got left behind during my jr5-t-6 update? (what with the timeline/array stuff associated with that update). Between adding it back to my skin index_activity, and the reference to it I've added back to my skin's index.tpl that I did with Douglas in the beginning of this thread... why wouldn't that work?
Now I'm not even sure whether I should revert my skin's index.tpl back to what it was before I started this thread?- or leave in the change that Douglas suggested that I now have in place..? I'm getting confused now.
Quote: So to get it back how it was, and only skip showing those messages on the front timeline, re-make the index_activity.tpl by copying the /modules/jrAction/templates/item_list.tpl to /skins/YOUR-SKIN/index_action.tpl
Then add that template into the jrCore_list with a template="index_action.tpl"
At this point you have EXACTLY the same as the default. Once thats working, then we start changing it.
The reason we do it like this instead of a direct override via the TEMPLATES tab in the ACP is that we still want to show those profile timeline comments on the profiles of the users who wrote them. (if you dont want them there too, then this could be done via an ACP edit.)
Let me know when thats done or if its too difficult and we'll rethink.
Michael I've read over your instructions above several times and I think it's beyond what I can (safely) attempt on my live site, without having careful step by step help.
(incidentally, I should confirm that YES I do want to "still want to show those profile timeline comments on the profiles of the users who wrote them" as you mention above.)
To help me understand what you suggest i do-
First question: Are your instructions meaning that I'm I supposed to MAKE a template? ("Then add that template into the jrCore_list with a template="index_action.tpl"") If so, I gotta first figure out how to actually 'make' templates. Should I just Google that? (I think I can use just MS Notepad text editor?)
Second: am I supposed to leave IN the skin index.tpl change that Dougles first suggested at top of this thread? Or do i revert that change out again now, before attempting to proceed with anything else?
Thanks!
updated by @strumelia: 01/24/17 09:07:40AM