Webjob Custom Page Top

Webscribble WebJobs Script Forum. Anything Related To The WebJobs Script.

Webjob Custom Page Top

Postby jayho005 on Sat Aug 30, 2008 4:29 pm

I just recently converted my custom jobsite over to a webjobs site (http://www.gisjobsource.com). Using this script has definitely made a couple of items easier as well as added some functionality that my original site was lacking. The only thing that I can't figure out is how to change the page top for the site (A required item). Any guidance that can be provided would be greatly appreciated. I noticed that someone had sent out a PM to somebody that had a similar inquiry earlier this year.

Thanks

Jonathan
GeoTeks LLC
jayho005
 
Posts: 1
Joined: Sat Aug 30, 2008 4:21 pm

Re: Webjob Custom Page Top

Postby lifehackmom on Tue Oct 14, 2008 1:18 pm

Hi - that was me who got the PM. It is a few lines in smartway/lib/base_classes1.lib that need to be modified to make a custom page_top. Unfortunately, that is one of the files that is encrypted. Paul knows how to change it, but since I personally didn't really need to change the page_top on our site, I didn't go any further with it. I'm sure Paul can help you out if you send him a PM.
lifehackmom
 
Posts: 10
Joined: Sat Apr 26, 2008 12:13 am

Re: Webjob Custom Page Top

Postby lifehackmom on Tue Nov 18, 2008 11:23 pm

Update: I did manage to make this work for another webjobs site, although I'm not sure this is the best method to do it. Since webjobs won't allow you to switch page_top templates, I just edited templates/page_top.html to display one bit of html for the index, and one bit for any other page. Here's the basic idea:

Code: Select all
<? if ($_GET['page'] == "" )

{
?>
put your html for the index page top here
<!--End top and Logo for home page-->
<!--start top and Logo for secondary pages-->
<?
}
else

{
?>
put your html for the other pages here
<?
}
?>
<!--End top and Logo for secondary pages-->
lifehackmom
 
Posts: 10
Joined: Sat Apr 26, 2008 12:13 am


Return to Webscribble WebJobs Script Forum

Who is online

Users browsing this forum: No registered users and 47 guests

cron