normal OT_UCE template help required

More
6 years 7 months ago - 6 years 7 months ago #9209 by V S Punn
Is it possible to add another payment option in the Donations component. The payment option is Direct Bank transfer.

On the home page, where do I edit the four donation banners. I need to change the text and images
Last edit: 6 years 7 months ago by V S Punn.

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

More
6 years 7 months ago #9210 by Ha Pham

raunhar wrote: Is it possible to add another payment option in the Donations component. The payment option is Direct Bank transfer.

On the home page, where do I edit the four donation banners. I need to change the text and images


Hi,
with otdonation extension v1.0 you only can add 1 option donation
On the home page,Do you mean slider or four donation below
If slider,you can edit in article with category OT Slideshow
If,donation below,we load home with category OT Project
You can access Menus > Main Menu > Home and you can see menu Item Type is home Project
If you wnt to edit,you can edit article in category OT Project but layout can't be change

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

More
6 years 7 months ago #9211 by V S Punn
Thank you for your help.
I need to show two projects with the Donate option, and the rest two without Donate option.
The one without Donate Option will have a link to Amazon Donate
Is that possible.

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

More
6 years 7 months ago #9212 by Ha Pham

raunhar wrote: Thank you for your help.
I need to show two projects with the Donate option, and the rest two without Donate option.
The one without Donate Option will have a link to Amazon Donate
Is that possible.

Hi,
With 2 project with Donate option like our template you can choose in Menu Home(Blog layout)
Beside,OT Donation only has option with Paypal now
All layout differencce with our template layout,you must customize in template/html

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

More
6 years 7 months ago #9213 by V S Punn
The Amazon Donate will be an external link.

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

More
6 years 7 months ago #9214 by Ha Pham
Oh,
so you must can do like ex:
- You access file homeprojects.php in path: templates/ot_ucehelp/html/com_content/category
- In line 71 you can see condition <?php if($key%2==0) : ?>
so you can change like that:
<?php if($key%4==0) : ?>
<?php
$this->item = & $item;
echo $this->loadTemplate('{layout1}');
?>
<?php elseif($key%4==1) : ?>
<?php
$this->item = & $item;
echo $this->loadTemplate('{layout2}');
?>
<?php elseif($key%4==2) : ?>
<?php
$this->item = & $item;
echo $this->loadTemplate('{layout3}');
?>
<?php else: ?>
<?php
$this->item = & $item;
echo $this->loadTemplate('{layout4}');
?>
<?php endif; ?>
and create these new file:
homeprojects_{layout1-4}.php
and customize base on 2 files in our template
An in backend,you create 2 article with Donation first and create 2 own article you want later and call in Menus Home

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

Time to create page: 0.262 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam