Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 03-29-2005, 01:14 PM
Ray Offline
forum loafer
 
Join Date: Mar 2005
Posts: 3
Send a message via AIM to Ray
Plain blog index page

Maybe someone has done this already. If so point me in the right direction please, I'm new here.
I'm developing a couple of photo blogs for clients and I really want them to have a plain front page. In other words the index page is always the same, no thumbs, no latest picture etc. Just the category links, calendar etc. to link into the blog itself.
A bit like this
http://www.trojanpony.com/picturepost
Obviously I want to category list etc. to update automatically along with the rest of the blog.
TIA
Reply With Quote
  #2  
Old 03-29-2005, 01:33 PM
Connie
Guest
 
Posts: n/a
Ray,

it's up to you which elements you use in the image-template.html
so you decide what you want to show

a list of all tags is listed in the FAQ for example

does this help you?

Connie
Reply With Quote
  #3  
Old 03-29-2005, 03:02 PM
Ray Offline
forum loafer
 
Join Date: Mar 2005
Posts: 3
Send a message via AIM to Ray
Quote:
Originally Posted by Connie
Ray,

it's up to you which elements you use in the image-template.html
so you decide what you want to show

a list of all tags is listed in the FAQ for example
Yes I understand that, but the image-template affects the layout of all pages. I just want one page, the blog index page, to be unique.
Or am I missing something obvious here :-)
Reply With Quote
  #4  
Old 03-29-2005, 03:13 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
your missing something
edit template-image.html and it will change the main page layout. In v1.3 other pages are browse page and comment page and if you modified it to accept about page, there is and about page. each of them has a seperate template but the main template is always template-image.html.

(in v1.4 you can have any template page )
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #5  
Old 03-29-2005, 03:16 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
I see that example and I found out that it has a seperate page other than template-image.html. you can do this in the same manner you create an about page. you can search forum to get the idea.

or wait for V1.4 BETA release which will be there soon.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #6  
Old 03-29-2005, 03:45 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Quote:
Originally Posted by raminia
I see that example and I found out that it has a seperate page other than template-image.html. you can do this in the same manner you create an about page. you can search forum to get the idea.

or wait for V1.4 BETA release which will be there soon.
V1.4 sounds interesting. I take on board everything you say and I have no problems creating an about page and template. But how do I make that the index page? The first page anyone sees when they access the blog. I want that page to be static. I don't want it displaying the last image uploaded or thumbs. Just whatever I want including the categories, which update automatically.

Maybe I'm still confused.
Reply With Quote
  #7  
Old 03-29-2005, 07:57 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
at the end decide: Dynamic or static?
if you want to have a index page other than pixelpost index.php file you can assing an index page to the page e.g. mypage.html in the control panel of your hosting service (e.g. cpanel) and omit the index.php from being index page then you'll have it.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #8  
Old 03-29-2005, 08:30 PM
Rob Offline
pixelpost guru
 
Join Date: Mar 2005
Location: Burlington, Canada
Posts: 342
Send a message via ICQ to Rob Send a message via MSN to Rob
There is a switch statement at the top of index.php that loads image_template.html by default. You may want to add your own home_template.html and have the switch statement load that page by default instead and only load image_template.html for viewing images. You may also have to modify some of the if( $_GET['x]=='' ) statements.

At any rate, you will probably have to do some PHP coding to get it to work the way you want it to since Pixelpost is designed to show a photo on the main page.
__________________
shifted*exposure powered by PixelPost 1.4
Reply With Quote
  #9  
Old 03-30-2005, 04:48 AM
Ray Offline
forum loafer
 
Join Date: Mar 2005
Posts: 3
Send a message via AIM to Ray
Showing a photo isn't really a problem, and I've already looked at those switches but haven't had time to investigate further. I'm not a php guru.
Putting these things into words is difficult but put simply what I'm looking for is the ability to control which template is used for the index page and which template is used for all subsequent pages displaying images and thumbs.

I'll wait and see what the next version has before going further, unless anyone has the answer already.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:45 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs