XFileSharing Pro - edit the home template ?

Message
Author
m9n3
Posts: 12
Joined: Oct 14, 2008 1:32 am

edit the home template ?

#1 Postby m9n3 » Apr 16, 2009 10:19 pm

hi

if i want to add some Google Adsense codes where i should put it ?? in which template ??

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Apr 17, 2009 2:35 am

For all site pages use main.html, for download screen use download1.html and download2.html

Use blocks like this to be able to manage ads visibility for Premium users:

Code: Select all

<TMPL_IF ads>
Ads here
</TMPL_IF>

m9n3
Posts: 12
Joined: Oct 14, 2008 1:32 am

#3 Postby m9n3 » Apr 17, 2009 3:58 am

aha

but why i need blocks and how i can manage it ?

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Apr 17, 2009 4:18 am

In Site Settings you have "Show Ads" option for each type of users: Anonymous,Registered,Premium.

m9n3
Posts: 12
Joined: Oct 14, 2008 1:32 am

#5 Postby m9n3 » Apr 17, 2009 4:32 am

and what's the different ?