You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi,
I have a Typepad blog. I want to have the title of the current post, and a box full of text showing on the splash page only of wwwmakesachange.co.uk. I would like this box to be underneath the current new spring range box and above recently visited pages. The text should auto-fill the box until it's full then have a link to the blog so the full article can be read.
Everytime I try to create a new box I break my splash page - can I start with anyone telling me how to do that?
Secondly, I then need to add in a feed from the blog. Anyone got any experience of feedburner or similar for this?
Thank you very much in advance :-)
Emma
Splash page current code:
<?php /* PHP FUNCTION */ /* REQUIRED: Skin startup */ $skinfunc =& $this->include_skinfunc('KHXC_SkinFunc'); extract($skinfunc->startup()); ?> <?php $app = $this->globals('khxc.app'); $eol = $this->globals('khxc.eol'); $link_contact = $this->link_namespace($app,'contact',array()); $link_cfform = $this->link_namespace($app,'dynform',array('ref' => 'feedback')); ?> <table id="skin_splash"> <tr> <td id="skin_splash_prod"> <?php $this->include_namespace($app,catlist,array()); $this->include_namespace($app,'prodfeature',array()); ?> </td> <td id="skin_splash_rc"> <div id="skin_pgtitle"> <p class="inline">Gorgeously Summery Organic Cotton, Fair Trade Baby Clothes to fit Washable Nappies</p> </div> <a href="http://www.makesachange.co.uk/gbu0-catshow/organic_baby_clothes.html" title="Organic Cotton Baby Clothes"><img src="skins/zipskin_khxc009/media/newproducts.jpg" width="170" height="227" alt="Organic Cotton Baby Clothes" /></a> <?php /* PHP FUNCTION */ /* Include the frontend menus namespace. Pass RIGHT */ /* as the menu id here. */ $skinfunc->namespace($app_id,'femenus','RIGHT'); ?> </td> </tr> </table>
Offline
What have you tried Emma? It helps us to know what you've tried since we don't know what may need to be done to a) get the title of the blog post or b) the contents that you want to display.
Offline
Hi Dave,
I started with trying to create the box. Clearly a good place to start, but sadly not one which worked. Everything I did just broke the page.
Other than that I've not progressed at all on the blog thing. I just don't know where to start.
Emma
Offline
Please show us what you tried for the box Emma. Baby steps
FWIW there really isn't such a thing as a "box" per se in the web world. It sounds like perhaps you want a div with a border which will end up looking like a box.
Based on your original post I'm going to make a guess that you want this below the link to Organic Cotton Baby Clothes.
<a href="http://www.makesachange.co.uk/gbu0-catshow/organic_baby_clothes.html" title="Organic Cotton Baby Clothes"><img src="skins/zipskin_khxc009/media/newproducts.jpg" width="170" height="227" alt="Organic Cotton Baby Clothes" /></a> <div style="border: 1px solid #00F">This is a small div with a green border.<p />With a paragraph to give it a little height.</div> <?php /* PHP FUNCTION */ /* Include the frontend menus namespace. Pass RIGHT */ /* as the menu id here. */ $skinfunc->namespace($app_id,'femenus','RIGHT'); ?>
The div I added above should result in a "box" with a 1 pixel wide green border right above the right hand menus.
Going forward with the blog contents and text though you're looking at a rather serious modification that is really beyond the scope of the fora. If the blog is on your domain and has a database associated with it (most likely) you're looking at coding to retrieve information from the database to find the latest post and pull some or all of the post contents and the creation of a link to the post.
Offline