Hi
How can you include the comparison table in another page such as registration.html ?
Copying or including the code from comparison.html doesnt work because there are vars that must not be accessible within the other pages.
Any help is appreciated
Thanks
XFileSharing Pro - Include comparison.html in another page
if you want to have 2 html files in 1 then you could do the following with registration.html
create a html file only including this lines:
this means first page will be registration.html
if you want to show comparison.html first then change to
save this file under e.g. register.html and upload it to your cgi-bin/Templates folder
after that you have to modify ".htaccess" from your public html folder where all other folders are.
edit the registration line to this line (only use Notepad++ to edit this file):
RewriteRule ^register\.html$ /cgi-bin/index.cgi?op=registration [L]
upload the ".htaccess" again and overwrite existing ".htaccess" but be sure you upload the right ".htaccess" to the public html folder
after that you have to edit all pages where you can find the register Link with <TMPL_VAR site_url>/register.html">
mostly in main.html. edit, safe and upload.
then you should have the registration incl. the premium features available on your site
create a html file only including this lines:
Code: Select all
<TMPL_INCLUDE registration.html>
<br>
<TMPL_INCLUDE comparison.html>
if you want to show comparison.html first then change to
Code: Select all
<TMPL_INCLUDE comparison.html>
<br>
<TMPL_INCLUDE registration.html>
after that you have to modify ".htaccess" from your public html folder where all other folders are.
edit the registration line to this line (only use Notepad++ to edit this file):
RewriteRule ^register\.html$ /cgi-bin/index.cgi?op=registration [L]
upload the ".htaccess" again and overwrite existing ".htaccess" but be sure you upload the right ".htaccess" to the public html folder
after that you have to edit all pages where you can find the register Link with <TMPL_VAR site_url>/register.html">
mostly in main.html. edit, safe and upload.
then you should have the registration incl. the premium features available on your site