Jump to content

ajaxthemestudios

Members
  • Posts

    37
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Activity
    Web development agency

Recent Profile Visitors

1,307 profile views

ajaxthemestudios's Achievements

Newbie

Newbie (1/14)

9

Reputation

  1. Maybe you are not connected to the internet. I found out that I get this error when I am offline and working with prestashop on local server.
  2. Thanks for your response. Inserting those variables inside maintenance.tpl brings those errors. I have tested it, It seems it only accept global variables that generates shop information such as shop logo, shop name, etc. The ones for customers, orders or urls gives those errors. Thanks for the link. I will study it and see if it solves the problems.
  3. Hello I wanted to hook the social media follow module to the displayMaintenance hook but it came up with an error: ContextErrorException in Module.php line 2221: Notice: Trying to get property of non-object According to this documentation, this hook displays new elements on the maintenance page. Same thing happens when you try to use a global variable that contains {$urls} like {$urls.theme_assets} and {$urls.base_url} Is this a bug or am I doing anything wrong?
  4. I fixed it in another way by using below: <script type="text/javascript"> // <![CDATA[ // Translations var showmore = '{l s='Show all' d='Shop.Theme.Actions' js=1}'; var showless = '{l s='Show less' d='Shop.Theme.Actions' js=1}'; //]]> </script> And then $(function(){ $('.readmore').curtail({ limit: 150, ellipsis: '...', toggle: true, text: [(showless), (showmore)] }); });
  5. This code used to work in previous version if you want to add translatable string to JS file: {strip} {addJsDefL name=showmore}{l s='Show all' d='Shop.Theme.Actions' js=1}{/addJsDefL} {addJsDefL name=showless}{l s='Show less' d='Shop.Theme.Actions' js=1}{/addJsDefL} {/strip} It does not seem to be working now. I want to make the options under the "text" option below translatable. Anyone has an idea of how best to achieve this? The code above seem not be working as it brings error. $('.demo').curtail({ limit: 140, toggle: true, text: ['show less', 'show more'] });
  6. I have reported this issues before and and search the forum. This problem remains unresolved. If you are working in the module section of Prestashop backend on a local server and then you disconnect from the internet, accessing the modules section throws up an error page with the message - ConnectException in CurlFactory.php line 126: cURL error 6: Could not resolve host: api-addons.prestashop.com The module section will only start working again if you connect back to the internet. If you do not, it will continue to show error and you cannot do anything except you go to other pages on the backend. It seems Prestashop is trying to connect to api-addons.prestashop.com and then display an error if it cannot. This does not look right. The module area should not become inaccessible because you are not connected to the internet. I hope the developer do something about this because it is easy to miss.
  7. Hi, When I set _PS_MODE_DEV_ to true, some of my pages stop loading. Instead, they display a page error. When I set it back to "false", the page starts loading. Is this how Prestshop is supposed to work? These pages loads normally, but have problem when PS Mode DEV is on. Is this not supposed to be a way to see errors on pages that are not loading, not shutting down the ones that are working. Any help is appreciated.
  8. This is 2018 and it looks like this problem has not been fixed yet. This is basic. Prestashop should let us know if this is no longer possible to install through FTP rather than spending hours on this thinking the problem is with us.
  9. Hello I have Prestashop 1.7.2 installed on Xampp. I went off the internet and suddenly after got a 500 error message when trying to work on the installed module page. After enabling debug, the errors below came up. Strangely, when I connect the internet again, the page loads successfully but the problem returns the moment I go offline again. 1/2 ConnectException in CurlFactory.php line 126: cURL error 28: Resolving timed out after 5672 milliseconds 2/2 ConnectException in RequestException.php line 49: cURL error 28: Resolving timed out after 5672 milliseconds Please find attached the full screenshot. What could have caused this problem? Should internet connection be even needed for a page listing existing modules? Thanks
  10. I understand and many have argued from this perspective, but I think responsive themes are much more suitable for blog and content websites than medium and large eCommerce websites. I do not think most of the popular large online store like Amazon, Wallmart and other large websites, etc depends on responsive themes and I am sure they have their reasons for doing so. Please correct me if I am wrong.
  11. Hello everyone I remember that either in v 1.4 or 1.5 of PS, there used to be a mobile theme. In the current version, there is a "mobile" folder in the default theme but is mostly empty. Is there a way to build a mobile theme on 1.6 so that a responsive theme is not necessary. There are situations where a lighter theme reduced to the basic is more beneficial than a loaded responsive theme. I assume that big online shops like Amazon does not depend on a responsive theme. Any useful explanation or guide on this will helpful. Regards
  12. Configure the Contact Block in the modules section. Just remove the phone number.
  13. That is interesting. I think if you just delete the blockcms.tpl in the theme folder, Prestashop will use the one in the root module's folder. If I were you, I will backup blockcms.tpl inside ( /themes/default-bootstrap/modules/blockcms/blockcms.tpl) and delete all the codes inside it. I will then refresh my website. If the module still display properly instead of being blank. Then I will be sure that I was editing the wrong file.
  14. Hi Vekia is right - it is strange. Maybe you should try and force recompilation too. That can be done too the under performance menu in the backoffice.
  15. Hi The logo is from the header.tpl while the search and cart blocks are hooked to the displayTop hook positioning. So you cannot arrange them. I think the only way this can be done is to position the logo and the other modules using CSS positioning. But you need to understand responsive design with bootstrap to do this. The other alternative which I have used myself is to create a module that display logo and hook it to the displayTop hook. Then disable logo in the header.tpl file. That way, you can now arrange the order of the modules and put the logo module in the center. All the best!
×
×
  • Create New...