Jump to content
thirty bees forum

Pierrox15

Members
  • Posts

    44
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Pierrox15

  1. Hello, what is difference between this 2 hooks? 😄 hookHeader vs HookDisplayHeader hookHeader is used by some plugin and override by file in a theme directory seem not work? Did you noticed that?
  2. baseUrl of your shop is manage in ShopUrl, it is the basepath of your install ex: localhost/myshop yo don't need rewrite module for that. After that you can configure rewrite for each controller in the SEO&Url Tab (screenshot) ex ?controller=mycontroller become /mycontroller and you *need* apache mod rewrite for that If i understand your problem, I will say: there is no easy way to maintain link in front Main menu, because module topmenu doesn't have entry for blog controllers. you would write an issue Here: https://github.com/thirtybees/blocktopmenu Or here: https://github.com/thirtybees I don't think shortcode exist for that. but it will very nice to have somethink like this {product->id}, {blogpost->id} or {category->id} to use in form to generate url.
  3. Hello, In SEO&Urls Panel (adminXXX/index.php?controller=AdminMeta) Did you add "blog" in rewrite column "module-beesblog-post" module?
  4. Salut, J'ai eu un problème similaire sur Firefox au niveau de l'onglet prix. Le cache Firefox est un peu trop "collant" sur les fichiers statiques qui n'ont pas de timestamp... Il ne faut pas hésiter à faire un "Hard refresh" pour bien vider les caches surtout après une mise à jour, pour être sûr que le navigateur charge bien les dernières versions de .js dans le bon ordre... Voir ici: https://forum.thirtybees.com/topic/3450-tb110-bo-product-edit-js-error-displayprice-is-not-defined/ Voilà 🙂
  5. Timestamp is very usefull, and it will be available on all resources to refresh all cache when it needed. It's the easiest way to control a web cache server 🙂 I don't know prestashop very well... but I think, it will be the job of PageNotFoundController.php to consider querystring at the end of ressource and a .htaccess rules.
  6. So what i understand: they are a rewrite rule who try to do this: localhost/img/p/2/5/7/3/8/25738-small.jpg -> localhost/img/p/2/5/7/3/8/25738-small_default.jpg who work but break on querystring timestamp.
  7. Hum, I just create a "small" image in adminImages config and just it works™. Sry for the inconvenient
  8. More tests: localhost/img/p/2/5/7/3/8/25738.jpg?time=156874940 // (thickbox) hit localhost/img/p/2/5/7/3/8/25738.jpg // (thickbox) hit localhost/img/p/2/5/7/3/8/25738-small.jpg // hit localhost/img/p/2/5/7/3/8/25738-small.jpg?time=156874940 // 404
  9. Hello, In the Backoffice -> product edit -> Images Tab: Thumbnails got a timestamp like "?time=1568749403911" The image return a 404 and a default no-image.jpg is displayed. If I remove the timestamp from the url the image is display correctly. the problem occur only on this tab. (i I don't know why, my local web server do that for TB. I try with modules and overrides disable, Hard cache reset on firefox and reload TB cache but it's the same issue. In many other CMS timestamped resources have no problem and In my CSS files on front I use timestamp for Fontello icon and it works as normal. I don't know where I can search for fix that? Edit: in the fancybox, when i click on this image (exactly the same ressource is called) image display correctly. It's no sense for me 😞
  10. OMG, Sorry for the inconvenience, hard refresh ( CTRL + R on Firefox) seem fix the issue. Thx for the Poster @datakick, I will print it and hang it on my wall. Thx for the reply @Traumflug and @datakick
  11. Hello, On my local TB, on FIREFOX, When i try to edit price on product. the price tab content is empty. All saves buttons from all tab are disable with the loading animation. JS console tell me: JS Error: displayPrice is not defined. the displayPrice function is in: https://github.com/thirtybees/thirtybees/blob/1.1.x/js/tools.js#L90, and it call from: https://github.com/thirtybees/thirtybees/blob/1.1.x/js/admin/price.js#L152 All Works fine when I disable firefox cache. Do you experiment the same problem?
  12. Ok I see. For me a classic PHP HTML app will be totally accessible & usable without JS. JS is the icing on the cake and come at the end to improve UX. So that how it is.
  13. I think it will be more simple for optimize, calculate intersection is a good idea but in practice it feel a bit complicated for something simple. for example my compressed CSS have only 1ko variation between product / category / home. The files have at 99% the same code. So I have reported here: https://github.com/thirtybees/thirtybees/issues/1032 thx
  14. Ok, thx. Another question about "Smart" cache for CSS the compressed css filename is different on home / category / product. Is it a bug? does it desserve a bug report? Normally at the first load, all my CSS will be ready for all the website ; I think.
  15. Hello, I'm writing theme and some Tb core js file are not needed. I know how to override js from module, But How can I disable some js from the core properly in my thème? I have made a conditionnal preg_match in the header.tpl for test, but when I set the concat js option in Backoffice this is ignored {foreach from=$js_files item=js_uri} {if !preg_match("/(ui.position|jquery.autocomplete|jquery.scrollTo|jquery.serialScroll|bxslider|ui.position|blocksearch)/", $js_uri)} <script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script> {/if} {/foreach}
  16. Hello, I'm testing the amazing Datakick module, and have some questions: - I would like filter duplicate friendly field on product for a quick edit, is it possible? (So I can use phpmyadmin :() - Can I get custom fields value into a smarty variable easily? if it's possible can I have an example? Thanks a lot.
×
×
  • Create New...