PDA

View Full Version : Editing indexstyles???


Bundy
1st of November 2003 (Sat), 11:47
Pekka,

Welcome back. I hope Vienna was nice!

I'm trying to re-arrange the gallery index page by moving the news below the Welcome line and exhibitions list, however I'm not sure whether I need to change 1, 2, 3, 4, and 5.php. OR is there another file that I should be changing?

I was hoping to use the right column as the main navigation, just like we already have in our main site. It just happens that EE's layout is a flip flop of our main site's home page.

Main site - http://www.vancouverimageworks.com
Gallery - http://www.vancouverimageworks.com/gallery

Thanks,

Bundy

Pekka
1st of November 2003 (Sat), 13:40
Those files need some php knowledge to be edited (sorry), as they are not yet like list and photo pages which have simple templates in /pagetemplates -folder.

Which indexstyle file is in use and which does what depends on your choice in misc settings:

1. bordered columns, thumbs below
2. bordered columns, thumbs in the middle
3. plain columns, thumbs below
4. plain columns, thumbs in the middle
5. dropdown menu + selected choices

You should copy the one you like best as 6.php and add one line to settings.php after these lines

ee_option ("1",$s_indexpagestyle,"1. bordered columns, thumbs below");
ee_option ("2",$s_indexpagestyle,"2. bordered columns, thumbs in the middle");
ee_option ("3",$s_indexpagestyle,"3. plain columns, thumbs below");
ee_option ("4",$s_indexpagestyle,"4. plain columns, thumbs in the middle");
ee_option ("5",$s_indexpagestyle,"5. dropdown menu + selected choices");

So it becomes

ee_option ("1",$s_indexpagestyle,"1. bordered columns, thumbs below");
ee_option ("2",$s_indexpagestyle,"2. bordered columns, thumbs in the middle");
ee_option ("3",$s_indexpagestyle,"3. plain columns, thumbs below");
ee_option ("4",$s_indexpagestyle,"4. plain columns, thumbs in the middle");
ee_option ("5",$s_indexpagestyle,"5. dropdown menu + selected choices");
ee_option ("6",$s_indexpagestyle,"6. My own special indexstyle");

Save the settings.php and after you open misc settings, select your new choice 6 and save settings: it is in use.

How to edit it is another matter. Basically it is plain html with table data blocks. I may have time to do it if you let me know which indexstyle and how.

Bundy
3rd of November 2003 (Mon), 11:15
Pekka,

My ultimate goal would be the following:

In the main body area where the Welcome text and exhibitions are listed, I would prefer the exhibitions list to be stacked similar to your "D30 & G1 Galleries" (one on top of the other, not side by side), then have the news information list below the last exhibition.
--------------------------
Welcome
...

Exhibition 1
### (# indicate 3 random thumbs, not microthumbs)
exhibition text ...

Exhition 2
###
exhibition text ...

Latest News
new 1 ...
new 2 ...

EE credits ...
--------------------------
In the old news area on the right, I would like to place a table with some image links to match the left navigation of our main site at http://www.vancouverimageworks.com.

I hope that is enough information to help put together a new indexstyle. It would be great if you still had the time to look into it further.

Bundy