- Posts: 11
- Thank you received: 0
OS Property support center
Collect extra field to display the top of detail
- Pierre A. Martin
-
Topic Author
- Offline
- New Member
-
Less
More
10 years 9 months ago #54106
by Pierre A. Martin
Pierre A. Martin
Web project Manager
Collect extra field to display the top of detail was created by Pierre A. Martin
Collect extra field to display the top of the detail page.
hello,
I am a beginner in php and mysql.
In the admin OSProperty, I created an extra field "available" with two choices "now" or "to be agreed".
I would like to edit the field to show at the top of the page (see picture attached)
After the lines in the file details.html.tpl.php "blue theme"
<ul class = "attribute-list">
<? php
if ($ row-> ref! = "") {
I need regular.>
<li> <strong> R & eacute; f: </ strong> <span> ref;> </ span> </ li> <? php echo $ row-?>?
<? php}?>
<li> <strong> <? php echo JText :: _ ('os_type')?> </ strong> <span> type_name> </ span> </ li> <? php echo $ row-?>?
<li> <strong> <? php echo JText :: _ ('OS_CATEGORY')?> </ strong> <span> category_name> </ span> </ li> <? php echo $ row-?>?
I added the line
<li> <strong> <? php echo JText :: _ ('Available')?> <? php echo $ row->? </ strong> <span> field_option> </ span> </ li>
No results are displayed. Who can help me?
thank you.
hello,
I am a beginner in php and mysql.
In the admin OSProperty, I created an extra field "available" with two choices "now" or "to be agreed".
I would like to edit the field to show at the top of the page (see picture attached)
After the lines in the file details.html.tpl.php "blue theme"
<ul class = "attribute-list">
<? php
if ($ row-> ref! = "") {
I need regular.>
<li> <strong> R & eacute; f: </ strong> <span> ref;> </ span> </ li> <? php echo $ row-?>?
<? php}?>
<li> <strong> <? php echo JText :: _ ('os_type')?> </ strong> <span> type_name> </ span> </ li> <? php echo $ row-?>?
<li> <strong> <? php echo JText :: _ ('OS_CATEGORY')?> </ strong> <span> category_name> </ span> </ li> <? php echo $ row-?>?
I added the line
<li> <strong> <? php echo JText :: _ ('Available')?> <? php echo $ row->? </ strong> <span> field_option> </ span> </ li>
No results are displayed. Who can help me?
thank you.
Pierre A. Martin
Web project Manager
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
10 years 9 months ago #54122
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Collect extra field to display the top of detail
Hi,
Of course when you enter that code line, nothing show.
First, php doesn't allow format : <? php echo $ row->? </ strong> <span> field_option>
Second, what's the data source of that field?
Thanks
Dam
Of course when you enter that code line, nothing show.
First, php doesn't allow format : <? php echo $ row->? </ strong> <span> field_option>
Second, what's the data source of that field?
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
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.