jester12345 Posted March 23, 2003 Share Posted March 23, 2003 I need to add special product specs for an online Kite store. These aren't the usual attributes, like wanting a red kite vs. a blue one. Basically, each kite has certain ratings (Experience level to fly it, and wind range to fly it in). I'm trying to modify the page /admin/categories.php to include room for editing these extra attributes alongside the product description. I'm having a bizarre error where, when I go to preview the page, either A) only the second letter of the word or phrase I submitted in the fideld I added makes it through, or B) nothing in that field makes it through to the preview. This page is considerably more advanced than anything else I've ever worked on, so I'm a little over my head. If anyone can offer any suggestions I would appreciate it. Thanks! Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted March 23, 2003 Share Posted March 23, 2003 I would start from the original file, select a field similar to those you want to add (eg weight). Then look for each occurence of weight in the file, duplicate the whole group of lines, replace weight with rating. Christian Lescuyer Link to comment Share on other sites More sharing options...
mouflon Posted March 23, 2003 Share Posted March 23, 2003 I'm working on a contribution to do just that, ver 1 will have rudimentary admin functions - it should be ready in a day or so. Unexpect the Expected Link to comment Share on other sites More sharing options...
jester12345 Posted March 24, 2003 Author Share Posted March 24, 2003 Christian. Thanks for the tip. Actually, that was the logic I approached the problem with. I took product_decription and followed it everywhere I could find, copying it and making one called wind_range. I added space in the database, and I created a function for it. That's why I'm stumped. To me, it looks like I set up everything correctly, but it's not passing my data through. Or, and this is what really throws me, it passes along the second letter of whatever I wrote in the box. How crazy is that? Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted March 24, 2003 Share Posted March 24, 2003 Or, and this is what really throws me, it passes along the second letter of whatever I wrote in the box. How crazy is that? That is strange. No explanation I can see. Grap BeyondCompare and compare original and modified files. You should get a good idea of what's wrong. Christian Lescuyer Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.