Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba

MetaTagger


Go to End
Reply


964 Views

Avatar
Joshuarr

Community Member, 37 Posts

29 January 2010 at 11:05am

Hi,
Trying to get the additional js and css to show up using the metatagger module.

you can also add additional css and JS:
$this->addRequirements($additionalJS = array(), $additionalCSS = array()
doing so adds the following files:

Except doing so really throws an error:

[User Error] Uncaught Exception: Object->__call(): the method 'addrequirements' does not exist on 'Page_Controller'
GET /&flush=1

Line 576 in /Users/joshuarr/Sites/MFuss/sapphire/core/Object.php
Source

567 				case isset($config['function']) :
568 					return $config['function']($this, $arguments);
569 				
570 				default :
571 					throw new Exception (
572 						"Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
573 					);
574 			}
575 		} else {
576 			throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'");
577 		}
578 	}

Any help?