Search found 7 matches

Page 1 of 1

Search found 7 matches

Re: How to pass a variable to another controller's view?

Meanwhile we have made an extended version, which provides: - Sharing of each Product with it's corresponding Image, Title and Description - Site Global Image, Title and Description It can be downloaded here: http://www.opencart.com/index.php?route=extension/extension/info&extension_id=6015&path=21&...

Jump to post
  • Tue Apr 17, 2012 4:52 pm
  • Replies 8
  • Views 5076
Re: How to pass a variable to another controller's view?

There were missing the obligatory <modification>, etc. fields.
I've corrected the code, you can try it now :-)

Jump to post
  • Fri Mar 30, 2012 9:40 pm
  • Replies 8
  • Views 5076
Re: How to pass a variable to another controller's view?

Thanks Jeremy, I've made a vqmod and everything went fine. The code is below. <modification> <id>Facebook og:image fix</id> <version>1.0</version> <vqmver>1.0.8</vqmver> <author>www.bewebdesign.be</author> <file name="catalog/controller/common/header.php"> <operation> <search position="after"><![CDA...

Jump to post
  • Wed Mar 21, 2012 4:01 pm
  • Replies 8
  • Views 5076
Re: How to pass a variable to another controller's view?

Jeremy Fisk wrote:it sure is... but i always grab it in the other controller as well
You mean to get the current product's data in common/header.php again? It's possible, of course, but I wonder if there is a more ellegant way to do it ....

Jump to post
  • Wed Mar 14, 2012 4:53 pm
  • Replies 8
  • Views 5076
How to pass a variable to another controller's view?

Hello, I'm trying to integrate a facebook like button on every product/product page. In order to specify the image shown on facebook I should pass a meta tag <meta property="og:image" content="current-product-thumb.jpg" /> from controller/product/product.php to the <head> section of common/header.tp...

Jump to post
  • Tue Mar 13, 2012 9:02 pm
  • Replies 8
  • Views 5076
How to move Cart to right_column.tpl

Hi, I'm trying to move the cart to the right column. I've moved the following code from header.tpl to column_right.tpl <div id="cart"> <div class="heading"> <h4><?php echo $text_cart; ?></h4> <a><span id="cart_total"><?php echo $text_items; ?></span></a></div> <div class="content"></div> </div> ... ...

Jump to post
  • Thu Dec 08, 2011 8:50 pm
  • Replies 3
  • Views 888

Page 1 of 1

Search found 7 matches