TOPIC:

CB Images and move to new folder 2 months 21 hours ago #245621

  • Topic Author
  • Maago
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 99
  • Thanks: 0
Hello,

sometimes I have to move the folder for my webspace to another folder. Within Joomla it is not a issue because everything is relative to the base path.

In Communitybilder it seems the path is hardcoded for images, downloads ..

Also it will be hardcoded in the database itself, which makes it very hard to move.

Is there a way to use something like {base-dir} instead of whole path (/var/www/html..)?

Thanks

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

CB Images and move to new folder 2 months 16 hours ago #245645

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 800
Hi,

do you mean really CommunityBuilder or ContentBuilder?

ContentBuilder stores paths using {CBSite} as base path placeholder.
It also does that when it integrates with BreezingForms. You can check this out in the database values (#__facileforms_subrecords if BF is used).

Regards,
Markus

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

Last edit: Post by TheMuffinMan.

CB Images and move to new folder 2 months 16 hours ago #245652

  • Topic Author
  • Maago
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 99
  • Thanks: 0
I tried this but it does not work .. it tells me "path not available"

Attachments:

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

Last edit: Post by Maago.

CB Images and move to new folder 2 months 11 hours ago #245680

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 800
Hi,

habe mir gerade nochmal den Code angeguckt, und zwar musst du das relativ sehen vom Upload-Ordner, der in Editable-Prepare (Formular Vorbereiten) angegeben ist.

Also wenn dort z,b. steht "/images/contentbuilder/" und du willst den Upload in "marketplace" haben, musst Du das so schreiben:

{CBSite}/marketplace/

Probier das mal bitte aus.

Gruss,
Markus

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

CB Images and move to new folder 2 months 4 minutes ago #245703

  • Topic Author
  • Maago
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 99
  • Thanks: 0
Hi,

ja, so funktioniert es. Jetzt noch eine Frage:
Im Formular Edit-Template vorbereiten muss ich aber nach wie vor den kompletten Pfad angeben?

Das heisst ich kann jetzt in der Datenbank dann alles mit dem kompletten Pfad ersetzen durch {CBSite}/. Hab nachgeschaut, er schreibt das auch genauso in die DB rein ...

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

CB Images and move to new folder 1 month 4 weeks ago #245734

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10063
  • Karma: 167
  • Thanks: 800
Ja, sollte gehen.
The following user(s) said Thank You: Maago

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

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

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

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!