Announcement

#1 2005-09-30 11:14:56

jillij
Guest

New template

I have just finished a new template for PhpWebGallery. I did it for my own website and I though it could be of interest for others.

You can have a look at my website here:
http://jillij.free.fr

The template is here :
http://jillij.free.fr/Files/phpwebgallery-jillij.zip

You will have to make a tiny modification in the code. Just follow the instruction in the INSTALL file.

I am also working on an integration MOD between wordpress (a blog software) and phpwebgallery. When I'll have time (sic), I'll release it also.

 

#2 2005-09-30 11:49:38

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: New template

Excellent ! I shall try it asap.

Jillij : Maybe during next Paris' White Night. 8;-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#3 2005-09-30 19:07:29

Tcherno
Member
Issy-les-moulineaux (France)
2004-06-09
194

Re: New template

jillij wrote:

I have just finished a new template for PhpWebGallery. I did it for my own website and I though it could be of interest for others.

You can have a look at my website here:
http://jillij.free.fr

The template is here :
http://jillij.free.fr/Files/phpwebgallery-jillij.zip

Very nice template ! Maybe good for me in dark version 8-)


"Mon métier est de voir et faire voir. Je ne ressens pas la nécessité d'en changer" Jean Lattès Photojournaliste (1917-1996)

Offline

 

#4 2005-10-03 13:07:39

jillij
Guest

Re: New template

Okay, as soon as I find some free time, I will make a "dark" version.

 

#5 2005-10-11 19:11:23

daniele
Guest

Re: New template

wow
Vary beautifull template...
I have as soon as installed, but I have not understood why it does not work correctly. The problem appears when the images come magnified. the elements that compose the gallery (buttons, texts and images) are not centered...
It is the link to my phpwebgallery: http://www.dpeffe.it/webgallery/category.php
thanks for the help
By
Daniele

 

#6 2005-10-11 21:55:27

jillij
Member
2005-10-11
118

Re: New template

I am glad you like it.

Well, simply, it is because there was a little bug which is now corrected. I did not see it since comments are allowed for everyone on my website, contrary to yours.

Please download again the template and replace your files (you can replace picture.tpl only), it should work correctly now.

http://jillij.free.fr/Files/phpwebgallery-jillij.zip

Offline

 

#7 2005-10-11 22:51:29

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: New template

I will apply it asap. Thx Jillij


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#8 2005-10-16 02:57:38

jillij
Member
2005-10-11
118

Re: New template

Here is a new version which should prevent Internet Explorer from crashing.
http://jillij.free.fr/Files/phpwebgallery-jillij.zip

Also, I did a "dark" version:
http://jillij.free.fr/Files/phpwebgalle … j-dark.zip

I have reorganised the CSS file so that it should be more easy to make some modifications.

It should be compatible with Opera now. (at least with the last version I have tested)

Hope you like it.

Offline

 

#9 2005-10-16 11:11:40

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: New template

It is work well, just I can't add any picture to favorites...
I couldn't understand why?

Very well done. Thanks.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#10 2005-10-16 11:52:20

jillij
Member
2005-10-11
118

Re: New template

Favorites work well for me. I don't think it is the template
If you are logged, it should work.

Maybe try to remove your cookies and start again.

Offline

 

#11 2005-10-16 17:46:26

daniele
Guest

Re: New template

hello, I have still some question... 
- How can I make in order to have always a button HOME in the menu bar (as it happens in the administration area)? 
- If I enter in a subcategory the menu bar  changes and to forgiveness some options, is it normal?  how can I correct the error? 
good bye and thanks

Daniele

www.dpeffe.it/webgallery

 

#12 2005-10-18 22:14:51

jillij
Member
2005-10-11
118

Re: New template

Well,
For the home button, easy. go into category.tpl in jillij directory.
Line 8
replace                    
<li><div id="noa"><a href="#">{L_CATEGORIES}</a></div>
with
<li><div id="noa"><a href="./category.php">{L_CATEGORIES}</a></div>

Then for the other problem, it seems like we found a bug of Phpwebgallery.
I am not sure, but it sounds like in the category menu, it doesn't close all the <ul> it opens.

Well anyway,
go to include/functions_html.inc.php
Line 413 to 419

replace
    $menu.= '</a></li>';

  }

  $menu.= '</ul>';

  return $menu;

by

    $menu.= '</a></li>';

  }

  $menu.= str_repeat("\n</ul>",(1+$level));

  return $menu;
}

now it should work...

Offline

 

#13 2005-10-19 09:11:02

daniele
Member
2005-10-17
5

Re: New template

Thank you a lot.
Now it works correctly!!
Good bye
Daniele

Offline

 

#14 2005-10-27 00:02:04

daniele
Member
2005-10-17
5

Re: New template

hello
I have made some changes my gallery. 
I have magnified the thumbnails to 200px and now they do not come correctly visualized. 
I have tried to resolve the problem, but not there are successful... 
any idea? 
thanks a lot
Daniele

Offline

 

#15 2005-10-27 00:53:28

jillij
Member
2005-10-11
118

Re: New template

Your problem is in the picture.tpl, I guess. The template has a certain max width due to the background picture.
So maybe you can force the small picture in picture.tpl to be smaller. As you want to keep the 200px for thumbnail in the category.tpl.
I suggest using a little javascript to reduce the thumbnails in picture.tpl.

replace:
<img src="{previous.IMG}" class="thumbLink" style="margin-right:10px;margin-left:5px;" alt="{previous.TITLE_IMG}"/>

by:
<img src="{previous.IMG}" class="thumbLink"  OnLoad="if (this.width > 150) {this.width=150}" style="margin-right:10px;margin-left:5px;" alt="{previous.TITLE_IMG}"/>

where 150 is the new size (which you can choose).

Do the same for next.IMG

Also, you should download the last version of the template from my website. It works better. Look at the INSTALL file, It changed also.

Last edited by jillij (2005-10-27 00:54:55)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact