Class names and id's for elements - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18) +--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4) +--- Thread: Class names and id's for elements (/showthread.php?tid=232) Pages:
1
2
|
RE: Class names and id's for elements - Guido1982 - 01-26-2016 But now: I see here that for the actual inventory block a variable called "{$ASSOCIATED_PRODUCTS}". I thought it called "ProductDetails.tpl". But apparantly, that's not the case. For instance, this file has this line, indicating it should be the file for creating product lines (the 5% wide cell is only used for tools during creation). Now I don't know where the product block template in detail view is. I can't figure out where the "{$ASSOCIATED_PRODUCTS}" is created. For instance, I see it here in Quotes, but it's created by a function. EDIT Nevermind, I found it. Turns out this is hard coded (!) in include/utils/DetailViewUtils.php RE: Class names and id's for elements - joebordes - 01-26-2016 Surprising as it may seem that is hard coded in DetailViewUtils.php https://github.com/tsolucio/corebos/blob/master/include/utils/DetailViewUtils.php#L1280 RE: Class names and id's for elements - Guido1982 - 01-26-2016 (01-26-2016, 10:52 PM)joebordes Wrote: Surprising as it may seem that is hard coded in DetailViewUtils.php You just beat me to it.... RE: Class names and id's for elements - Guido1982 - 01-27-2016 One thing I would like to propose (a bit off topic) is to decrease the number of decimals in the stock column of the inventory module. No-one is going to keep track of 0,001 of stock I think. RE: Class names and id's for elements - opto - 01-27-2016 depends ... some items are sold by 1000 packages so one screw would be 0.001 of the item |