PDA

View Full Version : Things on the outside..


richardyoung
8th of July 2003 (Tue), 23:53
What if I wanted to have like a mini list outsite of the ee install..

example:

I installed ee in

/pictures/list.php
/pictures/photo.php
/pictures/ .....

well what If I want to have a mini list of the last 5 galleries add in a location like

/updates/list-mini.php

could I do that?

Pekka
9th of July 2003 (Wed), 04:56
Here's a simplified code for listing last five (or whatever amount you want) latest exhibitions with links to them.

IMPORTANT: Copy toroot.php to same folder as this code and change contents for toroot.php point (relatively) to gallery root.

cut-----------------




list













cut-------------------

richardyoung
9th of July 2003 (Wed), 23:21
Please.. let me be a beta tester..

-----------------------------------------------

anyways thanks for the code.. ( can not get rid of the smile dude)

had a couple of problems..

line 15 and line 21

Thanks, that's what you get when you don't test and just post :) I added the corrections to above code.

Now.. i am looking at added the top 2 or 3 microthumbs..

is this easy or kinda hard?

Everything can be done. Can you make a rude drawing or illustration of what your goal is so that I can see what is needed?

richardyoung
10th of July 2003 (Thu), 09:01
this kinda works also..

I was messing around last night.

I created a custom

/indexstyle/custom.php
and
fetchsetting.php ( just to manually over ride some of the setting)

then I cp the index.php to /outside follow..

it works.. but I just have to play with the .htaccess file to unprotect a couple of things.

what file ( or var) control text color and link color?

http://www.702daisy.com/preview/index.php

richardyoung
16th of July 2003 (Wed), 02:29
links..


Pekka,

i am so close, I did a lot of work on my own, include some of things I post but a lot more out side stuff..

I am having a hard time finding what coupld the a href for the follow page.

http://www.702daisy.com/preview/index.php

see ee wants to send it to the larger image size.. and I want to just manual redirect them

richardyoung
17th of July 2003 (Thu), 11:43
I know.. that it is in these few lines of code

print "";
print $goodlink;
print " ";
}
}
return;


if you go to the page you will see that it is adding an extra " and I don't know how to get rid of it..

Pekka
17th of July 2003 (Thu), 12:16
What about

print "";
print $goodlink;
print " ";

BTW, I just added something called "exhibition groups" to EE 1.5 beta, it is in this initial stage one level group system

My photos
--- cats
--- dogs
--- grannies
Sister's photos
--- puppy
--- piggy
--- mommy

etc. which may be helpful in galleries size of your site. Later it is possible to add more levels to the system if needed.

richardyoung
17th of July 2003 (Thu), 16:10
when I try that all i get is the links..

no pictures..
...................................

I am 99% sure it is something in this line

// print "" " . "" TITLE="" . "">";


never mind.. I got it...

this has taken 3 days to do...




print "";
print " " . "" TITLE="" . ">";
print $goodlink;
print " ";
// print $urli;
// print "&exhibition=" . $exhibition;


the key line is

print " " . "" TITLE="" . ">";

richardyoung
17th of July 2003 (Thu), 16:17
Why did I spend so much time on this little function..

just think about it..

on the main page of www.photography-on-the.net

* you can display the new 20 pictures, when they click on it they go to the gallery

* on a site like mind ( non-nude fashion) it gives people a rare chance to see what is inside before joining.

just think about it.. the options are endless..

Also Pekka

check this out..
this was done in php..