PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Custom Pages: Home Page redirection

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Ad Manager Pro Support & Discussion
View previous topic :: View next topic  
Author Message
FSAviator



Joined: 17 Jun 2015
Posts: 27

PostPosted: Fri Sep 15, 2017 6:35 pm    Post subject: Custom Pages: Home Page redirection Reply with quote

Hi Richard!

I tried to add different custom pages but (except the page "about") all custom Pages are redirecting to the homepage. When I'm uploading the "my_page.html" file (which is based on the page.html file) and I'm calling "index.php?page=my_page" - the regular home page appears. I have this problem with different content and different file names.

What could be the error?

Thank you! - Best Regards,

Sascha
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Sat Sep 16, 2017 1:30 am    Post subject: Reply with quote

Make sure to upload the custom templates to the folder styles/DEFAULT_LANGUAGE/templates. Where DEFAULT_LANGUAGE is the one which you selected in configuration. Then it must work. It's also possible to create these templates for other languages but it always has to exist in the default language folder.
Back to top
View user's profile Send private message
FSAviator



Joined: 17 Jun 2015
Posts: 27

PostPosted: Fri Sep 22, 2017 3:42 am    Post subject: Reply with quote

Okay, that was the error! Thank you so much, Richard! Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Ad Manager Pro Support & Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group