Friday, October 23, 2009, 11:14:24 PM, Sandy wrote:
Thinking further, can this go in skin.php?
$color1 = '#00cc00';
That keeps all the skin stuff in the skin, and avoids $HTMLStylesFmt[].
why don't you just set the color attributes in
the skin's css file? after all, the purpose of the
css
On Friday 23 October 2009 20:06:29 adam overton wrote:
hi
pmwiki.org isn't permitting editing right now - it just times out.
Thanks, it should work now. A misconfuguration of an antispam filter caused
this. Sorry, my fault.
Petko
___
pmwiki-users
Saturday, October 24, 2009, 3:54:43 AM, DaveG wrote:
Sandy wrote:
I'm not (yet) comfortable with $HTMLStylesFmt[].
It's an array, which can contain arrays :)
I thought not. I understand $HTMLStylesFmt to list
css attributes, which get injected into
styles.../styles tags in the page's HTML
Friday, October 23, 2009, 11:56:25 PM, DaveG wrote:
Parse error: syntax error, unexpected T_STRING in
/path/pmwiki.php(762) : eval()'d code on line 1
That's because the PageVar needed to be quoted, as Hans showed. Thus,
$FmtPV['$myvar'] = 'PageVar($pagename,\'$:myvar\')'
There were in
Vince Admin Account (2009-10-23 16:01):
On Oct 19, 2009, at 5:13 PM, rogu...@googlemail.com wrote:
The problem with pagelists lies in GlobToPCRE() function in pmwiki.php
and is tracked at http://pmwiki.org/wiki/PITS/01149 . It concerns
exclusion patterns (name=-Page) only.
The
On Oct 24, 2009, at 5:34 AM, rogu...@googlemail.com wrote:
Vince Admin Account (2009-10-23 16:01):
On Oct 19, 2009, at 5:13 PM, rogu...@googlemail.com wrote:
The problem with pagelists lies in GlobToPCRE() function in
pmwiki.php
and is tracked at http://pmwiki.org/wiki/PITS/01149 . It
Hans wrote:
Friday, October 23, 2009, 11:56:25 PM, DaveG wrote:
Parse error: syntax error, unexpected T_STRING in
/path/pmwiki.php(762) : eval()'d code on line 1
That's because the PageVar needed to be quoted, as Hans showed. Thus,
$FmtPV['$myvar'] = 'PageVar($pagename,\'$:myvar\')'
DaveG wrote:
Sandy wrote:
I'm not (yet) comfortable with $HTMLStylesFmt[].
It's an array, which can contain arrays :) Usually you index the array
with the name of the skin, but any name (or even no name) will work
fine. The content of the array is output at the point in the .tmpl file
Saturday, October 24, 2009, 4:04:34 PM, DaveG wrote:
3. use of $pagename: use $pn rather than $pagename as $ pagename may
have a different value.
Not sure about this. Is $pn globally available? Not sure, but it doesn't
look like it. I'd always thought $pagename referred to the current page
Hans wrote:
Friday, October 23, 2009, 11:14:24 PM, Sandy wrote:
Thinking further, can this go in skin.php?
$color1 = '#00cc00';
That keeps all the skin stuff in the skin, and avoids $HTMLStylesFmt[].
why don't you just set the color attributes in
the skin's css file? after all, the
Vince Administration (2009-10-24 10:42):
On Oct 24, 2009, at 5:34 AM, rogu...@googlemail.com wrote:
Vince Admin Account (2009-10-23 16:01):
On Oct 19, 2009, at 5:13 PM, rogu...@googlemail.com wrote:
The problem with pagelists lies in GlobToPCRE() function in
pmwiki.php
and is
Sandy wrote:
Well in order to use the variable from within the template you'd need
use $FmtPV:
$FmtPV['$color1']='#00cc00';
So then you could use it in .tmpl (not in .css files though). Personally
I prefer to use $HTMLStylesFmt.
What's up with the two quotation marks? I remember
On Oct 24, 2009, at 1:04 PM, rogu...@googlemail.com wrote:
Vince Administration (2009-10-24 10:42):
On Oct 24, 2009, at 5:34 AM, rogu...@googlemail.com wrote:
Vince Admin Account (2009-10-23 16:01):
On Oct 19, 2009, at 5:13 PM, rogu...@googlemail.com wrote:
The problem with pagelists
DaveG wrote:
Sandy wrote:
Well in order to use the variable from within the template you'd need
use $FmtPV:
$FmtPV['$color1']='#00cc00';
So then you could use it in .tmpl (not in .css files though). Personally
I prefer to use $HTMLStylesFmt.
What's up with the two quotation marks?
Aha! Googling the right terms helps. A way to use php to create a css file.
http://www.barelyfitz.com/projects/csscolor/
Probably old news to many, but new and intriguing to me. Just checked
the PmWiki docs, and yes I can have more than one php file in the skin
folder. Something for me to play
Sandy wrote:
Aha! Googling the right terms helps. A way to use php to create a css file.
http://www.barelyfitz.com/projects/csscolor/
You could do this, but I can't help thinking you're way over
complicating things...
___
pmwiki-users mailing
This skin provides a 2-column fixed or fluid width interface, a number
of color variations, and full support for the BlogIt blogging engine.
http://www.pmwiki.org/wiki/Cookbook/Enlighten
Hope you like it.
~ ~ Dave
___
pmwiki-users mailing list
I have done everything for RandomQuote to work except create the quote file. I
have tried a couple of different formats and nothing seems to work.
The sample code in the php file looks like quotes with xml tags surrounding.
The program appears to strip all of the xml tags out and seems to
Ivan Mann wrote:
I have done everything for RandomQuote to work except create the quote
file. I have tried a couple of different formats and nothing seems to
work.
The sample code in the php file looks like quotes with xml tags
surrounding. The program appears to strip all of the
19 matches
Mail list logo