Lars Gaardsoe | 5 May 18:53
Picon

CVT forms and checkboxes as array

Hello everyone

I'm trying to build a email form with checkboxes using the new smart  
CVT form (http://www.spip.net/en_article3980.html).

It is not problem to get it to email me text-input content, but I have  
problem figuring out how to use checkboxes:

I have a nummer of checkboxes like this:

<form>
<input type="checkbox" name="xxxx[]"> aaa
<input type="checkbox" name="xxxx[]"> bbb
<input type="checkbox" name="xxxx[]"> xxx
</form>

But then I try to _request('xxxx') to get the results it just returns  
'Array'.

What am i doing wrong? I have trying translating dicussions from the  
french mailing lists
(http://www.mail-archive.com/spip-JM9gtpQu/Ho <at> public.gmane.org/msg12668.html 
  and http://www.mail-archive.com/spip-zone-JM9gtpQu/Ho <at> public.gmane.org/msg11898.html)  
but I just can't get it to work.

Be the way: the actual form i located at http://krogerup.dk/Test-formular

I love SPIP, but sometimes the language barrier is killing me :-)

/larsg
(Continue reading)

Fil | 5 May 21:14
Favicon
Gravatar

Re: CVT forms and checkboxes as array

> But then I try to _request('xxxx') to get the results it just returns
> 'Array'.

this is when you cast it to a string. Try var_export( _request('xxxx'), 1)

-- Fil
kamran Mir Hazar | 6 May 18:05
Picon
Favicon

Feed error

Hello,
I give the following error in firefox when I wanted to open feeds:
Fatal error: Call to undefined function lire_config() in /hermes/web03/b528/…/…/…/ecrire/public/composer.php(51) : eval()'d code on line 309
In internet explorer and google browser also I give the following message:
This feed contains errors. Internet Explorer will try updating this feed again later.

I’m using SPIP 2.0.7 [13888] and the site character set is utf-8.
Can anyone tell me how to fix it?
Thank you
Kamran

Fil | 7 May 09:17
Favicon
Gravatar

Re: Feed error

It seems that you are using a plugin that needs the lire_config()
function... which is defined by the CFG plugin. So yu really need to
check if our plugins are correctly activated

On Wed, May 6, 2009 at 6:05 PM, kamran Mir Hazar
<kamran_mirhazar@...> wrote:
> Hello,
> I give the following error in firefox when I wanted to open feeds:
> Fatal error: Call to undefined function lire_config() in
> /hermes/web03/b528/…/…/…/ecrire/public/composer.php(51) : eval()'d code on
> line 309
kamran Mir Hazar | 7 May 14:12
Picon
Favicon

Re: Feed error

No I do not use such plugin, but I removed the cache and now it is working.
Thank you


From: Fil <fil-JM9gtpQu/Ho@public.gmane.org>
To: kamran Mir Hazar <editor-KuNTkyfR4oyXFJAUJl40Xg@public.gmane.org>
Cc: Spip-en <spip-en-JM9gtpQu/Ho@public.gmane.org>
Sent: Thursday, May 7, 2009 9:17:06 AM
Subject: Re: [Spip-en] Feed error

It seems that you are using a plugin that needs the lire_config()
function... which is defined by the CFG plugin. So yu really need to
check if our plugins are correctly activated

On Wed, May 6, 2009 at 6:05 PM, kamran Mir Hazar
<kamran_mirhazar-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
> Hello,
> I give the following error in firefox when I wanted to open feeds:
> Fatal error: Call to undefined function lire_config() in
> /hermes/web03/b528/…/…/…/ecrire/public/composer.php(51) : eval()'d code on
> line 309
_______________________________________________
spip-en-JM9gtpQu/Ho@public.gmane.org - http://listes.rezo.net/mailman/listinfo/spip-en
T NAMGYAL | 8 May 20:55
Picon

multi-lingual site

Hello there everyone, I run a small site with articles, poems and submissions from many contributors. It is all in English. Now I am planning to make a Tibetan and Chinese language version of the site. Is it possible to do that by creating two sub directories under the root and use the same template etc without having to install SPIP seperately? What is the best solution?

Thanks again for the help.

Tenam

http://www.TibetWrites.org

kamran Mir Hazar | 12 May 03:03
Picon
Favicon

Petition language

Hello,
The main language of my website is Farsi but there is one English section with some English subsections.  I have created a petition in English language under English section. The language of the article is English same as its section. But People give Farsi message when   they click submit bottom, asking to confirm the signature. The email that they receive also is Farsi and just the title of the article is English. Instructions are in Farsi.
How do I turn it to English and people give message and receive email only in English?
Thank you
Kamran
Gilles VINCENT | 13 May 12:00
Picon
Gravatar

New plugin : Composition

Hi,

I'm starting to announce on this list the release of some new plugins.
Hope it helps,

.Gilles

======
Plugin franch name : Composition
French documentation : http://www.spip-contrib.net/Compositions
source link : http://files.spip.org/spip-zone/compositions.zip

Introduction :
This plugin allows you to define several variants of compositions for each type of object.
It also provides an interface on each object, which allows you to select the active composition.

Purpose : providing a mechanism and an interface for varying the type of composition of each object as needed.

For example, you may need to compose some articles in a newspaper format and some others such as photo albums.
Or you may want to compose some sections as blogs, and others more traditionally ...

To vary the composition of the objects of the same type, SPIP has natively some solutions available to webmasters:

  • skeletons suffixed with the number of section (section-23.html) can often get away, but have major defects: maintenance squelettes held on this quickly becomes very heavy, and no interface does change the composition an object among those existing when it was set by the webmaster with a particular skeleton.
  • Technical keywords are sometimes used in the skeletons to indirectly choose the type of composition. It works well. However, the interface is poorly suited for this purpose, and if the site also uses keywords with other meanings, administrators are quickly lost.

The plugin provides a new feature to SPIP.

.Gilles
Martín Gaitán | 21 May 08:29
Picon
Gravatar

svn stable branch

Hi!

I've seen in  http://trac.rezo.net/trac/spip/  that there is a new release: 2.08
according to the table, it's the SVN revision 13982

but I've just checked out the 'stable' branch and get the revision 14024

svn checkout svn://trac.rezo.net/spip/branches/spip-2.0/
that's correct?
there is no an svn tag to check out the last 'stable release' directly?

thanks in advance
Gilles VINCENT | 21 May 09:27
Picon
Gravatar

Re: svn stable branch

svn checkout -r 13982 svn://trac.rezo.net/spip/branches/spip-2.0/
This is the official 2.08 version, according to the list available at http://trac.rezo.net/trac/spip/

But the "stable branch" is branches/spip-2.0 : the main corrections detected on the dev branch are reported on this branch. That's why you can consider it as the stable branch (and personally I always checkout the latest version of this branch)

.Gilles


On Thu, May 21, 2009 at 8:29 AM, Martín Gaitán <gaitan <at> gmail.com> wrote:
Hi!

I've seen in  http://trac.rezo.net/trac/spip/  that there is a new release: 2.08
according to the table, it's the SVN revision 13982

but I've just checked out the 'stable' branch and get the revision 14024svn checkout svn://trac.rezo.net/spip/branches/spip-2.0/
that's correct?
there is no an svn tag to check out the last 'stable release' directly?

thanks in advance

_______________________________________________
spip-en-JM9gtpQu/Ho@public.gmane.org - http://listes.rezo.net/mailman/listinfo/spip-en



Gmane