يومية

ديسمبر 2018
الإثنينالثلاثاءالأربعاءالخميسالجمعةالسبتالأحد
 << < > >>
     12
3456789
10111213141516
17181920212223
24252627282930
31      

إعلان

المتصلون الآن؟

عضو: 0
زائر: 1

rss رخصة النشر (Syndication)

صندوق الحفظ

يناير102014

01.16:57

bobbys in dark hollow price that i have set in the t-Shirt table

Store a group True Religion Jeans Canada of form fields in multidimensional array in joomla Here's the setup(Using a made-Up scenario), but applicable to my real situation: For the purposes of this explanation, let's say that i design t-Shirts(Let's call them shirta, shirtb, shirtc).Rather than selling them myself, i have several vendors that sell the product for me(We'll call them vendors x, y, and z). Each vendor can choose to sell all of my t-Shirts, or only some of them.Additionally, the vendor can override the bobbys in dark hollow price that i have set in the t-Shirt table, with their own. In the admin section of the component, each vendor needs to be able to select which t-Shirt they want to sell, and provide an optional price override. This is how i imagine it looking. Each vendor will have a column in their table that will contain the serialized data of a multidimensional array.The main array contains a sub-Array for each t-Shirt that i have in my t-Shirt table.Each of those sub-Arrays contains all of the override data(Price, sizes offered, etc. ). How would i write the model, view, and/or edit page in a joomla 2.5 component so that a vendor can select all of the options in the component admin page, and have True Religion Womens it serialized in a column? I am sorry if this is poorly explained and please please please don't hesitate to ask if you need further information in order to assist me. Thanks! I hate to say it, but i don't think that there is a"Standard"Method to do this in joomla 2.5.Joomla has all kinds of ways to interact with the database and use their standard classes, but none of the classes are designed to work with serialized data to the best of my knowledge, so you would be stuck building all of the pieces by hand. That being said, in general the model, should handle retrieving and storing the serialized data, the view would request any data in the database from the model, and the edit page should unserialize the data and display it in a way that your vendors can add their overrides.Beyond that it would be up to you to code each piece in your own way.
  • Related Links:
  • http://www.toma.jp/blog/patternmicc/
  • http://sortingbeans.blog.com/2014/01/09/pandora-necklaces-have-this-quickly/
  • http://sortingbeans.snappages.com/blog/2014/01/09/weddings-homepage-with-the-punctuation-and-is-a-fun-way

Admin · شوهد 2107 مرة · وضع تعليق

رابطة دائمة توجه نحو المقالة بأكملها

http://sortingbeans.ahlablog.com/Aaa-aIaaE-b1/bobbys-in-dark-hollow-price-that-i-have-set-in-the-t-Shirt-table-b1-p25.htm

التعاليق

هذه المقالة لا تتوفر على تعليق لحد الآن...


وضع تعليق

مرتبة التعاليق الجديدة: تم نشره





سيتم اظهار رابطك (Url)


المرجوا أن تُدخل الرمز الموجود في الصور


نص التعليق

خيارات
   (حفظ الإسم, البريد الإلكتروني و الرابط في الكوكيز.)