Quote by beewee: The template is still a bit tricky, with all the fontsizes and bgcolors in the PHP files, but I can cope with that.
Now I'm testing and templating it again I found out that I'm missing something which might be important for all users: a field for the price, which willo have to be displayed in the list as well....
How can I add an extra field?
On the second thought I came up with an alternative solution that doesn't require any changes to db and consecutive changes in many files. This solution is not limited to one field like price but allows you to add more information. It's not very elegant and requires a minimum html knowledge of a submitter.
All you need to do is to add this code
Text Formatted Code
<hr><br>
<b>Additional Information</b>
<p><b>Info 01:</b> e.g. Make</p>
<p><b>Info 02:</b> e.g. Price</p>
<p><b>Info 03:</b> e.g. Origin</p>
<p><b>Info 04:</b> e.g. Mileage</p>
<p><b>Info 05:</b> e.g. Year</p>
<p><b>Info 06:</b> e.g. Color</p>
<p><b>Info 07:</b> e.g. Engine</p>
to list.php to this line (29
Text Formatted Code
echo " <td width=\"370\"><textarea rows=\"8\" name=\"descript\" cols=\"40\" maxlength=\"1000\"></textarea></td>\n";
so it looks like this
Text Formatted Code
echo " <td width=\"370\"><textarea rows=\"8\" name=\"descript\" cols=\"40\" maxlength=\"1000\"><hr><br>
<b>Additional Information</b>
<p><b>Info 01:</b> e.g. Make</p>
<p><b>Info 02:</b> e.g. Price</p>
<p><b>Info 03:</b> e.g. Origin</p>
<p><b>Info 04:</b> e.g. Mileage</p>
<p><b>Info 05:</b> e.g. Year</p>
<p><b>Info 06:</b> e.g. Color</p>
<p><b>Info 07:</b> e.g. Engine</p></textarea></td>\n";
You can prepare a default code and users will have the option to add or remove it.
You can see it
hereIf you have any of WSIWYG editors enabled it would look OK.
Just a quick workaround. Let me know what you think.
Geeklog Polish Support Team