Support Forum
I see it shows on 2 lines so I looked for the sp_PostIndexUserDate function and found it in sp-topic-view-functions.php and there is the option already built in to have it on the same line seprated with a dash. If I take this route and change stackdate to 0, this will get overwritten on next update, right?
When people change these options here and there from default, do they must write all of them down somewhere and after every update they must edit all files again or is there a config file somewhere that keep all those changes safe from future updates?
You can tell it to stack or not the date from where the function is called using an argument.
For example from your theme's spTopicView.php file it has
sp_PostIndexUserDate('tagClass=spPostUserDate spCenter');
Add the stackdate 0
sp_PostIndexUserDate('tagClass=spPostUserDate&stackdate=0 spCenter');
That way you don't have to edit the core files just your theme. It is recommended that you create your own theme and not edit an existing one.
That way your changes won't be overwritten on an update. You could write down your changes and compare them to any updates but I prefer a text editor that can compare 2 text files so I don't have to remember or write anything down.
yes, your implementation is correct...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)