SHARE
TWEET

WebGUI custom content handler

vanjwilson Apr 4th, 2013 33 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ...
  2.  
  3.     $var->{seo_title} =  $record->{seo_title};
  4.     $var->{synopsis} =  $record->{meta_description};
  5.  
  6.     my $scratch = WebGUI::Session::Scratch->new($session);
  7.     $scratch->set('title', $var->{seo_title});
  8.  
  9.     # append vars for specific record
  10.     %{$var} = (%{$var}, %{$record});
  11.  
  12.     my $thingDataId = $record->{thingDataId};
  13.     return $thingyObj->processStyle(
  14.         $thingyObj->processTemplate($var,$DETAILTEMPLATE)
  15.     );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top