View Full Version : new index
evergreenpics
12-12-2007, 11:40 AM
I'm in trouble with my template
i would like to have my own handmade index before the template's index
i named INDEX2 the template's index and i changed all of the links in the 3 template's pages.
in my gallery I have my thumbnails but the link to the big pictures doesn't work. where can I find the pages to change these links???
thanks and sorry for my english i'm italian!
dhdesign
12-12-2007, 11:51 AM
Open functions_browse.php and change the code where index.php is called there. I think it's in there 3 times.
If you are using the paged archive addon, you'll need to change it in that as well.
There are a few other addons where it's called, but since I can't see your site, I'm not sure which ones you are using.
fredxeric
12-12-2007, 05:53 PM
Instead of putting all the pixelpost at the root of your directory on the serveur create a sub-folder and name it what you want the create an index at the root to point to this url
http://www.yourdomainname.com/main_index
http://www.yourdomainname.com/pixelpost/pixelpost_index
Voila
dakwegmo
12-12-2007, 06:38 PM
One more way to do it...
If you're running your own web server, you can modify the Apache configuration for DirectoryIndex, to use your_file.php before index.php. You can also do the same thing with .htaccess files. You can create whatever file name you want as an index document and set it to load before index.php. So when people come to your site, your handmade index loads, then you link to the index.php file to load pixelpost.
kevincrafts
12-13-2007, 12:32 AM
Most web servers have a order that they will display pages. For instance, if you put in an index.html file, visitors to your site will see that page before the index.php page. You just have to be sure that all your links in your pixelpost install go to index.php and not just something like ?x=browse or something like that.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.