| Topic: | Customizing Photoshare |
|---|---|
|
Converted
12 Posts: 0 Posted: |
Hello! Let me start by saying that Photoshare is a great module-- its clean layout and ability to run in safe_mode are the two most important factors in my decision to use it. I installed it without any problems. However, now I'd like to customize its appearance to meet my needs. When I update the photoshare.css in modules/photoshare/docs, nothing is happening. It's as though the css theme for my postnuke skin is taking over some parts... or I might not be editing the correct Photoshare css file. Here are my questions: 1. How can I change the basic appearance of all Photoshare pages (gallery index, thumbnails view, full view)? 2. Is there a way to change the number of thumbnails displayed in the row on the thumbnails page? I seem to remember doing this on my previous install, but can't find the option now. Please forgive me if these are basic, common questions that have been asked in the past... I did a search in your forum and read the enclosed text files, but I am still confused on how to go about customizing Photoshare's appearance! Thanks so much for your time. |
|
Converted
12 Posts: 0 Posted: |
Sorry about the .css file - it should not be there at all since it is misleading. You should copy "photoshare/themes/photoshare" into "photoshare/themes/YOUR_THEME_NAME" and then modify the .css files there. That fixed the main view of Photoshare. Next you should do the same with all the other "photoshare/.../themes/photoshare" in the "lists" and "templates" directories. The stylesheets here are independent of each other and user must be able to install them without out the others - that's why there are so many of them (one for each album list template or album view template). The number of images in the thumbnails view can be hacked in "photoshare/templates/thumbnails/template.php line 56. |
|
Converted
12 Posts: 0 Posted: |
Aha! Thank you; it makes a lot more sense now. I look forward to putting this information to good use soon!QuoteThe number of images in the thumbnails view can be hacked in "photoshare/templates/thumbnails/template.php line 56. I knew I had changed it somehow! Best of luck to you with Photoshare and all your future endeavors; I'll be sure to link back to you once my site is up. |
|
Converted
12 Posts: 0 Posted: |
Hi, I know it's an old post but I wanted to know how can I hack the number of thunbnails in Photoshare 4.2 (It musn't be the line 56 of template.php, I guess) Thanks Xavi |
|
Converted
12 Posts: 0 Posted: |
xpascualHi, I know it's an old post but I wanted to know how can I hack the number of thunbnails in Photoshare 4.2 (It musn't be the line 56 of template.php, I guess) 1. to change the number of columns: look for the following line: Code$columnNumber = 5;and change the value "5" 2. to change the number of thumbnails: look for the file: "common.php" in photoshare root and change line 22: Codedefine('photosharePageSize', 10);greetz cyco edited by: cyco, Nov 22, 2005 - 07:09 AM |
|
Converted
12 Posts: 0 Posted: |
That's great, but it doesn't solve the problem with number of albums thumbnails in main photoshare page. So Imagine having your users create a 100 or more albums: thumbnails for all of those albums ever created will be displayed. It takes me 30 seconds to load main photoshare page, half of the thumbnails don't even load because it is such a heavy burden on the CPU. Has anyone figured out a way to do paging [1 2 3 4 5 6 ...56] with the main page in photoshare? Or could anyone point me in a direction of how to do it? Any help would be greatly appreciated. |