Author Topic: Additional Image Field for HTML  (Read 3454 times)

0 Members and 1 Guest are viewing this topic.

Offline plz_help_me

  • Pre-Newbie
  • Posts: 4
    • View Profile
Additional Image Field for HTML
« on: May 16, 2014, 08:12:15 PM »
Hello.

How do I add an additional image field that allows html, just like the current description field? When I try I get this error message:
Not Acceptable

An appropriate representation of the requested resource /shop/admin/images.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have tried text, textarea, varchar. I have searched the forums for an answer.

Please help me.
-plz_help_me

Offline .Infecto

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: Additional Image Field for HTML
« Reply #1 on: May 17, 2014, 03:03:18 AM »
Search in details.php
$image_name format_text($image_row['image_name'], 2);
Add after:
$image_YOURFIELD format_text($image_row['image_YOURFIELD'], 2);

Search:
"clickstream" => $clickstream,
Add after:
"image_YOURFIELD_html" => $image_YOURFIELD,

Open details.html
Add
{image_YOURFIELD_html}