OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to change data in the table list of books ? (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

How to change data in the table list of books ?

admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 11 Years, 8 Months ago
Karma: 101  
Hello,

Please also in Place where you added "Date of publication" remove next two columns headers

Thanks,
OrsaSoft team
Logged Logged
The administrator has disabled public write access.
Vincent (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 11 Years, 8 Months ago
Karma: 0  
In fact, I would also like to display in 2 columns 2 other datas: "numberOfPages" and "price"+"priceunit" for each book.
How can I do that ?

Thnaks for your attention and your help.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 11 Years, 8 Months ago
Karma: 101  
Hello,

you may do that full exactly as you added "date of publication"

You will need add these fields to select form in file booklibrary.php

and after that show these fields in file booklibrary.html.php

Thanks,
OrdaSoft team
Logged Logged
Last Edit: 2012/07/18 09:31 By admin.
The administrator has disabled public write access.
Vincent (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 11 Years, 8 Months ago
Karma: 0  
Thanks for your answer.
I suppose you mean booklibrary.php and booklibrary.html.php (instead of "vehiclemanager.php" and "vehiclemanager.html.php".
So, i do it but i have a error message:
"Parse error: parse error, expecting `T_FUNCTION' in Campphtdocscclcomponentscom_booklibrarybooklibrary.html.php on line 424"

I add "bl.NumberOfPages" and "bl.price" in booklibrary.php as you can see on the printscrean:


And in "booklibrary.html.php" I add some lines as you can see in the next printscrean in the next message
Logged Logged
The administrator has disabled public write access.
Vincent (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 11 Years, 8 Months ago
Karma: 0  
This is the second printscrean withsome new lines in the file:

<?php
}
?>
<td align="center">
<?php echo $row->numberOfPages; ?>
</td>

<?php
}
?>
<td align="center">
<?php echo $row->price; ?>
</td>

Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:How to change data in the table list of books ? 11 Years, 8 Months ago
Karma: 101  
Hello,

In common you right,

But for me not clear for file booklibrary.html.php,

what you close with help brace? at row 361, 368, 375

Every brace mast have open and cloase brace like { and }

Thanks
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»