- Posts: 3
- Thank you received: 0
Questions about Payment Form extension
Hide a column in display form
- filippo pasca
- Topic Author
- Offline
- New Member
-
Less
More
10 years 1 month ago - 10 years 1 month ago #57706
by filippo pasca
Hide a column in display form was created by filippo pasca
Hi! how do I hide a column "Amount($)" in "Inline Form Layout Display form in Inline format"?
is it possible?
is it possible?
Last edit: 10 years 1 month ago by filippo pasca.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 1 month ago #57744
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide a column in display form
Hi
You will need to edit the code a bit. Try to look at the file components/com_pmform/view/forms/tmpl/default.php and customize it to remove that column
Tuan
You will need to edit the code a bit. Try to look at the file components/com_pmform/view/forms/tmpl/default.php and customize it to remove that column
Tuan
Please Log in or Create an account to join the conversation.
- filippo pasca
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
10 years 1 month ago - 10 years 1 month ago #57778
by filippo pasca
Replied by filippo pasca on topic Hide a column in display form
Thz Tuan
I have to change only default.php?
I have done so
I performed the change correctly? It Works 
The result is this
I have to change only default.php?
I have done so
Code:
<?php
/**
* @version 3.0
* @package Joomla
* @subpackage Payment Form
* @author Tuan Pham Ngoc
* @copyright Copyright (C) 2010 - 2015 Ossolution Team
* @license GNU/GPL, see LICENSE.php
*/
defined('_JEXEC') or die;
?>
<h1 class="title"><?php echo JText::_('PF_FORM_LIST'); ?></h1>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>
<?php echo JText::_('PF_TITLE'); ?>
</th>
</tr>
</thead>
<tbody>
<?php
for ($i = 0, $n = count($this->items); $i < $n; $i++)
{
$row = $this->items[$i];
if ($this->config->use_https)
{
$paymentLink = JRoute::_('index.php?option=com_pmform&view=form&form_id=' . $row->id . '&Itemid=' . $this->Itemid, false, 1);
}
else
{
$paymentLink = JRoute::_('index.php?option=com_pmform&view=form&form_id=' . $row->id . '&Itemid=' . $this->Itemid, false);
}
?>
<tr>
<td>
<a href="<?php echo $paymentLink; ?>"><?php echo $row->title; ?></a>
</td>
</tr>
<?php
}
?>
</tbody>
<?php
if ($this->pagination->total > $this->pagination->limit)
{
?>
<tfoot>
<tr>
<td colspan="2">
<div class="pagination"><?php echo $this->pagination->getListFooter(); ?></div>
</td>
</tr>
</tfoot>
<?php
}
?>
</table>

The result is this
Last edit: 10 years 1 month ago by filippo pasca.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 1 month ago #58007
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hide a column in display form
I could not see anything wrong with your modification, so congratulations 
Tuan

Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.