Layout Help

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

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: [kcmedia] Layout Help

By ross - June 30, 2009

Hi

Thanks for posting that file!

The code you are looking for here is quite simple :). All you need is the following:

<?php break; ?>

It goes right before the endforeach that displays your images. Have a look at the new copy of your test page I attached and you'll see it (line 61 if your editor lets you search by line number).

Let me know how you make out from there. 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/
Attachments:

test_001.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/