edit signup form
This topic contains 7 replies, has 2 voices, and was last updated by Paolo 10 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: edit signup registration
-
AuthorPosts
-
February 13, 2015 at 6:54 pm #30846
I’d like to edit my signup form so that I can include instructions and expectations once registered, seems like out signups are going to the home page, and that’s fine but I’d like to let the user know this will happen once they register.
Page I want to edit http://www.encuentramaz.com/?geodir_signup=true&page1=sign_up
Thank you.February 13, 2015 at 8:28 pm #30852Hi,
you can do this. Create a folder within your active theme called geodirectory.
Take a copy of geodirectory-templates/geodir-signup.php and paste in the new theme folder.
In this file you can add whatever you like.
For example if you want to leave a welcome note you can add before
###### MAIN CONTENT ######echo '<h1>welcome to our website!</h1>;
And you will get this: http://wpgeo.directory/?geodir_signup=true
Let us know how you went.
Thx
February 13, 2015 at 10:58 pm #30861I get this error:
Parse error: syntax error, unexpected ‘<‘ in /home4/instcert/public_html/encuentramaz.com/wp-content/themes/myencuentramaz/geodirectory/geodir-signup.php on line 25
I attached the fileFebruary 13, 2015 at 10:59 pm #30862tried to upload, but would not permit it
February 13, 2015 at 11:05 pm #30863my bad it was:
echo '<h1>welcome to our website!</h1>;
February 13, 2015 at 11:16 pm #30865I don’t see a difference in the code.
February 14, 2015 at 5:17 am #30879I figured it out, but it’s still not working even with the code you corrected.
February 14, 2015 at 3:50 pm #30906Hi Ray,
as you can see, it is working here: http://wpgeo.directory/?geodir_signup=true&redirect_add_listing=http%3A%2F%2Fwpgeo.directory%2Fadd-listing%2F%3Flisting_type%3Dgd_place
So you must be doing something wrong.
1) Create geodirectory folder in your active theme
2) inside the new folder create a file called geodir-signup.php
3) copy following code in it:<?php if(get_current_user_id()){wp_redirect( home_url(), 302 ); exit;} // call header get_header(); ###### WRAPPER OPEN ###### // this adds the opening html tags to the primary div, this required the closing tag below :: ($type='',$id='',$class='') do_action( 'geodir_wrapper_open', 'signup-page', 'geodir-wrapper',''); ###### TOP CONTENT ###### // action called before the main content and the page specific content do_action('geodir_top_content', 'signup-page'); // template specific, this can add the sidebar top section and breadcrums do_action('geodir_signin_before_main_content'); // action called before the main content do_action('geodir_before_main_content', 'signup-page'); ###### MAIN CONTENT WRAPPERS OPEN ###### // this adds the opening html tags to the content div, this required the closing tag below :: ($type='',$id='',$class='') do_action( 'geodir_wrapper_content_open', 'signup-page', 'geodir-wrapper-content','geodir-content-fullwidth'); // this action adds the top sidebar do_action( 'geodir_sidebar_signup_top'); // This is the line of code added to create the welcome message echo '<h1>Welcome to our website!</h1>'; ###### MAIN CONTENT ###### // this call the main page content do_action( 'geodir_signup_forms'); ###### MAIN CONTENT WRAPPERS CLOSE ###### // this adds the closing html tags to the wrapper_content div :: ($type='') do_action( 'geodir_wrapper_content_close', 'signup-page'); ###### WRAPPER CLOSE ###### // this adds the closing html tags to the wrapper div :: ($type='') do_action( 'geodir_wrapper_close', 'signup-page'); get_footer();
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket