Hello guys!
I need to add a new static block between Popular Tags, and Most Reviews left blocs
the statick block should show an image and once click, should open a fixed window for chat..
here is a pic of what I need.
thanks to all and regards.
2 answers
Hi rcerrato,
For example you have a static block whose identifier is position15 and now you want to put that block at the mentioned place you could try as following
Open the file of app\design\frontend\default\jm_asenti\layout\catal og.xml you look for this defined
HTML Code:
<reference name="right"> <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"> <action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action> <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (084) 912-939-475.</alt></action> <action method="setLinkUrl"><url>checkout/cart</url></action> </block> </reference>
Change it to
HTML Code:
<reference name="right"> <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"> <action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action> <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (084) 912-939-475.</alt></action> <action method="setLinkUrl"><url>checkout/cart</url></action> </block> <block type="cms/block" name="position16" before="tags_popular"> <action method="setBlockId"><block_id>position16</block_id></action> </block> </reference>
I hope it helps !
Thanks very much…!
This is what I have done..
I created a new statick block called chat-01
into it I inserted an image, and assigned a hyperlink to the chat url.
then I created a new widget, of "CMS Static Block" type… and told to be shown on Left position on every page, on every store..
and that worked just the way I needed for now.
thanks very much for your sugestion, however, since Im not that good on html code… I just had to find a tricki way!
thanks once again!
rgds.
This question is now closed