Modifying the news block
Posted: 13. July 2010 12:56
Hello, I want to change the layout of the extended news block to look like this.
I figure that a post like this
I could just add two variables, say $left_topic_data and $right_topic_data.
I could then put in a while statement to make $left_topic_data= the topic until the data = the [/img] then $right_topic_data = topic and display the results using these variables.
Is this a good way to do it and how do I implement the changes.
Thanks
I figure that a post like this
Code: Select all
[img]http://www.lovereading.co.uk/books/covers/imported/9780575095526.jpg[/img]
[b]By Midnight: A Ravenwood Mystery[/b]
July 2010 Debut of the Month.
Welcome to a stunning debut and a rollercoaster emotional ride of anger, mystery, fear and romance. This is a spooky, London-based debut Young Adult novel that cleverly intertwines Highgate cemetery, still haunted from sightings of vampires back in the 1960s and Ravenwood, an exclusive Highgate School where vampires just might lurk in the shadows. It’s a must-read vampire story that puts the world of Edward and Bella in the shade. Why not also take a peek at the other Gollancz Young Adult titles that have helped to launch this fierce and feisty new imprint.
I could just add two variables, say $left_topic_data and $right_topic_data.
I could then put in a while statement to make $left_topic_data= the topic until the data = the [/img] then $right_topic_data = topic and display the results using these variables.
Is this a good way to do it and how do I implement the changes.
Thanks