Forum Support

Shape 5
March 29, 2024, 02:13:02 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Replace the s5box_one Module  (Read 358 times)
C1oudMedia
Jr. Member
**
Offline Offline

Posts: 10



« on: May 10, 2014, 06:26:03 PM »

Hi,

i need some quick assistance if possible
i need to publish a static image in module position s5box_one instead of the cart icon and pop up function - i need the image to be larger than the cart image aswell

i couldn't think of anything so i have tried adding a new module position next to it - followed instructions on youtube and just cannot get it to work - can't think of a different way to do it

any ideas

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: May 12, 2014, 05:16:27 PM »

Hello,

Just to clarify you want an image in the template up near the cart icon?  So no popup box and cart icon completely gone?  If so just do the following:

Open up the index.php file and look for the below:

Code:

<?php if ($s5_box_one_cart == "yes") { ?>
<div id="s5_cartbutton" class="s5box_one"></div>
<?php ?>


Replace it with:

Code:
<?php if($s5_pos_custom_3 == "published") { ?>
<div style="float:right;width:300px;">
<?php  s5_module_call('custom_3','notitle'); ?>
</div>
<?php ?>

Then just publish your image to the custom_3 module position.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.