PDA

View Full Version : Custom front/start page?


precar
09-04-2008, 10:19 PM
Right now I'm running the Multiphoto add-on with the EntryPage addon to set my startpage. So far so good.

What I would like: A simplified version of the image_template.html, set in my current theme (Pixelfy) that serves as the opening page, with the image being the link to the Multiphoto page.

I stripped the image_template file of all the stuff I didn't want and renamed it start_template.html. It looks like this:

<body>
<div id="container">
<div id="menu">
<a title="Home" id="logo" href="<SITE_URL>"><img src="<SITE_URL>templates/pixelfy/images/logo.png" alt="Home" /></a>
</div>

<div id="display">

<div id="imageWrap">
<center><img id="image" src="images/{image filename here}" alt="<IMAGE_TITLE>" title="<IMAGE_TITLE>" width="<IMAGE_WIDTH>px" height="<IMAGE_HEIGHT>px" class="photo" />
</center></div>
</div>

<div class="devider"></div>
<div id="footer">&copy; <a title="<SITE_TITLE>" href="<SITE_URL>"><SITE_TITLE></a> &bull; Powered by <a href="http://www.pixelpost.org/">PixelPost</a> &bull; Theme <a title="Photo Blog Theme" href="http://www.pixelfy.com/">Pixelfy</a></div>

</div>

</body>
</html>

The problem is, when I go to the page (index.php?x=start), everything shows but the image! I know outside pages can't access template tags without addons (so says the documentation), but even if I put the fixed location of an image file nothing shows up.

Can anyone tell me how I might be able to fix this? I searched the forums but didn't find anything that could help me.


Thanks.

(Sorry for the long post, but I wanted to make sure I didn't leave out any info.)

precar
09-08-2008, 04:59 PM
I was able to achieve the desired result (My photoblog (http://pk.pranshuarya.com)) by simply modifying the wonderful Multiphoto addon to display one photo.

Then, using the Entrypage addon, I referenced a custom start page with just the basic elements I wanted, in which I inserted the <MULTIPHOTO> tag where I wanted the photo to appear.

It's great when plugins are so easily adaptable to individual purposes. I don't know anything about design or coding, but I think that's a sign of good design and coding on the programmer's part.


Thanks!