TinyPortal
Development => Support => Topic started by: davo88 on March 25, 2024, 06:44:08 PM
I have many articles to enter (100+ initially, then ongoing) and am wondering if it is possible to edit a TP template to change the default 'Viewing options'. Currently the defaults are mainly all 'on'.
Snag_3302ba4d.png
It would save a lot of clicking around if I could edit and set them to my preferred state as shown below.
Snag_330594e4.png
I had a look at TParticle.template.php but it's to complex for me to follow.
Had a look into that before, but it is not easy to set that the way these variables are set.
I cannot help with this
I think I did a package for wildenborch which used a hook to set different defaults. I can't find it currently but it's an attachment on here.
Found it....
https://www.tinyportal.net/index.php?msg=301703
Jeez, missed the defaults in TportalAdmin.php completely...
Must be having an off-day
Wow... thanks guys. That's a very handy little mod. It's great that TP has so many article options, but they can become a bit tedious when posting a stack of articles. I added a bit of info to the Article Defaults (https://www.tinyportal.net/index.php?msg=304232) topic in case anyone else is wondering how it works.
Quote from: davo88 on March 27, 2024, 06:29:40 AMWow... thanks guys. That's a very handy little mod. It's great that TP has so many article options, but they can become a bit tedious when posting a stack of articles. I added a bit of info to the Article Defaults (https://www.tinyportal.net/index.php?msg=304232) topic in case anyone else is wondering how it works.
Thanks, I do have a habit of just doing something as a proof of concept then never documenting it!