Re: Draft: Updated Xaraya Style Guide

jojodee <jojodee-8nna1qhvBBM9QQeoy3GH/[email protected]>
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
Marty Vance wrote:
> 
> 
> One of the things I did during the election (besides making a ton of
> icons) was to put together a new Style Guide for Xaraya. It discusses
> how Xaraya organizes CSS, explains usage of the well known required
> classes, talks about how modules and themes interact and complement each
> other, presents some general user interface design best practices, and
> more.
> 
> Some may remember the style guide Mikespub wrote years ago, but this one
> is completely new, and takes a more general approach.
> 
> I am seeking feedback, additions, and corrections so that all interested
> people can benefit from it.
> 
> http://www.xaraya.com/~dracos/style_guide.html
> 
> See also http://www.xaraya.com/index.php/xarbb/topic/3342



Posted this in IRC to you yesterday, but as suggested by others, posting
here:

[5:17pm] jojo: Please update your xarTplStyleLInk() in your style guide
[5:18pm] jojo: it was deprecated some years ago
[5:18pm] jojo: use <xar:style /> tag

[6:18pm] jojo: Dracos: "Note that due to the way Xaraya processes page
templates, Module CSS cannot be automatically added this way from block
code or templates."
[6:16pm] jojo: yes it can
[6:16pm] jojo: using the <xar:style /> tag
[6:16pm] jojo: however
[6:16pm] jojo: those blocks need to be defined, as a variable before the
<xar:additional-styles /> in the page template
[6:16pm] jojo: see the Xaraya_Classic page template - it's fully
documented there
[6:16pm] jojo: default.xt
[6:17pm] jojo: just set the blocks as a variable before the
<xar:additional-styles /> tag, and the blocks/block groups can be used
anywhere in the tempalte
[6:17pm] jojo: the module css for the blocks will work then if the
module blocks are defined specifically, or generall (left blocks w/e) in
the page template

[6:18pm] jojo: so - that's an additional note for you - in additon to
the need to remove your reference to xarTplAddStyleLink() and replace
with <xar:style / tag


For reference, xarTplStyleLink was marked for deprecation after version
1.0.0RC3 July 2005.

Here is a link to the documentation on the style tag if you want more
information on it for your guide:

http://xaraya.com/index.php/documentation/514


Jo

-- 
http://xarigami.com :: Creative web development with Xaraya
http://2skies.com   :: Open source hosting and development
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.