Adding videos into Campaign page messages
- safeworld4women
- Topic Author
- Offline
- Premium Member
Less
More
10 years 3 months ago #40623
by safeworld4women
I am the Operations Director and lead Developer for The Safeworld International Foundation - an award winning international Non-profit working for women's empowerment.
I also design websites for non-profit organisations and small ethical businesses.
Adding videos into Campaign page messages was created by safeworld4women
Hi
We are using J2.5 version and I want to add a video into the Donation Page message on a Campaign
It however is stripping out the Youtube code
I tried using the old embed code and the Iframe code
Any suggestions how I can do this?
Andrew
We are using J2.5 version and I want to add a video into the Donation Page message on a Campaign
It however is stripping out the Youtube code
I tried using the old embed code and the Iframe code
Any suggestions how I can do this?
Andrew
I am the Operations Director and lead Developer for The Safeworld International Foundation - an award winning international Non-profit working for women's empowerment.
I also design websites for non-profit organisations and small ethical businesses.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 years 3 months ago #40645
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adding videos into Campaign page messages
Hi Andrew
You can edit the code alitle to allow this. Please follow the instruction below :
1. Open the file administrator/components/com_jdonation/controller.php
2. Find the function save_campaign
3. Inside that function, find the code below :
4. Change it to :
After that, try again and you should be able to enter Youtube code into the description of campaign.
Regards,
Tuan
You can edit the code alitle to allow this. Please follow the instruction below :
1. Open the file administrator/components/com_jdonation/controller.php
2. Find the function save_campaign
3. Inside that function, find the code below :
Code:
$post = JRequest::get('post', JREQUEST_ALLOWHTML);
4. Change it to :
Code:
$post = JRequest::get('post', JREQUEST_ALLOWRAW);
After that, try again and you should be able to enter Youtube code into the description of campaign.
Regards,
Tuan
The following user(s) said Thank You: safeworld4women
Please Log in or Create an account to join the conversation.
- safeworld4women
- Topic Author
- Offline
- Premium Member
10 years 3 months ago #40740
by safeworld4women
I am the Operations Director and lead Developer for The Safeworld International Foundation - an award winning international Non-profit working for women's empowerment.
I also design websites for non-profit organisations and small ethical businesses.
Replied by safeworld4women on topic Re: Adding videos into Campaign page messages
Forgot to say thank you
Works perfectly
Andrew
Works perfectly
Andrew
I am the Operations Director and lead Developer for The Safeworld International Foundation - an award winning international Non-profit working for women's empowerment.
I also design websites for non-profit organisations and small ethical businesses.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
10 years 3 months ago #40905
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adding videos into Campaign page messages
That's great. Thanks for confirming !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.