XFileSharing Pro - Changing the title of download pages

Powerfull XFileSharing version

Moderator: admin

Message
Author
cloudyourmusic
Posts: 5
Joined: Feb 11, 2013 5:07 pm

Changing the title of download pages

#1 Postby cloudyourmusic » Feb 18, 2013 3:38 am

Hi not sure why the title of my pages are not the file name. The title is just the site name for every file. I would like to set it as Download <file_name>

Thanks for any help you can provide.

Example: http://cloudyourmusic.com/8cve6kfbskh9

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#2 Postby ankurs » Feb 18, 2013 6:08 am

compare your template main.html, with original template & you will find the missing bits

Stefanzm
Posts: 85
Joined: Apr 08, 2012 3:41 pm

#3 Postby Stefanzm » Feb 19, 2013 7:47 am

Cloudyyourmusic , at start of main.httml replace

<Title><TMPL_IF page_title><TMPL_VAR page_title><TMPL_ELSE><TMPL_VAR site_name> - <TMPL_VAR lang_page_title></TMPL_IF></Title>

with

<Title><TMPL_IF page_title><TMPL_VAR page_title><TMPL_ELSE><TMPL_VAR file_name></TMPL_IF></Title>

That should fix your issue .

cloudyourmusic
Posts: 5
Joined: Feb 11, 2013 5:07 pm

#4 Postby cloudyourmusic » Feb 19, 2013 4:44 pm

Thank you soo much!!!

rawrkee
Posts: 21
Joined: Mar 29, 2013 5:18 pm

#5 Postby rawrkee » Nov 20, 2013 10:49 pm

I'm actually trying to change "<TMPL_VAR page_title>"
on the download page the title is:
"Download <file name> <file extension>"

How can I change this?
Thanks!


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests