How to change Title in Campaign List View

  • Adriano Cisternino
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 9 months ago #115266 by Adriano Cisternino
How to change Title in Campaign List View was created by Adriano Cisternino
Hi,

I would like to change the Title displayed above the list of Campaigns view. Currently it says Campaigns.

I have edited the components/com_jdonation/view/campaigns/tmpl/default.php file by replacing the following line

<h1 class="page-title"><?php echo JText::_('JD_CAMPAIGNS'); ?></h1>

with one that does what I want, however I suppose this change will be lost once I update the Component.

Can someone please tell me how I can do this in such a way that I do not lose this change after updates?

Thanks,
Adri

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

More
6 years 9 months ago #115290 by Mr. Dam
Replied by Mr. Dam on topic How to change Title in Campaign List View
Hi Adri,
You can use layout overridden feature of Joomla to solve the problem.
Here is the solution
1. Create folder: root > templates > your_using_template > html > com_jdonation > campaigns
2. Copy file:
components > com_jdonation > view > campaigns > tmpl > default.php
into new created folder and making modification in that file to avoid overridden layout.
Thanks
Dam

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

  • Adriano Cisternino
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 9 months ago #115296 by Adriano Cisternino
Replied by Adriano Cisternino on topic How to change Title in Campaign List View
Perfect, thank you. Adri

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

More
6 years 9 months ago #115457 by Mr. Dam
Replied by Mr. Dam on topic How to change Title in Campaign List View
You are welcome.
Thanks
Dam

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

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