Contact form redirect issue + some advice? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Contact form redirect issue + some advice? (/showthread.php?tid=2844) |
Contact form redirect issue + some advice? - lloydp - 2012-02-29 Hello! I'm building my first GetSimple site and loving it so far -- I'm just having one issue: In my contactform.php file, I usually do the following: Code: if ($success){ However, this redirects to myTheme/contactthanks.php and results in Oops! Page Not Found! I tried using the get_theme_url(); function to address the problem but I'm afraid I'm more of a designer than I programmer and can't seem to figure it out. Secondly, the site I'm working on will list in-stock cars on the home page and each car will have its own page. At the moment the client will have to delete/add cars and pages manually. Is there a way I could streamline this process at all? Any advice would be greatly appreciated. Thanks a lot. Contact form redirect issue + some advice? - Connie - 2012-02-29 1) are you writing your own contact-form? Why not using an existing one? 2) I am sure you know about absolute and relative paths Code: URL=contactthanks.php will this URL be available from all levels of your site? Why not try an absolute path first and find out? 3) maybe your solution for a list of in-stock cars (are whatever) is too simple how many cars are in stock? If there are more than 5 your solution is a pain ;=), that's true don''t you think that something where the user enters data in a form will be better usable? maybe the item manager plugin? maybe using the news-manager plugin for that? Contact form redirect issue + some advice? - lloydp - 2012-02-29 Hi Connie, Yes, I'm just using the same contact form I always use. The absolute path worked! I just have to remember to change it when the site goes live because I'm working locally at the moment. I quickly installed the Item Manager plugin and it seems almost perfect for what I require! I think I must be doing something wrong, though: I've made a category, custom fields, a couple of items, and have set the pages on which the information should be displayed. However, the item manager doesn't seem to be remembering what I enter into the custom fields (when I click on the item, all fields are blank), and only the title of each object is being displayed, with nothing in the individual pages. Have I missed a step? Thanks for your help. Contact form redirect issue + some advice? - Connie - 2012-02-29 please read the postings in the support-forum of this plugin, there is a lot of information available there http://get-simple.info/forum/topic/2507/items-manager-ver-09/ cheers, Connie |