On Wednesday, February 12, 2014 12:43:11 AM UTC-8, Leo Staley wrote:
>
> I've been racking my brain trying to figure out how to edit the page
> layout etc, but I've hit a brick wall. I'm tired and really frustrated, so
> forgive any sarcasm.
> So, When I open this Tiddler: $:/core/ui/PageStylesheet I see a really
> long tiddler with styles for the page.
> ...
> Oh, no, nevermind. It's actually just transcluding the contents of all the
> Tiddlers tagged $:/tags/stylesheet.
> But then from there, there is no way to go find them, let alone find the
> specific one I need, LET ALONE easily edit the one I want.
>
The content of PageStylesheet is:
<$list filter="[is[shadow]tag[$:/tags/stylesheet]]
[!is[shadow]tag[$:/tags/stylesheet]]">
<$transclude/>
</$list>
This selects all tiddlers tagged with "$:/tags/stylesheet", and then
transcludes their *content* into the PageStylesheet.
To get a list of the *titles* that match this filter, you could create a
new tiddler, containing:
<$list filter="[is[shadow]tag[$:/tags/stylesheet]]
[!is[shadow]tag[$:/tags/stylesheet]]">
{{!!title}}
</$list>
However, while this will display the titles, they will not be "wikified",
so they will not be live tiddler links.
Alternatively, omit the <$list>...</$list> widget entirely, but use the
same filter surrounded by tripled curly-braces, like this:
{{{[is[shadow]tag[$:/tags/stylesheet]] [!is[shadow]tag[$:/tags/stylesheet
]]}}}
This will render the filter result (the list of tiddler titles), with full
"wikfication", creating live tiddler links that you can then click to
navigate to the actual CSS-bearing shadow stylesheet tiddlers. Q.E.D.
Note: to add customizations, you should not edit those shadow stylesheets
directly. Rather, you should copy/paste the relevant CSS rules from those
stylsheets in a new tiddler, tagged with "$:/tags/stylesheet", and then
edit the rules there. Because non-shadow stylesheets are trancluded
*after* the default shadow stylesheets, any modified rules contained in
your custom stylesheet tiddler will be applied last, superceding the
corresponding default CSS from the shadow stylesheets.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://TiddlyTools.github.com/fundraising.html#MakeADonation
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.