Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Change content depending on hooks

Featured Replies

Hello, Is it possible to change content in smarty, depending on which hook is something hooked. For example:

If this is in hook displayLeft change html content else do nothing

Thanks

yes its posible, you can set different template each hook using tpl file. for example see social sharing module inside module you can see views > templates > hook > tpl files

  • Author

@dosbiner thankls for your answer. So there's no way to do it without changing php files i guess? Problem with that is, if there's update to module i loose all my changes.

Yep, must edit php files. Try this to override module core files, but I never tried it http://nemops.com/override-prestashop-modules-core/

  • Author

@dosbiner thanks a lot. I'll try that

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.