PDA

View Full Version : Plain blog index page


Ray
03-29-2005, 01:14 PM
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

Connie
03-29-2005, 01:33 PM
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

Ray
03-29-2005, 03:02 PM
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 :-)

raminia
03-29-2005, 03:13 PM
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;) )

raminia
03-29-2005, 03:16 PM
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.

Anonymous
03-29-2005, 03:45 PM
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.

raminia
03-29-2005, 07:57 PM
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.

Rob
03-29-2005, 08:30 PM
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.

Ray
03-30-2005, 04:48 AM
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.