HomeProductsDownloadOrderSupportSearch
  
Myriad Forum « Changer le fond d'un template »
 Welcome, Guest.
 You can read all messages, but to be able to post,
 please Login or Register.
Jul 19th, 2026, 5:50am 
   Myriad Forum
   Open Source
(Moderator: Forum Administrator)
   Changer le fond d'un template
« Previous topic | Next topic »
Pages: 1  Reply | Notify of replies | Print
   Author  Topic: Changer le fond d'un template  (Read 4904 times)
JediMac
Board Full Member
***





   


Posts: 158
Changer le fond d'un template  
« on: Jan 13th, 2004, 10:05pm »
Quote | Modify

Je m'essaye à la création de Template. J'ai édité "page template.html" du modèle Nostalgia, avec golive pour changer le fond de page. J'ai créé un fond en .gif et je l'ai mis dans le dossier de mon template. Ensuite, j'ai remplacé dans golive l'ancien fichier de fond par le nouveau fichier de fond avec l'inspecteur, mais il n'apparaît pas  . La seule méthode pour que ça fonctionne a été de nommer le fichier du nouveau fond comme l'ancien. Quelqu'un aurait une explication ?
 
Je précise que je ne connais pas grand chose à html et juste un peu golive  . Mais pour d'autres pages, c'est la marche à suivre que j'appliquais et qui fonctionnait.
offline

iMac G5 20" 2 GHz - Ram : 1 Go - 10.4.5
ADSL chez Free (dégroupé avec la FreeBox)
Galerie 5.2
Ronald P. Regensburg
Board Master
*****






   
Email

Gender: male
Posts: 999
Re: Changer le fond d'un template  
« Reply #1 on: Jan 13th, 2004, 11:45pm »
Quote | Modify

The easiest way to change the background in a web page is to replace the background picture file with another file of the same name. You can also edit the page to use a file with another name. I don't know GoLive, but any html editor is able to do that.
 
The Nostalgia template uses a separate style sheet outside the pages and the background picture is not only defined in the index and page template files but also in this "main.css" file. In modern browsers the style sheet information takes precedence over the old html tags. Therefore just changing the background in the pages does not change it in the viewed pages, it has to be changed in the CSS file also.
offline

Ronald.
JediMac
Board Full Member
***





   


Posts: 158
Re: Changer le fond d'un template  
« Reply #2 on: Jan 14th, 2004, 8:16am »
Quote | Modify

OK ! Thank you. I will try to understand this css file. A good exercice !
offline

iMac G5 20" 2 GHz - Ram : 1 Go - 10.4.5
ADSL chez Free (dégroupé avec la FreeBox)
Galerie 5.2
JediMac
Board Full Member
***





   


Posts: 158
Re: Changer le fond d'un template  
« Reply #3 on: Jan 15th, 2004, 10:42am »
Quote | Modify

J'ai réussi à changer le fond de mon template en modifiant aussi le css. A présent, je change les boutons pour "page précédente" et "suivante". J'ai fait des rollover avec Golive. Ils fonctionnent sur Camino, mais pas sur Safari et IE. Enfin, les liens fonctionnent sur tous, mais le rollover n'est actif que sur Camino. J'ai pu le faire une fois sur Safari, j'ai donc enregistré et fermer le tempate et pof, marche plus . Enfin, ça c'est pas du ressort de galerie . Si ça continue j'irai sur MacG .
J'ai aussi enlevé "index" parce que je vais faire une page avec un cadre pour les vignettes. Je pense donc que le lien vers une page d'index est inutile. Me trompe-je ? Si non, peut-être que ce lien peut disparaître lorsqu'on choisit "fenêtre avec cadre". Mais bon il faudrait retoucher tous les templates pour pas grand chose. Ca vaut peut-être pas le coup .
offline

iMac G5 20" 2 GHz - Ram : 1 Go - 10.4.5
ADSL chez Free (dégroupé avec la FreeBox)
Galerie 5.2
Ronald P. Regensburg
Board Master
*****






   
Email

Gender: male
Posts: 999
Re: Changer le fond d'un template  
« Reply #4 on: Jan 15th, 2004, 3:54pm »
Quote | Modify

on Jan 15th, 2004, 10:42am, JediMac wrote:
A présent, je change les boutons pour "page précédente" et "suivante". J'ai fait des rollover avec Golive. Ils fonctionnent sur Camino, mais pas sur Safari et IE. Enfin, les liens fonctionnent sur tous, mais le rollover n'est actif que sur Camino. J'ai pu le faire une fois sur Safari, j'ai donc enregistré et fermer le tempate et pof, marche plus . Enfin, ça c'est pas du ressort de galerie . Si ça continue j'irai sur MacG .

Those are web-design problems. Maybe you should try and start with the more simple things and gradually move to more complex matters like making rollovers. Also, when you try modifying templates, start with the simpler ones that have no style sheet. If you have a special template design problem, publish the gallery and give the url here, so we can study the source to see what you have done.
offline

Ronald.
Ronald P. Regensburg
Board Master
*****






   
Email

Gender: male
Posts: 999
Re: Changer le fond d'un template  
« Reply #5 on: Jan 15th, 2004, 4:09pm »
Quote | Modify

on Jan 15th, 2004, 10:42am, JediMac wrote:
J'ai aussi enlevé "index" parce que je vais faire une page avec un cadre pour les vignettes. Je pense donc que le lien vers une page d'index est inutile. Me trompe-je ? Si non, peut-être que ce lien peut disparaître lorsqu'on choisit "fenêtre avec cadre". Mais bon il faudrait retoucher tous les templates pour pas grand chose. Ca vaut peut-être pas le coup .

I am not sure what you mean with "le lien vers une page d'index". Do you refer to what in the French version of Galerie is called "Lien sur la page principal"? It is not useless, it is meant to be used when the gallery is part of a larger site, to be able to return to the home page. Or when you let Galerie built a main index page that links to the indexpages of a number of seperate galeries, it is usefull when from the index pages of the galleries you can return to the main index page. If you do not need the link, just do not supply text in the address box and the link will not appear in the index page.
offline

Ronald.
JediMac
Board Full Member
***





   


Posts: 158
Re: Changer le fond d'un template  
« Reply #6 on: Jan 15th, 2004, 5:00pm »
Quote | Modify

Thank your for your help Ronald !
I agree with you. I think I'm going to create a template from one which has not a css to minimize the potential problems.  But I don't think that the faulty operation of the rollovers is due to css. It's probably a question of a bad interpretation by Safari or IE, of the html generated by Golive. Surprisingly, I used already this sort of rollover, and it works normally. So perhaps css...
For the link to the "home page" (=lien vers une page d'index"), I realised the fonction you describe yesterday evening, and indeed, my galerie will have severals index pages. So I will recreate this link.
offline

iMac G5 20" 2 GHz - Ram : 1 Go - 10.4.5
ADSL chez Free (dégroupé avec la FreeBox)
Galerie 5.2
JediMac
Board Full Member
***





   


Posts: 158
Re: Changer le fond d'un template  
« Reply #7 on: Jan 23rd, 2004, 12:50pm »
Quote | Modify

Je continue la création de mon template. Je suis parti d'un template existant sans .css, Aqua.
J'ai pu changer le fond de page de la page et de l'index, j'ai mis un cadre pour les images, mais juste en remettant le nom "imageback.jpg" à mon fichier et sans savoir où indiquer que c'est tel fichier qui sert de cadre. Pareil pour le cadre des vignettes.
Où faut-il indiquer ces liens ? Je n'ai pas trouvé
 
Merci
offline

iMac G5 20" 2 GHz - Ram : 1 Go - 10.4.5
ADSL chez Free (dégroupé avec la FreeBox)
Galerie 5.2
Didier Guillion
Administrator
*****






   
WWW | Email

Gender: male
Posts: 8420
Re: Changer le fond d'un template  
« Reply #8 on: Jan 23rd, 2004, 1:16pm »
Quote | Modify

Bonjour,
 
C'est le nom du fichier qui sert. Tu n'as pas besoin d'indiquer un lien. La présence ou l'absence du fichier active/désactive la possibilité d'avoir un fond ou un avant plan.
Tu dois donc respecter scrupuleusement le nom des fichiers et leur position dans le dossier du modèle.
 
Cordialement
offline

Myriad Team
JediMac
Board Full Member
***





   


Posts: 158
Re: Changer le fond d'un template  
« Reply #9 on: Jan 23rd, 2004, 2:24pm »
Quote | Modify

on Jan 23rd, 2004, 1:16pm, Didier Guillion wrote:
Bonjour,
 
C'est le nom du fichier qui sert. Tu n'as pas besoin d'indiquer un lien. La présence ou l'absence du fichier active/désactive la possibilité d'avoir un fond ou un avant plan.
Tu dois donc respecter scrupuleusement le nom des fichiers et leur position dans le dossier du modèle.
 
Cordialement
OK ! Et puis c'est logique de respecter une norme en adéquation avec le manuel, si on veut ensuite proposer les templates.
 
Merci
« Last Edit: Jan 23rd, 2004, 8:33pm by JediMac » offline

iMac G5 20" 2 GHz - Ram : 1 Go - 10.4.5
ADSL chez Free (dégroupé avec la FreeBox)
Galerie 5.2
Pages: 1  Reply | Notify of replies | Print

« Previous topic | Next topic »

« Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB 2000-2002,
Xnull. All Rights Reserved.

Top of page
Legal information Cookies Last update:  (c) Myriad