[FIXED] Extend login template


(Christian Schneider) #1

Would it be possible to extend the header.tpl in the Login plugin as attached?

The reason is that I want to add more css code with an own plugin for customizing the login form…

--- header.org.tpl      2010-01-21 21:44:13.000000000 +0100
+++ header.tpl  2010-01-21 21:43:38.000000000 +0100
@@ -8,6 +8,7 @@
        <link rel="shortcut icon" href="plugins/CoreHome/templates/images/favicon.ico" />
 
        <link rel="stylesheet" type="text/css" href="plugins/Login/templates/login.css" media="screen" />
+       {postEvent name="template_css_import"}
 
        {literal}
        <script type="text/javascript">
@@ -21,6 +22,7 @@
                window.onload = focusit;
        </script>
        {/literal}
+       {postEvent name="template_js_import"}
 </head>
 
 <body class="login">

(Matthieu Aubry) #2

This sounds good, can you please create a ticket with your patch so we don’t forget it, thanks


(vipsoft) #3

Fixed in [1827].


(vipsoft) #4

I had to revert this patch as it broke the webtest.


(vipsoft) #5

Fixed in [1842].


(aymenbnr) #6

yeah saw it on a demo website that i visited,very cool


(prauch) #7

that was a really great idea… this added true value in interface design methods.