XFileSharing Pro - Add new meta tag on download0 and download1 only
Add new meta tag on download0 and download1 only
How can I add a meta tag to the head of download0 and download1?
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
you can edit the template files ( /www/cgi-bin/templates ) and add there the meta tag code ( use google)
but the meta tag will not be unic , or you can put the file description in the meta tag
but the best thing to add it is in the main.html file as that is the main file
and other files just get included in the main file
Greetings From PowerChaos
but the meta tag will not be unic , or you can put the file description in the meta tag
Code: Select all
<TMPL_VAR file_descr>
and other files just get included in the main file
Please note , i use version 1.8 so i can not say if the other versions are the same or that the codes are changedrelease wrote: because it is you i going give you a nice code to get unic meta tags per page based on file description
search forreplace withCode: Select all
<META NAME="description" CONTENT="<TMPL_IF meta_descr><TMPL_VAR meta_descr><TMPL_ELSE><TMPL_VAR site_name> - Free file upload service</TMPL_IF>">
enjoyCode: Select all
<TMPL_UNLESS file_descr><META NAME="description" CONTENT="<TMPL_IF meta_descr><TMPL_VAR meta_descr><TMPL_ELSE><TMPL_VAR site_name> - Free file upload service</TMPL_IF>"><TMPL_ELSE><META NAME="description" CONTENT="<TMPL_VAR file_descr>"></TMPL_UNLESS>
Greetings From PowerChaos