Search found 557 matches

Search found 557 matches

Re: [REFUSED] help with a url redirect issue (Journal Theme)

@JNeuhoff, ok, it looks like you were right about it being journal THIS TIME. I turned off the SEO and the problem is still there. I guess I have to figure out a different way to go about this. Thanks anyway. @nonnedelectari, what do you mean? I need to check if something is set, or I need to check ...

Jump to post
  • Sat Sep 28, 2024 11:25 pm
  • Replies 5
  • Views 406
[REFUSED] help with a url redirect issue (Journal Theme)

I have my site set to seo url. I have the following code set to pickup and redirect to the same page if there is an error: $this->response->redirect('http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]'); but in the resulting url it comes out as https://website.com/index.php?route=api/journal3/form&...

Jump to post
  • Sat Sep 28, 2024 9:53 am
  • Replies 5
  • Views 406
Re: help admin login problem

Found the issue. I coded something last night that I didn't realize I coded it on the admin login, I thought I only did it on the front end login. Either way, it was working, I guess the cache didn't reset when I was testing it out so it worked fine up until now. I also forgot I could just go lookin...

Jump to post
  • Thu Sep 12, 2024 5:38 am
  • Replies 3
  • Views 745
help admin login problem

I was in the admin this morning. I made absolutely no edits to any files, no changes, no saves. Three hours later I come back and I am unable to login to my admin. The login goes through, but it's a blank page. Nothing on the source of the admin login. Same results on different browsers and phone. A...

Jump to post
  • Thu Sep 12, 2024 2:40 am
  • Replies 3
  • Views 745
Re: Problem with custom library.

I reordered the "registry->get" list and so far I don't see any errors, hopefully that fixed it. Thanks.

Jump to post
  • Wed Sep 11, 2024 10:29 pm
  • Replies 9
  • Views 1230
Re: Extension question

Yeah, looks like I have to make my own. I already hijacked the barcode inputs for other things, so I have to make something else. Thanks.

Jump to post
  • Wed Sep 11, 2024 10:25 pm
  • Replies 3
  • Views 1184
Re: shipping estimator expanded by default

no that's javascript, you put that in the twig file and put <script></script> around it, or imbed it in another script tag. I think you put it in "catalog/view/theme/default/template/checkout/checkout.twig", at worst case in the footer or header twig in a $(document).ready() code snippet.

Jump to post
  • Wed Sep 11, 2024 10:08 pm
  • Replies 11
  • Views 2014
Extension question

I'm looking for a simple extension that I can input data on a product that will not show up on the front end, but will show up on the order of the product when the sale is complete. Anybody come across something like that before I have to go and make it? Thanks.

Jump to post
  • Sat Sep 07, 2024 12:11 am
  • Replies 3
  • Views 1184
Re: Problem with custom library.

Do you mean the customer registry has to be executed before my library is executed in that startup file? If that's the case, that is what is happening. My library is actually executed at the very end of the file.

Jump to post
  • Fri Sep 06, 2024 11:34 pm
  • Replies 9
  • Views 1230
Re: Problem with custom library.

OK the previous issue is resolved. Now the next issue, I'm trying to get customer info, but what I'm trying doesn't seem to be working. private $customer; public function __construct($registry) { $this->registry = $registry; ========I tried one of the following============== $this->customer = $regis...

Jump to post
  • Thu Sep 05, 2024 3:08 am
  • Replies 9
  • Views 1230
Re: Problem with custom library.

I'm barely understanding (just learning about libraries). I already have a constructor in my library...but I guess it is clear that I am missing something (I don't see a model file to put in the get parameter): public function __construct($registry) { $this->config = $registry->get('config'); $this-...

Jump to post
  • Sat Aug 31, 2024 1:35 am
  • Replies 9
  • Views 1230
[SOLVED] Problem with custom library.

I'm getting the following php error: PHP Fatal error: Uncaught Error: Call to a member function model() on null in............. Library file is located: system\library\library_file.php The call is: $this->load->model('extension/common/model_file'); I have the library file calling a model function, I...

Jump to post
  • Fri Aug 30, 2024 10:26 pm
  • Replies 9
  • Views 1230
Re: language in the controllers

Works perfectly, thanks.

Jump to post
  • Fri Aug 30, 2024 9:51 pm
  • Replies 7
  • Views 537
Re: language in the controllers

lol, I see how that looks. In that example "function" was actually meant to be the name of the function, then I'm so used to putting public whenever I see the word function with OC I just threw in the "public" not thinking how it looked. But no, I wont be calling the function wit...

Jump to post
  • Fri Aug 30, 2024 12:48 am
  • Replies 7
  • Views 537
Re: language in the controllers

OK, if I'm understanding what you're saying here, in the controller I would do

Code: Select all

$this->load->language('language.');
$something = $this->language->get('text_something');

public function ($something ) {
-----------
}
I'll try it as soon as I get a chance. Thanks.

Jump to post
  • Thu Aug 29, 2024 7:50 pm
  • Replies 7
  • Views 537
Re: language in the controllers

No, that's how I get the text to the twig (or maybe I'm just not seeing what you're doing). I'm saying I want to use the same text in the controller for a parameter. Ex: function({{ something }}); The parameter is the same as the text on the front end, so I was wondering if I could use the same lang...

Jump to post
  • Thu Aug 29, 2024 4:59 am
  • Replies 7
  • Views 537
[SOLVED] language in the controllers

Is it possible to get the values of the language file into the controller instead of writing text? Ex, in the controller for a parameter value put {{ something }} so it matches up with something that's in the twig and stays consistent in case I change it. How?

Jump to post
  • Thu Aug 29, 2024 12:00 am
  • Replies 7
  • Views 537
Re: If they insist to use Journal

I have journal with a bunch of extensions and modifications and my site speed and stats is nearly as fast as the bare default OC. The fact that you can't switch back to the default OC is proof that way more happened than simply installing Journal to cause all the other issues.

Jump to post
  • Fri Aug 23, 2024 11:12 pm
  • Replies 6
  • Views 849
Re: Error

Thanks all. Coding was the issue...I thought it was a hack because this code has been running for 3 months and this is the first time this issue popped up. It looks like a string with an apostrophe was a part of the variable this time around. At least I'm assuming that is the reason because I can't ...

Jump to post
  • Thu Aug 22, 2024 1:59 am
  • Replies 9
  • Views 1148
[SOLVED] Error

I saw the following OC error log. I believe it is from a hack attempt. I see it popped up twice. Any idea how to prevent this? PHP Warning: mysqli::query(): (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to us...

Jump to post
  • Wed Aug 21, 2024 10:32 am
  • Replies 9
  • Views 1148

Search found 557 matches