Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » MetaTagger

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 838 Views
  • Joshuarr
    Community Member
    37 Posts

    MetaTagger Link to this post

    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

    567             case isset($config['function']) :
    568                return $config['function']($this, $arguments);
    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?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.