Jump to content

Question

Posted

I'd like to inject extra CSS to client-facing pages. For the order plugin, this was relatively easy - I modified plugins/order/views/templates/wizard/signup.pdt

 

I changed line 85 from 

"<link href=\"" . Router::makeURI(str_replace("index.php/", "", WEBDIR) . $this->view->view_path . "views/" . $this->view->view) . "/css/order.css\" rel=\"stylesheet\" type=\"text/css\" />"

to                        

"<link href=\"" . Router::makeURI(str_replace("index.php/", "", WEBDIR) . $this->view->view_path . "views/" . $this->view->view) . "/css/order.css\" rel=\"stylesheet\" type=\"text/css\" />\n<link href=\"/my/stylesheet.css\" rel=\"stylesheet\" type=\"text/css\" />"

thereby injecting my CSS right after the plugin's CSS.

 

I can't figure out where to do this for the account page, though. Where does the CSS for the account page get inserted? Alternatively, is there a better way to handle this? ( CSS is a poor search term for this forum. :) )

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...