SOLVED !!! Module donation campaign, how add text and photo

  • Michael
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago - 6 years 7 months ago #102050 by Michael
How can I add in the module "donation campaign" a picture and text? I see at moment only the title of the campaign.
Last edit: 6 years 7 months ago by Mr. Dam.

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

More
7 years 4 months ago #102053 by Mr. Dam
Hi Michael,
You can modify Campaigns module in directory: root > modules > mod_jd_campaigns
Thanks
Dam

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

  • Michael
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #102055 by Michael
Sorry Dam, I'm a little helpless with the program code. Can you tell me the code and the position at the default.php for insert the campaign photo in the module?

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

More
6 years 7 months ago #112620 by Dave
It looks like the file in this thread is the proper file to customize Donation Campaigns module.

root > modules > mod_jd_campaigns > tmpl > default.php

I am not recognizing a simple override pathway for modifying JD modules that will preserve the mods after extension updates, so i guess these are just core hacks that you need to keep a list of so that they can be repeated after updates.

is this correct?

I have spent several hours today messing around with this extension.
If there is something obvious I am missing on one of my posts this afternoon, I hope someone will be kind enough to point it out.

Thx.

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

More
6 years 7 months ago #112691 by Mr. Dam
Hi,
You can create folder: root > templates > your_using_template > mod_jd_campaigns and copy file: root > modules > mod_jd_campaigns > tmpl > default.php into your new created folder.
After that, you can make the modification in copied file, the modified file won't be overridden when you install newer Joom Donation version
Thanks
Dam

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

More
6 years 7 months ago #112693 by Dave
OK! Thanks!

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

Moderators: Mr. DamDũng Nguyễn Việt