Hieu Vu | 1 Jun 04:40
Picon
Picon
Favicon

default front page

Hi,

 

Just wondering how do you change the default front page so that when someone enters your website it goes straight into section 1  or section 2

 

Hieu Vu

 

Gilles Vincent | 1 Jun 09:43
Picon
Gravatar

Fwd: default front page

I use this :
#HTTP_HEADER{Location: #URL_RUBRIQUE{10}}

This also works :
<INCLURE{fond=rubrique}{id_rubrique=10}{env=#ENV}{lang}>
with the hack http://www.spip-contrib.net/Passer-TOUS-les-parametres-de-l

(generally this hack isn't necessary and
<INCLURE{fond=rubrique}{id_rubrique=10}{lang}> works fine)

.Gilles
--
2007/6/1, Hieu Vu <h.vu@...>:
>
>
>
>
> Hi,
>
>
>
> Just wondering how do you change the default front page so that when someone
> enters your website it goes straight into section 1  or section 2
>
>
>
>
>
>
>
> Hieu Vu
>
>
> _______________________________________________
> spip-en@... -
> http://listes.rezo.net/mailman/listinfo/spip-en
>
>
fora | 2 Jun 15:27

dead author login

After I deleted an author the name disappears from spip admin pages.  
So far, so good. However, it still exists in the login menu even  
though it is not in the browser's (firefox) password listing and not  
in my (mac) "keychain". Don't see it in the database either. - How to  
get rid of "dead" authors? - Thanks.
bertrand Gugger | 2 Jun 18:06
Favicon

Re: dead author login

fora@... wrote:
> After I deleted an author the name disappears from spip admin pages.  
> So far, so good. However, it still exists in the login menu even  
> though it is not in the browser's (firefox) password listing and not  
> in my (mac) "keychain". Don't see it in the database either. - How to  
> get rid of "dead" authors? - Thanks.

Not sure I understand your problem right ... could it be simply in some 
cookie ?

Hieu Vu | 4 Jun 05:02
Picon
Picon
Favicon

Highlighting both Section and subsection

Hi,

 

Using the #EXPOSE Tag I was able to light the currently selection section, so <li [class=”(#EXPOSE)”>]

Is it possible to highlight a Sub Section as well as its parent section?

 

Hieu

 

bertrand Gugger | 4 Jun 07:55
Favicon

Re: Highlighting both Section and subsection

Hello,
Hieu Vu wrote:
> Hi,
> 
>  
> 
> Using the #EXPOSE Tag I was able to light the currently selection
> section, so <li [class="(#EXPOSE)">]
> 
> Is it possible to highlight a Sub Section as well as its parent section?
> 
>  

Just take a look into dist/sommaire.html which is doing exactly what you 
want in the navigation menu on the right side.
Cheers
--

-- 
toggg

Gilles Vincent | 4 Jun 08:29
Picon

Re: Highlighting both Section and subsection

For a subSection It's not possible because #EXPOSE only highlights
sections accessible via the HIERARCHIE loop (so only sections stored
in id_parent and id_rubrique).

.Gilles

2007/6/4, Hieu Vu <h.vu@...>:

> Using the #EXPOSE Tag I was able to light the currently selection section,
> so <li [class="(#EXPOSE)">]
>
> Is it possible to highlight a Sub Section as well as its parent section?
>
Lars Gaardsøe | 14 Jun 17:01
Picon

howto change database

Hello

I have huge problems with changing from one database server to
another. My web hotel decided to move my mysql server, but without
moving my data, so I had to do that my self.

Now I have uploaded a backup to the new server and changed the info in
inc-connect.php, but when I log in to SPIP, which I can, It doesn't
show my articles except one article still in editing (not published).

I'm quite stupid when I comes to mysql, I can't understand, what I'm
doing wrong.

Can you help me?

Best regards

Lars Gaardsøe
Paolo | 14 Jun 22:14
Picon
Favicon

Re: howto change database

Lars Gaardsøe wrote:
> I have huge problems with changing from one database server to
> another. My web hotel decided to move my mysql server, but without
> moving my data, so I had to do that my self.

Hm! Start looking for another service provider!

> Now I have uploaded a backup to the new server 

How did you do this, Lars? Using PHPMyAdmin, or using the built in 
backup system in SPIP?

 > changed the info in inc-connect.php

Are you sure the file is pointing to the right database?

Can you look at the database with some direct MySQL tool (PHPMyAdmin or 
other)? Can you see all the SPIP tables with that?

Paolo

Paolo | 15 Jun 18:53
Picon
Favicon

Re: howto change database

Lars Gaardsøe wrote:
I made the backup with phpmyadmin. Actually I just forgot, that spip has 
a fine built in backup system. Anyway, I also uploaded the backup to the 
new server with phpmyadmin.

As far as I can tell inc_connect.php points a the right database, and 
when I look it up in phpmyadmin it contains all the spip tables.

If inc_connect.php doesn't open the right database, how come I can log 
in. Isn't user name and password stored in the database?

- - -

Lars - please always reply to the *newsgroup*, someone else may have an 
idea!

config\connect.php  should contain a line like this :

   spip_connect_db('server_name','','username','password','database');

where the last element is the name of the database. Does it have the 
correct name?

If so, do you see the spip articles and sections in the "private area" 
of SPIP when you log in to it?

If it does not have the correct database name, the best thing to do is 
to delete the connect.php file and go with a navigator to 
your_site.com/ecrire and reinstall SPIP's database connection.

Paolo


Gmane