Ohio Guns Posted May 18, 2017 Posted May 18, 2017 Any chance of getting reactions enabled on Pages articles/databases?
Morrigan Posted May 18, 2017 Posted May 18, 2017 Templates are not updated in upgrades. You just need to fix the template by editting. Find: {{if $record instanceof \IPS\Content\Reputation and settings.reputation_enabled}} Replace: {{if \IPS\IPS::classUsesTrait( $record, 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
Ryan Ashbrook Posted May 18, 2017 Posted May 18, 2017 9 minutes ago, Morrigan said: Templates are not updated in upgrades. You just need to fix the template by editting. Find: {{if $record instanceof \IPS\Content\Reputation and settings.reputation_enabled}} Replace: {{if \IPS\IPS::classUsesTrait( $record, 'IPS\Content\Reactable' ) and settings.reputation_enabled}} Beta 3 should hopefully do this automatically, to the best of its ability.
Wonko12 Posted May 22, 2017 Posted May 22, 2017 I am not getting the reactions in any of the pages I have created either.
Morrigan Posted May 22, 2017 Posted May 22, 2017 @Wallieweb - As @Ryan Ashbrook said it should auto-replace them. @Wonko12 did you try to fix I provided in post 2?
Wonko12 Posted May 22, 2017 Posted May 22, 2017 I did but no joy, not 100% sure which template, I am very new to IPB been using xenforo for 3 years.
Morrigan Posted May 22, 2017 Posted May 22, 2017 You have to be using the 4.2 version (just in case you are still using 4.1.19.x) It will be the "record" template for your database. So if you edit your database settings it will tell you which one it is then go to the templates and find that template and click on the "record" under that template. This is where the above will be. @Wonko12
-FP Posted May 22, 2017 Posted May 22, 2017 Yeah check what template you are using to display the records... if you didn't touch anything in the database, the default is the "Display" template... there you go to record and find the code. It's the code above the highlighted line in the IF statement... as you see I have the correct one.
-FP Posted May 22, 2017 Posted May 22, 2017 It should use the default then, Display. But edit the database and check at the bottom in the templates section, it should say Display. Or whatever it says, choose that one and edit the record entry as shown in the other screenshot.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.