Search found 7 matches

Page 1 of 1

Search found 7 matches

Re: OpenCart v1.2.9

and there must be a json.php file under \upload\system\helper\ directory, but there isnt on v1.2.9 I changed the directory int he latest version. why whats not working? while i try to upload an image, under admin/controller/catalog/image.php on line 25 $this->load->helper('json'); is trying to find...

Jump to post
  • Wed Jun 24, 2009 5:17 am
  • Replies 62
  • Views 34269
Re: OpenCart v1.2.9

and there must be a json.php file under \upload\system\helper\ directory, but there isnt on v1.2.9

Jump to post
  • Wed Jun 24, 2009 1:09 am
  • Replies 62
  • Views 34269
Re: OpenCart v1.2.9

But it s not working if opencart is installed on sub-directory. The system is ignoring sub-directory, and genereting urls like http://rootdir/keyword I think upload/catalog/model/tool/seo_url.php on line 48, instead of return $url_data['scheme'] . '://' . $url_data['host'] . '/' . trim($seo_url_que...

Jump to post
  • Tue Jun 23, 2009 9:54 pm
  • Replies 62
  • Views 34269
Re: OpenCart v1.2.9

dbassa wrote:Seo urls working fine!!!! It didn't work before because I didn't put entry_keyword.
But it s not working if opencart is installed on sub-directory.
The system is ignoring sub-directory, and genereting urls like
http://rootdir/keyword

Jump to post
  • Tue Jun 23, 2009 7:34 pm
  • Replies 62
  • Views 34269
Re: how can i declare new variable?

Yeah, make another global variable in the config.php file - call it anything you like. thanks again, and of course that works. But i want to change image path according to selected language. I mean, i need to declare an image path variable that is global for all template files, and i i need to decl...

Jump to post
  • Fri Jun 19, 2009 6:50 am
  • Replies 8
  • Views 6656
Re: how can i declare new variable?

you can use <img src="<?php echo DIR_TEMPLATE; ?>default/image/logo.png" width="343" height="100" alt="logo" /> thanks for the reply. But what if i want to declare as image path diffrent than DIR_TEMPLATE . I mean is there a way to declare a global template v...

Jump to post
  • Fri Jun 19, 2009 1:12 am
  • Replies 8
  • Views 6656
how can i declare new variable?

I want to use a variable for my image path. And that variable will be called from whereever an image exists; layout.tpl, header.tpl, footer.tpl and home.tpl so where and how can i declare something like this: $this->data['img_path'] = 'catalog/view/theme/default/images/'; so i can load images in tem...

Jump to post
  • Fri Jun 19, 2009 12:23 am
  • Replies 8
  • Views 6656

Page 1 of 1

Search found 7 matches