Skip to content
Support Joomla!

Narrow screen resolution Wide screen resolution Auto adjust screen size Increase font size Decrease font size Default font size default color brick color green color

What is Joomla ?

Joomla LogoJoomla! is an Award Winning, Open Source (Free!) Content Management System that helps you build and manage state-of-the-art library websites and other powerful online applications.

Why Joomla In Libraries ?

Joomla in LibraryHere you will find Articles, Tutorials, Helpful Information, Free Resources, and  a Library Focused Community to help you transform your library web presence to better serve your patrons.

Community

Forum DiscussionsRegister for Free, Create Your Profile, Connect, and Collaborate with Library Staff Worldwide Who Have  the Same Interests as You. 

You are here:Home
Jobline functions Improperly with OpenSEF PDF Print E-mail
Author Profile Contributed by: Tao   
Tuesday, 06 March 2007

We are using Jobline Component for library job postings at SCSL .  A couple days ago, we implemented search engine friendly URLs using OpenSEF component.   We have discovered two issues with Jobline since then.

  • Issue I: Saving job postings in the frontend won't work and the user is redirected to the frontpage
  • Issue II: Strange page navigation behavior - page navigation appear on top of job postings
After some research, I have discovered fixes for these issues...

Issue I: Saving job postings in the frontend won't work and the user is redirected to the frontpage

When using the OpenSEF component, saving job postings in the frontend won't work and the user is redirected to the frontpage. This is due to the fact that OpenSEF doesn't recognize the form in the component and just redirects to the frontpage instead. At the moment I don't know if the OpenSEF developers will fix this.

There are however two workarounds for this problem. The first is that you go to the OpenSEF configuration and turn off "Enforce Canonical URLs?" under the Features tab. The other solution is to turn off SEF for the Jobline component in the OpenSEF settings, by checking the "Exclude" checkbox next to Jobline on the Components tab in the OpenSEF settings.

Issue II: Strange page navigation behavior - page navigation appear on top of top posting

This problem is caused by a bug in OpenSEF, which replaces the pagenavigation code in Joomla but fails to emulate its functionality properly.

Workaround for Jobline:
REMOVE the following lines in jobline.html.php:
Code:
ob_start();
$pageNav->writeLimitBox( $link );
$pagenavlimitbox = ob_get_contents();
ob_end_clean();
#$pagenavlimitbox = obeval( "$pageNav->writeLimitBox( $link );" );
$pagenavpageslinks = $pageNav->writePagesLinks( $link );
$pagenavpagescounter = $pageNav->writePagesCounter();
REPLACE them with these:
$pagenavlimitbox = $pageNav->getLimitBox( $link );
$pagenavpageslinks = $pageNav->getPagesLinks( $link );
$pagenavpagescounter = $pageNav->getPagesCounter();

Credit to Olle Johansson, developer of Jobline Component

 
< Prev

Nice People

member image
uli
member image
brianteeman

Discussions