Thanks for the follow up, Bill.
You wrote,
Something finally clicked, when I realized that I
could
contain any custom HTML in myskin.skin.php
and any styling in screen.css.
I see how you can add CSS to screen.css by overriding the following method
(taken from tutorial #2):
function setupSkinUserCss( OutputPage $out ) {
parent::setupSkinUserCss( $out );
$out->addModuleStyles( "skins.myskin" );
}
But how do you add HTML? This is the primary challenge for us. Adding the
ability to do this would, I think, substantially extend the power of
Daniel's excellent tutorial. Would you be willing to share some of the code
you use for adding custom HTML in myskin.skin.php?
Best,
Forest
On Mon, Feb 10, 2014 at 1:22 PM, Bill Traynor <btraynor(a)gmail.com> wrote:
On Fri, Feb 7, 2014 at 7:56 PM, Forest S
<forest(a)tmswiki.org> wrote:
Hi Bill,
Many thanks for the update. I'd like to try to replicate what you did,
but
I followed #2:
http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/
But I read the others. Something finally clicked, when I realized that I
could contain any custom HTML in myskin.skin.php and any styling in
screen.css. I intend to eventually break the styling up into smaller css
files. But for now it's working as I need it to.
To tweak the CSS to match custom skin from the old MW1.16 site, I used
Firefox with the Firebug plugin to identify what I needed to change, then
edited the screen.css file directly.
Everything else in the vector subskin was left as it is. So my subskin is
basically a vector skin with a custom header.