Customizable [htmlheadscripts.tmpl]  

This sub-forum is for discussing and reporting bugs on any content that is not available by default in Panotour, so this concerns custom HTML templates, extra plugins (both Kolor-provided and third-party), etc...

Ce sous-forum a été créé pour discuter et/ou rapporter des bugs sur tout contenu qui n'est pas disponible par défaut dans Panotour, donc cela concerne les templates HTML customisés, plugins supplémentaires, etc...
User avatar
DaShan
Member
 
Topic author
Posts: 72
Likes: 12 posts
Liked in: 6 posts
Joined: Tue May 08, 2012 6:49 am
Location: China
Info

Customizable [htmlheadscripts.tmpl]

by DaShan » Tue Feb 28, 2017 4:52 am

Hello PTP team

I plan to create an html plugin that is divided into two parts: for head and for div, both of which must be used at a html file.

How to use customizable htmlheadscripts.tmpl, like pluginshtmltemplates.tmpl is used in PTP Plugin?

Thanks for any help!
Dashan
---------------------------------------------------------------
eMail: 446426990@qq.com dspano@live.cn

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Customizable [htmlheadscripts.tmpl]

by Annis » Tue Feb 28, 2017 10:07 am

The internal templates aren't available to be edited to ensure compatibility of the html templates with future versions of PTP.

The only one available that has been expanded is the metatags template, which was posted on the forum here: viewtopic.php?f=93&t=25625&p=158787#p158787

If you are going to create a plugin to edit these fields, why not just create a new .tmpl directly?

User avatar
DaShan
Member
 
Topic author
Posts: 72
Likes: 12 posts
Liked in: 6 posts
Joined: Tue May 08, 2012 6:49 am
Location: China
Info

Re: Customizable [htmlheadscripts.tmpl]

by DaShan » Mon Mar 13, 2017 5:04 am

But the HTML plugin in PTP can only add the code to a location in the HTML.

I need a way to have different HTML plugins insert the code into different places in the HTML.

Tanks Annis
Dashan
---------------------------------------------------------------
eMail: 446426990@qq.com dspano@live.cn


Who is online

Users browsing this forum: No registered users and 1 guest