FAQ Page on Webjobs
Monday, November 10th, 2008Adding content to the FAQ page template in Webjobs is slightly different than other pages. (By the way, I always recommend using Dreamweaver to edit the templates rather than the template editor in Smartway for two reasons:
- Permissions: To edit templates through Smartway, the file permissions have to be 777. This makes your site insecure.
- WYSIWYG: The editor in Smartway just shows raw html. It is easier to format your content if you can see what it is going to look like. For that, you need an editor like Dreamweaver.)
Anyway, the FAQ page is cool because it will load content based on whether your user is logged in as a jobseeker or an employer. So if you’re logged in as an employer, it can load questions like — “How do I post a job”, “How much does it cost?”, etc. If you’re logged in as a jobseeker, it can load questions like, “How do I post my resume”, or “How can I find a job?”.
So, for a seeker, add your content in between
<?php if(isset($output[’seeker’])){ ?>
and
<?php
}
else if(isset($output[’employer’])){
?>
For an employer, add it after
<?php
}
else if(isset($output[’employer’])){
?>
but before
<?php } ?>
near the end of the document.