• Resolved elirae

    (@elirae)


    Hi,
    Thanks again for this awesome plugin it’s been great.

    I am trying to achieve using a different page template for the non-job application apply page. I would like to have a dedicated page where visitors can submit their details https://localhost/vacancies/apply/

    The problem is it uses the default template but I would like it to use its own template, I have tried making templates to correspond e.g page-4.php and page-apply.php
    but it doesn’t pick them up.

    Is there a way to do this? Any suggestions would be fantastic! Thanks

    https://www.ads-software.com/extend/plugins/job-manager/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter elirae

    (@elirae)

    Another thought even if I could have some kind of conditional statement on the default template page so that when your on the Register application page I could have a different element appear but only whilst on that page, and not whilst your on the individual job application page? Would this be possible?

    Thanks very much!

    You can set text to appear before or after the application form. To do this:

    – Open Job Manager Display Settings
    – Scroll down to the Page Text box
    – Added your text/HTML to the “Before the Application Form” or “After the Application Form” box

    Let me know if this achieves the result you’re after!

    Thread Starter elirae

    (@elirae)

    Hi Pento,
    No sorry this doesn’t achieve what I need as it adds text to all the application form pages not just the one form page that I need it on which is the register form page.

    Please let me know if you understand what I mean, and if there’s a solution to this?

    Thanks again

    Ah, I see what you’re after. I’ll add an option for that in 0.7, due out in April.

    In the mean time, the easiest way to work around this would be to modify the jobman_display_register() function, found in frontend-user.php, line 66.

    Thread Starter elirae

    (@elirae)

    Hi Pento,
    Thanks I look forward to the new version, is there anything specific or any further instructions on modifying the function I’m not exactly an expert on this.

    Thanks

    It’s not too tricky to make this change, just do the following:

    – Write the HTML you want, then delete any new lines, so everything is all in one line.
    – Make sure there are no single quotes in the HTML. ie: ‘
    – Modify your HTML as so (similar to how you see in the rest of the file):

    $content .= 'your html';

    – Add this entire line to line 71 of frontend-user.php.

    Let me know if you run into any problems.

    please MR Pento can you read this post and solve it for me
    https://www.ads-software.com/support/topic/375818

    Thread Starter elirae

    (@elirae)

    Thanks very much I will give this a go.

    I have now uploaded the site to the server but am having trouble in that the email isn’t being sent on application. The success page comes up, and the application goes into the back-end but no email is delivered.

    I did some testing :
    – Mail is sending from another plugin which is contact form 7?
    – Mail sends from Job Manager when I installed it on a different server.
    – The server is on PHP Version 4.3.10

    Do you know why this could be happening I have spent ages trying to figure this out?

    Thanks

    There are a handful of things to investigate, that may help us get to the bottom of this:

    – Do email notifications work when new comments are posted? (Job Manager uses the WP email function.)
    – Is there anything in your mail server log related to JM emails?
    – Do emails send if you go to the Application Details page, and re-send it from there?
    – Do you have a Default Email set in Admin Settings?

    Thread Starter elirae

    (@elirae)

    Hi Pento,
    Thanks for the response mate.

    – Yes email notifications for comments are working.
    – I haven’t been able to access my mail server log but have requested to view this with my host awaiting their response.
    – No emails do not send from the application page with the re-send option.
    – Yes I have a default email set.

    Thanks

    Okay, let me know what the logs show up. Also, could I get you to try the following:

    – Add this line of code to your wp-config.php file:
    define( 'WP_DEBUG', true );
    – Submit a new application

    Let me know if you see any PHP warnings appear when submitting the application.

    Thread Starter elirae

    (@elirae)

    Thanks Pento,

    I have done this and these are the warnings I received, hope this helps.

    Notice: Undefined index: secondary_content_nonce in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/secondary-html-content/secondary_html_content.php on line 138

    Notice: Undefined variable: post_id in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/secondary-html-content/secondary_html_content.php on line 138

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 580

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 584

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 585

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 588

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 588

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 603

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 603

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 603

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 603

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 603

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 615

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 616

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 617

    Notice: Use of undefined constant PHP_EOL – assumed ‘PHP_EOL’ in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend-application.php on line 618

    Notice: Undefined variable: root in /var/www/vhosts/mysite.com.au/httpdocs/wp-content/plugins/job-manager/frontend.php on line 248

    Thread Starter elirae

    (@elirae)

    Hi Pento,
    I’m not sure when the host will get back to me they have been pretty unhelpful so far, do these php warnings give any clear solution? Cheers

    The problem seems to be that you’re running an older version of PHP 4. PHP_EOL has been defined as of PHP 4.3.10 and PHP 5.0.2.

    As a workaround for this, add the following code to your wp-config.php:

    if( ! defined( 'PHP_EOL' ) )
        define( 'PHP_EOL', "\n" );

    Please be aware that future versions of Job Manager are unlikely to be as simple to make work with PHP 4. Due to PHP 4 no longer receiving security fixes, and for the performance and feature benefits, you should encourage your host to upgrade to a recent PHP 5.

    Thread Starter elirae

    (@elirae)

    Thanks Pento, you are a god easily the best support I’ve ever received. Have a great morning!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: Job Manager] Apply Page Template’ is closed to new replies.