Jump to content

Problems with "Featured Products on the homepage v0.9" plz help


Recommended Posts

Hi Guys

I really apologize i understand you guys must receive a thousand simples questions a day, i'm really sorry i'm a novice and reaslly excited about getting my online store up and running :)
but i really need some help

I'm trying to adjust a template which i bought on the presta online store for my shop

Basically i need both a left and Right hand column to but blocks in.. the current template has only a left hand column

for some reason though when i allocate a block to the right hand column and remove all the homepage content inner blocks
nothing appears on the right hand side of the site? what am i doing wrong ? as far as i can see there isn't anything ocupying the center.. what do i need to do to reinstate the right hand column?

Also i'm trying to use "Featured Products on the homepage v0.9" on the center of the home page to list 9 products..
at the moment since i dont have a right hand column four fit on the page.. but if i specify more than 4 profucts in the configure dialog box (like 8 for eg), they dont cascade underneath.. instead it just stay at four.. i'm hoping to have 3 rows of 3, and a right hand column for some advertising and other blocks.. i've seen this plug in on other sites and i know you can cascade products, i just dont know how to get it to automatically cascade underneath

Please could someone share a little advice with me? i'd be really grateful

i've attached a picture to show you what i mean

Thanks so much

Mike

37589_SMLyuN3otBUWQfQbYAHj_t

37590_VV5EF3gqHhpxq7AkkUgx_t

37592_n1VmlaidaOkx5gfkTJeT_t

Link to comment
Share on other sites

About the featured stuff, might be it is hardcoded somewhere.
Check this areas.
in homefeatured.tpl in modules/homefeatured,

{if $smarty.foreach.homeFeaturedProducts.index < 5}

Here I have hardcoded 5, I currently do not have the original code so cant say what should be there in place of 5. In case it is hardcoded, make it 9.
If the css is perfect, it should get cascaded properly or else you need to tweak it.

Check this out and let know. Hope this helps.

Link to comment
Share on other sites

And it seems that blocks which you are trying to use on the right are not supporting it. Might be the block is meant for left ones only.

Suppose there is a block, open its php file

You will find some codes in the bottom of it like below:

public function hookLeftColumn($params)
{
return $this->display(__FILE__, 'blockcart.tpl');
}

public function hookRighColumn($params)
{
return $this->hookLeftColumn($params);
}

Here the block is meant for left hand side which can be transplanted to right hand side through modules->positions->Add a transplant

So in case the block which you are trying to add to right hand side doesnt have this second function, just add it in the bottom. I hope that will work.

I am also a newbie, so cant guarantee I am right :( ...just try out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...