0 Members and 1 Guest are viewing this topic.

Plugin templates
« on: June 06, 2017, 10:44:03 AM »
Hello!

the templates of the plugins are stored in the plugin/templates/default directory. So, if I wanna change them how to do best?
Thanks!

*

KHDev

  • *****
  • 72
  • Releasing stuff and learning on the way!
    • KH Web Development
  • osDate Version: osDate Evo v1.0
Re: Plugin templates
« Reply #1 on: June 06, 2017, 04:56:13 PM »
if you want to change them then you edit those files. A far as I know it's the only way.


Re: Plugin templates
« Reply #2 on: June 06, 2017, 09:19:05 PM »
So, that means I can't create custom directory in this case?

*

KHDev

  • *****
  • 72
  • Releasing stuff and learning on the way!
    • KH Web Development
  • osDate Version: osDate Evo v1.0
Re: Plugin templates
« Reply #3 on: June 06, 2017, 09:42:15 PM »
depends by what you mean by custom directory..

if you use a different template then you'd create a custom directory within each plugin templates folder relating to the template you're using so the script locates the correct files otherwise it'll just use the default files.

if that makes sense.. :)

Re: Plugin templates
« Reply #4 on: June 06, 2017, 10:39:46 PM »
Ok, that is it. I create a template-directory for the plugin with the same name of my custom template.

*

Pharg

  • *****
  • 2,532
    • OsDateFourm
  • osDate Version: osDate Evo v1.2
Re: Plugin templates
« Reply #5 on: June 07, 2017, 12:38:53 AM »
Hi ba1122,

Good to hear you worked it out  :)

Normally most custom templates will use some resources from the default template if they can't find whats needed.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35