Layout Help

6 posts by 2 authors in: Forums > CMS Builder
Last Post: July 3, 2009   (RSS)

By KCMedia - June 29, 2009

Hi

I have this section on a home page of the website i am designing and i want to have it so that it will show 1st picture of random products everytime the page is refreshed the link is http://www.srotechnology.com/index.php down the bottom you will see 3 images this is where i want them to show up.

How can i do this so that just the first image and the name of the product will show up when the page is loaded.

I dont care what section the product is from but i can only show the first image and if the product dosnt have an image then it wont show that product.

thanks

craig
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] Layout Help

By ross - June 29, 2009

Hi Craig

Thanks for posting!

There's a little bit of code you can add to your page that will make just one image appear. What you'll want to do first is just setup a default viewer page (copy all the code from your code generator and put it in a page called test.php). Once you have that page setup, post a copy of it for me and I'll show you where to put that bit of code.

From there, you can start copying it all into your actual template.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Layout Help

By KCMedia - June 29, 2009

Hi Ross

Here is the file for you that you asked for.

One thing is i want to be able to show the image side by side not below each other how do you that with the system.

I want to also do that with some other sites that i am building also.
Thanks



Craig

KC Media Solutions

www.kcmedia.biz
Attachments:

test_002.php 4K

Re: [ross] Layout Help

By KCMedia - June 30, 2009

Hi Ross

thanks for that worked great but am still having a little problem

With that the 3 images for random products show up but under each other how can i make it so they go side by side and not below each other.

cheers

Craig
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] Layout Help

By ross - July 3, 2009

Hi Craig.

Glad to hear things are moving along.

Getting the images appearing side by side is going to be more of a design thing than anything else. What I suggest is making a quick mockup of your page using plain HTML. That way, you'll have complete control over how it appears. Just hardcode the links to some images in there so you see what's going on. Once you have the mockup working exactly how you like, it will be much easier to work it into your template.

Basically though, I think you'll need to have all the images appear in a single table. Each image will be in its own table cell but they will all be in the same row.

Keep me up to date with how you are making out :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/