Hi, did you delete the *.sql files in the public/tmp folder? Adding the field and creating the views is not enough for Oxid because sql-Statements are cached as temp files. So you need to also remove them to force Oxid to regenerate them.
Best regards, -- Daniel Schlichtholz Mayflower GmbH Gneisenaustraße 10/11 Tel.: +49 931 359 65 1125 97074 Würzburg Fax : +49 931 359 65 28 [email protected] http://www.mayflower.de Mayflower GmbH, Standort Würzburg Firmensitz: Mannhardtstrasse 6, 80538 München Registergericht: Amtsgericht München, HRB 142039 Geschäftsführer: Gregor Streng, Björn Schotte, Albrecht Günther, Johann-Peter Hartmann Am 28.06.2012 13:15, schrieb Sai Chandra Sekhar Madala: > Hi All, > > I have a requirement where I need to add an extra input for categories > in admin.So, I have created a column in oxcategories table using sql > script in admin->service->tools > > "alter table oxcategories add column test varchar(128);" and updated > the DB views. I have also added the row in > www/out/admin/category_main.tpl for this field. > > I have entered some test values in to the input field and saved the > contents for different categories.They all get saved and database tables > are also updated. > > The problem I face is that I am unable to retrieve the value of this field. > > I have used the below way to retrieve the value in > www/out/azure/tpl/widget/header/topcategories.tpl > > " [{$ocont->oxcontents__test->value}] " which is pretty much similar to > getting the title value " [{$ocont->oxcontents__oxtitle->value}] ". > > Please suggest me ways of how to get the value of this field. > > Another issue of mine is that I have tried to create a similar extra > field in usergroups in admin.I did the same as above but cannot save the > values entered in field untill I specify the column name as " oxdesc > ".Please clarify why am I facing this unusual behavior in oxgroups. > > Thanks & Regards, > Sai Chandra Sekhar.M > > > _______________________________________________ > dev-general mailing list > [email protected] > http://dir.gmane.org/gmane.comp.php.oxid.general > _______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
