4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: batu544 on January 14, 2011, 07:17:21 PM
-
Hi,
I just created one custom page by using this mod.. but for me its not working properly..
My .php file is displaying all the things correctly.. but when I am using .htm file, no template variables are working except {clickstream} ..
Is there anything I need to mentions..
Thanks
batu544
-
The template tags must be registered in .php file, look at the part "EXAMPLE CUSTOM PHP CODE"
-
Hi,
I just created one contact.php file.. but here also the same issue..
registered variables in contact.php file only works when I am accessing this the php file .. like www.bhwallpapers.com/contact.php
but when I am accessing the same contact page like www.bhwallpapers.com/contact.htm , then no contact.php variables are working...
If anyone can look into it.. it will be really great..
Thank you
batu544
-
...
the same http://www.bhwallpapers.com/top.htm
have you the mod http://www.4homepages.de/forum/index.php?topic=6729.msg29453#msg29453
I think it is...
-
Hi Rembrandt -
Yes, I have installed that mod in my website and I know it will work if I will add following line in my .htaccess file. but I thought may be there would be something else I am missing so I need to add this line in my .htaccess file.. Also, do you want to say, If I would not have installed this mod then both .htm and .php extension pages return same result ??
RewriteRule ^contact.htm$ contact.php
Thank you.
batu544
-
in 4images galerie system you can not call "domain.xx/name.html only domain.xx/name.php.
but maybe @vano has an idea.
mfg Andi
-
RewriteRule ^contact.htm$ contact.php
That line doesn't include url query, perhaps that is the problem?
RewriteRule ^contact.htm$ contact.php?%{QUERY_STRING}