[pmwiki-users] bold list

Seth Cherney sethcherney at yahoo.com
Thu Jan 4 14:53:20 CST 2007


I use:
# %list color=blue% at the beginning of the first item.  the whole list and numbers are blue.  this can be found in the pmwiki documentation as well.

pmwiki-users-request at pmichaud.com wrote: Send pmwiki-users mailing list submissions to
 pmwiki-users at pmichaud.com

To subscribe or unsubscribe via the World Wide Web, visit
 http://www.pmichaud.com/mailman/listinfo/pmwiki-users
or, via email, send a message with subject or body 'help' to
 pmwiki-users-request at pmichaud.com

You can reach the person managing the list at
 pmwiki-users-owner at pmichaud.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pmwiki-users digest..."


Today's Topics:

   1. Re: complicated (J. Meijer)
   2. Re: Bold numbered list (Pierre Racine)
   3. Re: complicated (Patrick R. Michaud)
   4. Re: Bold numbered list (Pierre Racine)
   5. Re: Bold numbered list (Patrick R. Michaud)
   6. Re: Bold numbered list (Patrick R. Michaud)
   7. Re: ZAP Project Management System Done... (Ben Stallings)
   8. Re: Site not responding (Patrick R. Michaud)
   9. Re: Error on attachments when using $EnableDirectDownload = 0
      (Patrick R. Michaud)
  10. Re: attribute bug (Patrick R. Michaud)
  11. Re: Problem with French language "Recent changes"
      (Carlos A. Bonamigo)
  12. Page action won't disappear (marc)
  13. nested sidebars?  nested categories? (Nicholas Buttle)


----------------------------------------------------------------------

Message: 1
Date: Thu, 4 Jan 2007 15:16:19 +0000
From: "J. Meijer" 
Subject: Re: [pmwiki-users] complicated
To: 

Message-ID: 
Content-Type: text/plain; charset="iso-8859-1"

Correction:
Installing a new wiki. I went through loops to discover why on earth this **would** frame empty:
(etc.)
_________________________________________________________________
Try amazing new 3D maps
http://maps.live.com/?wip=51
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070104/efbc104c/attachment-0001.html 

------------------------------

Message: 2
Date: Thu, 4 Jan 2007 10:29:53 -0500
From: "Pierre Racine" 

Subject: Re: [pmwiki-users] Bold numbered list
To: "'dso'" 
Cc: pmwiki-users at pmichaud.com
Message-ID: <000001c73015$2ec3d160$c104cb84 at sbf.ulaval.ca>
Content-Type: text/plain; charset="iso-8859-1"

I don't know why but this doesn't work. Did you try it?

Pierre


-----Message d'origine-----
De?: dso [mailto:dso at moosoft.com] 
Envoy??: 20 d?cembre 2006 15:42
??: Pierre Racine
Cc?: pmwiki-users at pmichaud.com
Objet?: Re: [pmwiki-users] Bold numbered list

I would use

>>bold<<
# The text
>><<

Daniel

Pierre Racine wrote:
> Anyone has a trick to make a numbered list with the text AND the numbers in bold?
> 
>  
> 
> Something like:
> 
>  
> 
> '''# The text'''
> 
>  
> 
> Pete
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users


-- 
MooSoft Development Inc
http://www.moosoft.com




------------------------------

Message: 3
Date: Thu, 4 Jan 2007 09:40:28 -0600
From: "Patrick R. Michaud" 

Subject: Re: [pmwiki-users] complicated
To: "J. Meijer" 
Cc: pmwiki-users at pmichaud.com
Message-ID: <20070104154026.GB13800 at host.pmichaud.com>
Content-Type: text/plain; charset=us-ascii

On Thu, Jan 04, 2007 at 03:13:09PM +0000, J. Meijer wrote:
>      [[www.example.com | We have Example now!]]
> 
>    Seems perfectly legitimate.
>    ...
>    But the problem is really with the link that doesn't generate text at all.
>    I'd say this behaviour severely puts off (new or old) users. 

Agreed, and PmWiki didn't used to work this way.  I suspect that
this bug is due to a change we made in 2.1.6 to support the
"Group." and "Group/" pagename syntax, and you're just the
first person to find or report the behavior above.

I also seem to recall that we made a change such that an invalid
pagename would suppress the entire link, but I don't exactly 
recall why we did that.  Something to do with trails and/or
pagelists, IIRC.

At any rate, I agree the above behavior is unexpected and that
we need a better solution to it.  I'll see what I can come up with.

Pm





------------------------------

Message: 4
Date: Thu, 4 Jan 2007 10:44:43 -0500
From: "Pierre Racine" 

Subject: Re: [pmwiki-users] Bold numbered list
To: "'Patrick R. Michaud'" 

Cc: pmwiki-users at pmichaud.com
Message-ID: <00c001c73017$40f3a980$c104cb84 at sbf.ulaval.ca>
Content-Type: text/plain; charset="iso-8859-1"

Thanks Pm,

I'm trying to make it a permanent style in config.php but it doesn't work. How do you set the unary variable "item"?

I have tried:

$WikiStyle['bolditem']['font-weight'] = 'bold'; 
$WikiStyle['bolditem']['item'] = '1';

Without success...

Strangely this seems to work for "block" in:

$WikiStyle['yellowboxNoborder']['block'] = '1';
$WikiStyle['yellowboxNoborder']['background-color'] = '#ffec89';

Pierre

-----Message d'origine-----
De?: Patrick R. Michaud [mailto:pmichaud at pobox.com] 
Envoy??: 20 d?cembre 2006 17:24
??: Pierre Racine
Cc?: pmwiki-users at pmichaud.com
Objet?: Re: [pmwiki-users] Bold numbered list

On Wed, Dec 20, 2006 at 03:15:20PM -0500, Pierre Racine wrote:
>    Anyone has a trick to make a numbered list with the text AND the numbers
>    in bold?

Define a new wikistyle for it:

    %define=bolditem item font-weight:bold%

and then for each bullet point you can do:

    # %bolditem% This text is bold
    # %bolditem% This is also bold

See http://www.pmwiki.org/wiki/Test/BoldOrderedList
for an example.

Pm




------------------------------

Message: 5
Date: Thu, 4 Jan 2007 09:47:32 -0600
From: "Patrick R. Michaud" 

Subject: Re: [pmwiki-users] Bold numbered list
To: Pierre Racine 

Cc: pmwiki-users at pmichaud.com
Message-ID: <20070104154732.GC13800 at host.pmichaud.com>
Content-Type: text/plain; charset=iso-8859-1

On Thu, Jan 04, 2007 at 10:29:53AM -0500, Pierre Racine wrote:
> -----Message d'origine-----
> : De?: dso [mailto:dso at moosoft.com] 
> : Envoy??: 20 d?cembre 2006 15:42
> : I would use
> :
> : >>bold<<
> : # The text
> : >><<
>
> I don't know why but this doesn't work. Did you try it?

I suspect that >>bold<< works only if the WikiStylesPlus recipe
is installed.   You could:

   1.  Install the WikiStylesPlus recipe.
   2.  Use >>font-weight:bold<< instead.
   3.  Add %define=bold font-weight:bold% into a GroupHeader or the page,
       and then >>bold<< will work.
   4.  Define "bold" in local/config.php with

           $WikiStyle['bold']['font-weight'] = 'bold';

See also my reply to the original post at [1] for another way to do it.

Lastly, one can do it directly on the list itself:

    # %list font-weight:bold% Here the text and all numerals are bold
    # This has a bolded numeral
    # So does this

See http://www.pmwiki.org/wiki/Test/BoldOrderedList.

Pm

1.  http://www.pmichaud.com/pipermail/pmwiki-users/2006-December/037467.html

> Pierre Racine wrote:
> > Anyone has a trick to make a numbered list with the text AND the numbers in bold?
> > 
> >  
> > 
> > Something like:
> > 
> >  
> > 
> > '''# The text'''
> > 
> >  
> > 
> > Pete
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 
> 
> -- 
> MooSoft Development Inc
> http://www.moosoft.com
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users



------------------------------

Message: 6
Date: Thu, 4 Jan 2007 09:54:43 -0600
From: "Patrick R. Michaud" 

Subject: Re: [pmwiki-users] Bold numbered list
To: Pierre Racine 

Cc: pmwiki-users at pmichaud.com
Message-ID: <20070104155441.GD13800 at host.pmichaud.com>
Content-Type: text/plain; charset=iso-8859-1

On Thu, Jan 04, 2007 at 10:44:43AM -0500, Pierre Racine wrote:
> Thanks Pm,
> 
> I'm trying to make it a permanent style in config.php but it doesn't work. How do you set the unary variable "item"?
> 
> I have tried:
> 
> $WikiStyle['bolditem']['font-weight'] = 'bold'; 
> $WikiStyle['bolditem']['item'] = '1';

"item" isn't a unary variable, it's a wikistyle defined as:

    %define=item apply=item%

So, to set it in config.php:

    $WikiStyle['bolditem']['font-weight'] = 'bold';
    $WikiStyle['bolditem']['apply'] = 'item';

But after thinking about it a bit more, I think the best result
is probably to define a %bold% wikistyle and then use %bold item% 
to bold a single item and %bold list% on the first item to bold an
entire list.

To define the %bold% wikistyle, do any one of the following:

    1. Use Cookbook.WikiStylesPlus

    2. Define a .bold CSS class (e.g., in pub/css/local.css) as

           .bold { font-weight:bold; }

    3. Add the following to local/config.php:

           $WikiStyle['bold']['font-weight'] = 'bold';

> Strangely this seems to work for "block" in:
> 
> $WikiStyle['yellowboxNoborder']['block'] = '1';
> $WikiStyle['yellowboxNoborder']['background-color'] = '#ffec89';

Hmm, I'm not sure why that works -- normally one would do
...['apply'] = 'block';

Pm

> -----Message d'origine-----
> De?: Patrick R. Michaud [mailto:pmichaud at pobox.com] 
> Envoy??: 20 d?cembre 2006 17:24
> ??: Pierre Racine
> Cc?: pmwiki-users at pmichaud.com
> Objet?: Re: [pmwiki-users] Bold numbered list
> 
> On Wed, Dec 20, 2006 at 03:15:20PM -0500, Pierre Racine wrote:
> >    Anyone has a trick to make a numbered list with the text AND the numbers
> >    in bold?
> 
> Define a new wikistyle for it:
> 
>     %define=bolditem item font-weight:bold%
> 
> and then for each bullet point you can do:
> 
>     # %bolditem% This text is bold
>     # %bolditem% This is also bold
> 
> See http://www.pmwiki.org/wiki/Test/BoldOrderedList
> for an example.
> 
> Pm



------------------------------

Message: 7
Date: Thu, 04 Jan 2007 09:55:27 -0600
From: Ben Stallings 
Subject: Re: [pmwiki-users] ZAP Project Management System Done...
To: pmwiki-users at pmichaud.com
Message-ID: <459D236F.9040408 at interdependentweb.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dan wrote,
> www.fast.st/gtd/index.php
> Login Guest/test

Looks great, Dan!  Excellent work, and astonishingly rapid development, 
as always.  :-)  (...says the guy who's been working on the same recipe 
for 9 months now and is only on 0.3 beta.)

Could you enable action=source for the Guest account so that we can see 
the ZAP markup behind this wizardry?  Thanks!  --Ben



------------------------------

Message: 8
Date: Thu, 4 Jan 2007 10:03:04 -0600
From: "Patrick R. Michaud" 

Subject: Re: [pmwiki-users] Site not responding
To: Shaney Crawford 
Cc: pmwiki-users at pmichaud.com
Message-ID: <20070104160304.GE13800 at host.pmichaud.com>
Content-Type: text/plain; charset=us-ascii

On Thu, Jan 04, 2007 at 07:49:42AM +0900, Shaney Crawford wrote:
> On 1/4/07, dso  wrote:
> > Shaney Crawford wrote:
> > > My site is not responding for some reason.  It was fine yesterday
> > > morning, but then in the afternoon, it was not responding.  I didn't
> > > make any changes to it during that time.
> >
> > Probably some kind of loop caused by a recipe.  Try disabling them and
> > then adding them back.  I've also had to change the order on a few of them.
> 
> That seems to have worked.  Thank you!
> 
> I'm not sure why it happened all of a sudden since I didn't add any
> recipes yesterday.  Very strange.

Which recipe(s) appeared to be causing the problem?  We should
probably see about fixing the recipe to avoid the problem, or
at least leave a note on the page in case others encounter the
same difficulty.

Pm




------------------------------

Message: 9
Date: Thu, 4 Jan 2007 10:06:26 -0600
From: "Patrick R. Michaud" 

Subject: Re: [pmwiki-users] Error on attachments when using
 $EnableDirectDownload = 0
To: Helge Larsen 
Cc: pmwiki-users at pmichaud.com
Message-ID: <20070104160626.GF13800 at host.pmichaud.com>
Content-Type: text/plain; charset=us-ascii

On Wed, Jan 03, 2007 at 11:23:01PM +0100, Helge Larsen wrote:
> I'm trying to the SecureAttachments cookbook, but there seems to be an
> error on my site running pmwiki-2.1.26.
> 
> I tried locking the whole site by setting $EnableDirectDownload = 0 in
> config.php, but the my pictures no longer shows.
> 
> I have now restrivted it to two specific groups, but it still fails in
> the following way:
> 
> 1. The normal dialog box with open/save does not show, and the file is
> displayed on the page, and with and excel file that is to no use ...
> 
> 2. Even if I use save destination to a file it is corrupt, and a small
> portion bigger that the original file.
> 
> It seems that the file is handles as text/plain, even it is an excel
> file.

What's the name of the file?  Does it have a normal ".xls" file
extension, or is it named something else?

Have you made any custom settings for $UploadDir, $UploadPrefixFmt,
$UploadFileFmt, or any of the other $Upload... variables?

Pm



------------------------------

Message: 10
Date: Thu, 4 Jan 2007 10:07:27 -0600
From: "Patrick R. Michaud" 

Subject: Re: [pmwiki-users] attribute bug
To: JB 
Cc: pmwiki-users at pmichaud.com
Message-ID: <20070104160727.GG13800 at host.pmichaud.com>
Content-Type: text/plain; charset=us-ascii

On Wed, Jan 03, 2007 at 04:47:48PM -0600, JB wrote:
> In the distribution
> 
>    http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.0-beta19.zip
> 
> the page "PmWiki.Installation" has the edit attribute set
> to "id:anshu".
> 
> Can you please fix this?

Now fixed for 2.2.0-beta20, thanks!

Pm



------------------------------

Message: 11
Date: Thu, 4 Jan 2007 15:35:16 -0200
From: "Carlos A. Bonamigo" 
Subject: Re: [pmwiki-users] Problem with French language "Recent
 changes"
To: pmwiki-users at pmichaud.com
Message-ID: <200701041535.16988.carlos.ab at gmail.com>
Content-Type: text/plain;  charset="iso-8859-1"

Em Quinta 04 Janeiro 2007 13:04, Donald Z. Osborn escreveu:
> Just as it seemed that all was in place a new problem with the French
> language interface arose. "Changements r?cents" (Recent changes) yields not
> the recent changes  but a page does not exist notice:
> 
> "ML-L10n/ModifsDuGroupe" n'existe pas. (Cr?er ML-L10n.ModifsDuGroupe)
> (in the case of
> http://www.panafril10n.org/wikidoc/pmwiki.php/ML-L10n/Accueil )
> 
> It's similar on other wikigroups with French working language such as
> http://www.panafril10n.org/wikidoc/pmwiki.php/GN-L10n/Accueil . But Recent
> changes works fine in English working language pages such as
> http://www.panafril10n.org/wikidoc/pmwiki.php/NG-L10n/HomePage
> 
> I think this function worked fine in the French wikigroups before the change
> to config to accommodate Accueil (per earlier exchange. I'm hoping there is
> no connection. TIA for any suggestions
> 
> Don

One way to solve this is to change a line in 'PmWikiFr/XLPage', that looks 
like this:

  '{$Group}/RecentChanges' => '{$Group}/ModifsDuGroupe',

to something like this:

  '{$Group}/RecentChanges' => '{$Group}/RecentChanges',

Or simply erase/comment that line, because your 'ML-L10n/RecentChanges' file 
is currently being used and filled, everytime you edit a page on that group.

Or even you can create a file 'local/ML-L10n.php' and change the 
$RecentChangesFmt array there, to have the filenames you want to use. 

(You'll have to excuse my french here.  :c) )

 $RecentChangesFmt = array(
  '$SiteGroup.ModifsDuSite' => 
    '* [[{$Group}.{$Name}]]  . . . $CurrentTime $[by] $AuthorLink: 
[=$ChangeSummary=]',
  '$Group.ModifsDuGroupe' =>
    '* [[{$Group}/{$Name}]]  . . . $CurrentTime $[by] $AuthorLink: 
[=$ChangeSummary=]',);

I hope this will help you.

CarlosAB



------------------------------

Message: 12
Date: Thu, 4 Jan 2007 17:31:59 -0000
From: marc 
Subject: [pmwiki-users] Page action won't disappear
To: pmwiki-users at pmichaud.com
Message-ID: 
Content-Type: text/plain; charset="iso-8859-1"

In many places with non-user-editable text, I want:

  (:if ! auth admin:)(:noaction:)(:ifend:)

This works fine in local/Site.php and other places.

However, when authorisation is required and the login form appears, I 
can't find a way to stop PageActions from being displayed.

Is this possible?

-- 
Cheers,
Marc




------------------------------

Message: 13
Date: Thu, 4 Jan 2007 09:35:58 -0800 (PST)
From: Nicholas Buttle 
Subject: [pmwiki-users] nested sidebars?  nested categories?
To: pmwiki-users at pmichaud.com
Message-ID: <448433.10670.qm at web31015.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

can we have 

TopMenu->SubCategory1->SubCategory2 etc each with
their own sidebar?

TIA

Nicholas

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



------------------------------

_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


End of pmwiki-users Digest, Vol 19, Issue 11
********************************************














 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070104/ff7b6992/attachment.html 


More information about the pmwiki-users mailing list