TOPIC:

override -- how to? 3 weeks 2 days ago #242583

  • Topic Author
  • rd
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 2
Hello,

we changed two CB files due to design reguirements:
\components\com_breezingforms\facileforms.process.php
and
components/com_contentbuilder/views/list/tmpl/default.php

anytime we update CB these files are overwritten.
Is there a way to avoid this?

Regarding default.php:
At best It would be possible to change some of these parameters inside Content Builder Setup. E.g. how a list on mobile should be displayed (show page count, pagination, edit button, define if table columns are beeing displayed or not, show check boxes, make horizontal scolling possible or not). I know that some of these feature are not responsible but it would be great if the user can decide.

Regarding facileforms.process.php
Here we changed the pdf filename. As well it would be great to make it possible to configure this in the Content Builder without having the need to alter the system files.

Regards
Rolf

Please Log in or Create an account to join the conversation.

override -- how to? 3 weeks 2 days ago #242607

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9069
  • Karma: 167
  • Thanks: 737
Hi,

since Pro build 935, you can change the PDF filename as described here:

crosstec.org/en/forums/3-breezingforms-f...html?start=24#242261

For your contentbuilder list, you can create a template override by copying the file "default.php" to

/templates/YOUR-ACTIVE-TEMPLATE/html/com_contentbuilder/html/list/

YOUR-ACTIVE-TEMPLATE is your current active site template.

This should solve your problems.

Regards,
Markus

Please Log in or Create an account to join the conversation.

override -- how to? 2 weeks 6 days ago #242740

  • Topic Author
  • rd
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 2
Hi,

it's not working. The file is being ignored.
/templates/protostar/html/com_contentbuilder/html/list/

Are you sure the path is correct?

Regards
Rolf

Please Log in or Create an account to join the conversation.

override -- how to? 2 weeks 6 days ago #242741

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9069
  • Karma: 167
  • Thanks: 737
Hi,

see docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

If you use a different menu item than the default (e.g. List 1) for the CB list views, then rename the file to listone.php

Regards,
Markus

Please Log in or Create an account to join the conversation.

override -- how to? 2 weeks 6 days ago #242749

  • Topic Author
  • rd
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 2
Hi,

what is the default menu item?
I'm using "Listen-Ansicht".

What do I have to do?

Regards,
Rolf

ps. Thank you for the link. Now I understand the differences in the Directory Structure ...

Please Log in or Create an account to join the conversation.

override -- how to? 2 weeks 5 days ago #242764

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9069
  • Karma: 167
  • Thanks: 737
Hi,

ich bin davon ausgegangen, dass Du ein Menü benutzt, um die List anzuzeigen im Frontend. Du kannst im Menü die normale Listenansicht auswählen und zusätzlich noch Liste 1 - 5 (falls man mehrere verschiedene Overrides für unterschiedliche Listen braucht).

Damit kann man bis zu 5 Overrides verwenden.

Falls Du also statt der Standard-Listenansicht im Menü z.B. Liste 1 ausgewählt hast, dann musst Du die Datei default.php umbennenen nach listone.php.

Gruss,
Markus

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.046 seconds

July Sale!

Discounts for all of our extensions + support. Ending July 31st!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!