Url, but on
version 2.2.b31 I see that image above the PmWiki logo image.
> When you upgraded pmwiki, did you also upgrade the skin?
No, I just copied the pub folder (plus the *.d folders, local, etc.) from
2.1.27 to
2.2.b31 because my initial version of FixFlow is 2007-01-27.
--sgp
_
A set of automatically localized variables would also be very
convenient, most prominently:
{$langTitle} - localized page title taken from
(:if userlang en:)
(:title Hello:)
(:if userlang de:)
(:title Hallo:)
(:if:)
{$langGroup} - localized group name taken from an XL file
c
2.2beta31
* How can I detect redirected pages in local/config.php ?
* How can I detect automatically redirected pages of the kind that
happens after a page edit/preview? * How can I override the above
redirect for some specific pages only, and redirect them to another page
at the end of the p
Patrick R. Michaud wrote:
> Many thanks for the details, they are very helpful. If anyone
> has anything further to add, now is a good time to do it. :-)
Here's another good one, Multilanguage within table:
(:table border=1 cellpadding=3 cellspacing=0:)
(:cellnr:)
(:if userlang de:)
(:title Wi
Upgrading from 2.1.27 to 2.2beta31 I noticed that Site.PageHeader exists
by default and can't be deleted. Bug or feature I don't know, but it did
create an upgrade problem for me. The forced existence of
Site.PageHeader results in the default PmWiki logo being displayed on
all pages, in addition to
Patrick R. Michaud wrote:
> Yes, the documentation is wrong. Here's a version
> that I _think_ will work:
>
> function MarkupExcerpt($pagename) {
> $page = RetrieveAuthPage($pagename, 'read', false);
> return substr(@$page['text'], 0, 200);
> }
>
> $FmtPV['$MarkupExcerpt
Jiri Hladùvka / OBUTEX wrote:
> (:enphrase-hello: hello:)
> (:esphrase-hello: hola:)
> (:dephrase-hello:hello:)
> (:xxphrase-hello: default text to be diplayed:)
> then $[phrase-hello] could choose the proper translation.
>
I often use $[group{$Group}] to translate group names in menus.
ATM, I
Tom Lederer wrote:
> Better readable there: http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
>
> Hope that helps,
It sure helps, thank you. I'd better read those ReleaseNotes even though
much of it is over my head ATM.
___
pmwiki-users mailing list
pm
Patrick R. Michaud wrote:
> Hmmm, very interesting. Maybe a variation of the $[...] syntax?
>
> $[en:hello|es:hola|de:hallo|hello]
>
> This would say to display 'hello', 'hola', or 'hallo' depending
> on the current userlang, otherwise it uses the default XLPage
> translation of 'hello'. O
sgp wrote:
> So I decide to upgrade and found a few hurdles. The first one is that
> {$FullPage} in the Site.SideBar resolves to the last displayed page,
> not to the current page.
>
Correction: {$FullPage} in the SideBar resolves to the SideBar page and
not to the real page.
Patrick R. Michaud wrote:
> You might try upgrading to the latest 2.2.0-beta.
>
The second problem I found when upgrading is also related to the sidebar
and, like the first problem in my previous post, it involves userlang
from multilanguage.php.
I'm wondering, perhaps multilanguage.php is bro
Patrick R. Michaud wrote:
> to trails in pagelists, but 2.2.0 does. You might try upgrading
> to the latest 2.2.0-beta.
So I decide to upgrade and found a few hurdles. The first one is that
{$FullPage} in the Site.SideBar resolves to the last displayed page, not to the
current page.
My Site.S
Patrick R. Michaud wrote:
> The biggest issue with something like "case" or "lang" is knowing how
> they might interact with (:if:). Mixing (:if:), (:case:), and (:lang:)
> in a page is likely to cause a lot of confusion and frustration for
> authors and admins. So perhaps we'd be best served b
The webfeeds recipe suggests using
$FmtPV['$MarkupExcerpt'] = 'substr($page["text"], 0, 200)';
then use $MarkupExcerpt in the RSS description
$FeedFmt['rss']['item']['description'] = '$MarkupExcerpt';
This does not seem to work for the latest stable release.
Is there another way? Thanks
__
but the name filter doesn't seem to be applied at all,
I need to filter out News.News, News.Feed, etc.
Incidentally, Patrick your responsiveness and knowledge is
truly impressive. Thank you so much!
--sgp
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Patrick R. Michaud wrote:
> Could someone describe to me the ways in which they are wanting
> to use multiple languages on a single page? I.e., what sorts of
> features are needed from the existing recipe, and what things do
> you want to do that the recipe currently cannot? I might be
> able t
Patrick R. Michaud wrote:
> On Tue, Feb 13, 2007 at 05:51:32PM +0100, sgp wrote:
>> Patrick R. Michaud wrote:
>>
> Then edit a page, select "minor edit", and press "Preview".
> You should see "Minor edit" and possibly a couple of PHP warnings
&
Patrick R. Michaud wrote:
> You might try adding a space between "if" and the opening paren,
> although I don't think that's it. Or, perhaps send a copy of your
> local/config.php and we can look at it.
Adding spaces didn't help.
Here's a copy of my local/config.php, comments stripped.
Line 2 sh
I've searched the list and found the following way to detect minor edit,
in local/config.php line 2, I added
if(@$_POST['diffclass'] == 'minor') { ... ; }
The trouble is that I never ever see anything inside the braces being
executed. In dispair I even added {print 1/0;} to force an error but it
Hello, I'm new to PmWiki, and I'm hooked!
How can I change Site.PageNotFound so that it shows a localized message
with the multilanguage recipe? Multilanguage adds markup (:if userlang
de:) etc. so I tried (2 lines below, all on one line from (:if to \\ )
both lines:
(:if (userlang de) && (! gro
20 matches
Mail list logo