How to write the dossier_squelettes when the squelettes are on some other server / site?
This,
$GLOBALS['dossier_squelettes'] = 'my-other-site.com/squelettes';
does not work. Thanks for a correct line.
How to write the dossier_squelettes when the squelettes are on some other server / site?
This,
$GLOBALS['dossier_squelettes'] = 'my-other-site.com/squelettes';
does not work. Thanks for a correct line.
this is impossible :
$GLOBALS['dossier_squelettes'] is a path relative to the root
directory (ie you can access it with
http://your_website/$GLOBALS['dossier_squelettes']/
What do you intend to do ? Maybe there is another solution..
.Gilles
On 11/8/07, Barnie <spip@ourself.eu> wrote:
How to write the dossier_squelettes when the squelettes are on some
other server / site?This,
$GLOBALS['dossier_squelettes'] = 'my-other-site.com/squelettes';
does not work. Thanks for a correct line.
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
Hi Barnie,
I forward your question to the list, because I haven't yet any
solution in mind.
.Gilles
---------- Forwarded message ----------
From: Barnie <spip@ourself.eu>
Date: Nov 9, 2007 2:39 PM
Thanks. I'll return the this subject later. For the time being
something else puzzles me. Probably it is possible to restrict the
search results from #RECHERCHE (presented through the template
recherche.html) to the secteur = root rubrique the visitor is in.
This could be reasonable if the site covers very different topics in
each root sector. How could I accomplish such a restriction?
On 2007 Nov 8, at 21:36, Gilles Vincent wrote:
this is impossible :
$GLOBALS['dossier_squelettes'] is a path relative to the root
directory (ie you can access it with
http://your_website/$GLOBALS['dossier_squelettes']/What do you intend to do ? Maybe there is another solution..
.Gilles
On 11/8/07, Barnie <spip@ourself.eu> wrote:
How to write the dossier_squelettes when the squelettes are on some
other server / site?This,
$GLOBALS['dossier_squelettes'] = 'my-other-site.com/squelettes';
does not work. Thanks for a correct line.
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
Gilles Vincent ha scritto:
Hi Barnie,
I forward your question to the list, because I haven't yet any
solution in mind..Gilles
---------- Forwarded message ----------
From: Barnie <spip@ourself.eu>
Date: Nov 9, 2007 2:39 PMThanks. I'll return the this subject later. For the time being
something else puzzles me. Probably it is possible to restrict the
search results from #RECHERCHE (presented through the template
recherche.html) to the secteur = root rubrique the visitor is in.
This could be reasonable if the site covers very different topics in
each root sector. How could I accomplish such a restriction?
I made a contrib some years ago on this topic.
(warning: it's in Italian
)
My solution was to create a slightly modified form #RECHERCHE, that was able to capture the id_rubrique from the context and redirect the user to the result page with the parameter id_rubrique appended in the query string.
Next step is to simply add the criterion {id_rubrique?} to the loops of the result page.
The contrib was done for SPIP 1.8.3 so maybe some changes are required in order to make it work with the new versions.
Ciao
Renato
What do you intend to do ? Maybe there is another solution.
Probably there is.
Here is my task:
As « Multi-site provisioning » does not work for me I’ve to install several spip kernels on so called addon domains. I’d like to have at least the squelettes on the main or « account’s home directory » (cpanel jargon).
A reference down to the « account’s home directory » such as …/…/squelettes did not work.
My attempt with $GLOBALS[‹ dossier_squelettes ›] = ‹ account.com/squelettes ›; was nonsense.
On 2007 Nov 8, at 21:36, Gilles Vincent wrote:
this is impossible :
$GLOBALS[‹ dossier_squelettes ›] is a path relative to the root
directory (ie you can access it with
http://your_website/$GLOBALS[‹ dossier_squelettes ›]/What do you intend to do ? Maybe there is another solution…
.Gilles
On 11/8/07, Barnie <spip@ourself.eu> wrote:
How to write the dossier_squelettes when the squelettes are on some
other server / site?This,
$GLOBALS[‹ dossier_squelettes ›] = ‹ my-other-site.com/squelettes ›;
does not work. Thanks for a correct line.
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
Hi,
On 11/12/07, Barnie <spip@ourself.eu> wrote:
Here is my task:
As "Multi-site provisioning" does not work for me I've to install several
spip kernels on so called addon domains. I'd like to have at least the
squelettes on the main or "account's home directory" (cpanel jargon).A reference down to the "account's home directory" such as ../../squelettes
did not work.
This is normal (for security raison).
An absolute path should work (something like
$_SERVER['DOCUMENT_ROOT']."/squelettes")
However the multi-site plugin should work fine (it requires the
developpement version of Spip which can be downloaded with
svn://trac.rezo.net/spip/spip)
.Gilles
On 11/12/07, Barnie <spip@ourself.eu> wrote:
> However the multi-site plugin should work fine (it requires the
> developpement version of Spip which can be downloaded with
> svn://trac.rezo.net/spip/spip)I installed the development version. After completion I did not get
any clue how to cover another domain. However, I had some strange
question about another database during installation. I did not
understand that. I will try one more time. What is the "multi-site
plugin"?
you can get it with svn :
svn co svn://zone.spip.org/spip-zone/_plugins_/_stable_/mutualisation
It's detailled here :
http://www.spip-contrib.net/La-mutualisation-facile
(in french)
.Gilles
Thanks for the explanation. So, I need a plugin. Unfortunately, I can't execute svn. Is there another way to get this plugin?
On 2007 Nov 13, at 0:49, Gilles Vincent wrote:
On 11/12/07, Barnie <spip@ourself.eu> wrote:
However the multi-site plugin should work fine (it requires the
developpement version of Spip which can be downloaded with
svn://trac.rezo.net/spip/spip)I installed the development version. After completion I did not get
any clue how to cover another domain. However, I had some strange
question about another database during installation. I did not
understand that. I will try one more time. What is the "multi-site
plugin"?you can get it with svn :
svn co svn://zone.spip.org/spip-zone/_plugins_/_stable_/mutualisationIt's detailled here :
La mutualisation facile : modifications manuelles
(in french).Gilles
On 11/13/07, Barnie <spip@ourself.eu> wrote:
Thanks for the explanation. So, I need a plugin. Unfortunately, I
can't execute svn. Is there another way to get this plugin?
For some plugins you can get an archive (calculated each hour) here :
http://files.spip.org/spip-zone/
(for this plugin it's http://files.spip.org/spip-zone/mutualisation.zip)
.Gilles
---
On 2007 Nov 13, at 0:49, Gilles Vincent wrote:
> On 11/12/07, Barnie <spip@ourself.eu> wrote:
>>> However the multi-site plugin should work fine (it requires the
>>> developpement version of Spip which can be downloaded with
>>> svn://trac.rezo.net/spip/spip)
>>
>> I installed the development version. After completion I did not get
>> any clue how to cover another domain. However, I had some strange
>> question about another database during installation. I did not
>> understand that. I will try one more time. What is the "multi-site
>> plugin"?
>>
>
> you can get it with svn :
> svn co svn://zone.spip.org/spip-zone/_plugins_/_stable_/mutualisation
>
> It's detailled here :
> La mutualisation facile : modifications manuelles
> (in french)
>
> .Gilles