Login Form

#356 – Remove "Total" from bid view

Posted in ‘BF Auction’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 29 August 2014 09:12 AEST
lesterhopkins
Joomla! version: 3.3

Tim

I don't need the "Total" to be visible in the bid view, I have no added fees, the bid is the total. :)
Could you direct me to proper file and the lines of code I need to remove?

Thanks

Les
Friday, 29 August 2014 09:37 AEST 5'
Tim
Everything Bundle, BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Les,
No need to edit source code for this, just set "Show Total Price" to No in your auction menu options.

regards

Tim

Follow us on twitter http://twitter.com/tamlynsoftware
Friday, 29 August 2014 09:58 AEST
lesterhopkins
I just need to change it in about 20 locations.....What file and location is that in though? There are fields displayed that I will never use and I don't want admins getting confused if they need to add a new auction
Friday, 29 August 2014 22:37 AEST 10'
Tim
Everything Bundle, BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Les,
You could edit /components/com_bfauction_plus/views/bid/tmpl/default.php
//around line 412, just get rid of this bit

<?php if($showTotalPrice){ ?>
<tr>
<td class="bfauction_plusLabelTotal">
<label for="Bid">
<?php echo JText::_( 'COM_BFAUCTIONPLUS_TITLE_TOTAL_PRICE' ); ?>:
</label>
</td>
<td class="bfauction_plusDetailsTotal">
<div id="currencyTax" style="float: left; text-align: left;"><?php echo $currencySymbolAfter? '':$bfcurrency; ?></div><div id="divTotalPriceCurrent" style="float: left; text-align: left;" /></div>
 <?php echo $currencySymbolAfter? $bfcurrency : ''; ?>
</td>
</tr>
<?php } ?>
Follow us on twitter http://twitter.com/tamlynsoftware
Friday, 29 August 2014 22:56 AEST
lesterhopkins
Tim, that is helpful however...

I'd like to remove fields from a view shown inside joomla administrator side....
The view is seen by following this path through joomla....Menus-new-auction options tab
Some of the fields i'd like to remove are...Show disclaimer, disclaimer txt,allow auto bidding, etc

Thanks
Les
Friday, 29 August 2014 23:10 AEST 5'
Tim
Everything Bundle, BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Les,
All the options are set in the files:
/components/com_bfauction_plus/views/disclaimer/tmpl/default.xml
/components/com_bfauction_plus/views/categorygrid/tmpl/default.xml
/components/com_bfauction_plus/views/grid/tmpl/default.xml

For the global options, they are in /administrator/com_bfauction_plus/config.xml

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Friday, 29 August 2014 23:21 AEST
lesterhopkins
Tim....I believe I only need to touch the administrator one....I've removed code disabling all user side stuff...users are only able to post items, not set up auctions....the can set the time, opening bid, and reserve, that is it.Our auctions are strictly local, sellers and buyers are responsible for pick up or delivery and payment....I now just want to remove the fields from view of administrators, I believe you have pointed me to the right file...:)

Thanks
Les
Saturday, 30 August 2014 00:21 AEST
lesterhopkins
Nope, had to go to all locations, thanks tho Tim.

Les :)
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
Go to top