- Posts: 16
- Thank you received: 0
OT_UCE template help required
On the home page, where do I edit the four donation banners. I need to change the text and images
Please Log in or Create an account to join the conversation.
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.
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.
Hi,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.
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.
Please Log in or Create an account to join the conversation.
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.