Hi,
I'm loving this one. Must say i didn't know anything about SQL/php, but now, after thouroughly going through this topic, I learned a lot.
It works for me now, with only a few adjustments to the original, like the search-reset, the descending-setting etc.
But i have a question. I want to add an extra field, like BORROWER. I did export it from Ants, so it is in MySQL. Do you know how?
I thought about placing it under "year:" in the description (as well in the short as detailed). Wih the same clickable function, so i can see what he borrowed.
My attempts:
In the css-file
Adding a div.class BORROWER
Code: Select all
#mdb_full_detail DIV.BORROWER {
margin-left: 250px;
}
In the Lang-file
Adding a line
Code: Select all
$this->lang['BORROWER'] = "Borrower";
In the moviedb.inc-file
Adding to
function get_short_description_html($movieinfo) {
Code: Select all
$html .= " <div class='BORROWER'>\n";
$html .= " <span>".$this->lang['BORROWER'].":</span> <a href='".$this->THISPAGE."?mdb_page=1&mdb_npp=".$this->mdb_npp."&mdb_order=".$this->mdb_order."&mdb_search=".$movieinfo['BORROWER'].$non_mdb_gets."'>".$movieinfo['YEAR']."</a>\n";
Esspacially with the last Add i do not exactly know what i'm am doing.
I've the idea that i'm missing something there.
Can you give me a hint?
TIA,
De Vulnisman
PS. As soon as i get it to work, i'll post a link to mij site. But do not have a safe adress at the moment.[/quote]