Re: Product Extra Fields for text, pdfs and flash
does or has someone got this to work on 1.3.9f?
I had it on 1.3.8a and upgraded and now item like video links and extra text no longer show up.
Admin area work fine and i can upload videos (fla's) and look at the Db and they are there but nothing on the site itself.
Re: Product Extra Fields for text, pdfs and flash
I've had no complaints but that doesn't mean anything. What you are talking about should not be affected by any changed files. I see a date change on the product info template file and one page file. Would you send me the url of your site?
Re: Product Extra Fields for text, pdfs and flash
Re: Product Extra Fields for text, pdfs and flash
Are you sure you uploaded the template for the product page to the right place? I don't see the code I'm expecting in that page.
the file structure in the zip file has that file at:
includes/templates/your_template/templates.
If you uploaded the package without changing the your_template to your custom template then it's not in the right place.
Re: Product Extra Fields for text, pdfs and flash
looks like the code is there, i reuploaded my backup copy of the file.
but still no link
we are talking about the tpl_product_info_display.php file. Right?
Re: Product Extra Fields for text, pdfs and flash
can you take a look and see if the info you are looking for is there now or not?
Thanks
Re: Product Extra Fields for text, pdfs and flash
I want to show on the product listing (product_listing.php) if the product has a flash file included.
So i have the product_listing and now i want an extra column with the following: Video: Yes/No.
I tried alot of things but i cant get it to work. Does anyone have any idea?
Re: Product Extra Fields for text, pdfs and flash
Quote:
Originally Posted by
d1rage5
can you take a look and see if the info you are looking for is there now or not?
Thanks
sorry, didn't get notified that you had responded. There is an error in that file in the contribution. Don't know how in the world that escaped notice this long.
I'll be uploaded the correct edition shortly that will also have small changes due to the recent upgrades.
Lowie,
Sorry, but that's a bit of complicated programming in several files to get that to work.
Re: Product Extra Fields for text, pdfs and flash
But! Just realized.
d1rage5
There are no list items in your html. So the mod is now in but with no list items showing, it makes me think that you either haven't added the new fields, or the datasbase table isn't uploaded or filled out or something bigger.
I'll be glad to look at it for you at this point. Send me a message or look for my website to send me an email.
Re: Product Extra Fields for text, pdfs and flash
That sux ive been working on it for like 4 hours now and im really pissed haha!
I gto this far:
http://www.devuurwerkhandel.nl/profe...rwerk-c-5.html
But it wont check the video linked to id, only the last video in the sql database table...
Code:
case 'PRODUCT_LIST_WEIGHT':
$lc_align = 'right';
mysql_connect("localhost","","");
mysql_select_db("");
// Make a MySQL Connection
// Construct our join query
$query3 = "SELECT products_description.products_id, product_extra_fields.video ".
"FROM products_description LEFT JOIN product_extra_fields ".
"ON products_description.products_id = product_extra_fields.products_id";
$result3 = mysql_query($query3) or die(mysql_error());
while($row = mysql_fetch_array($result3)){
$lc_text = '' . $listing->fields['products_id'] . ' heeft ' . $row['video'] . '';
}
break;