I knew it, I will receive tons of line in reply from you :D :) . Thanks a lot !
Thanks for the detailed guidance. On Thu, Jul 26, 2012 at 3:05 AM, Robert G. <[email protected]> wrote: > Hey Deepak, > > Factoids is a content box in ecommerce ofbiz, which is allready > implemented. > This box is shown in all places in the store at the right or left panel > i.ex. The content is defined in backend CMS, where about 6 contens are > allready defined. The box is now configured (in ftl), that this shows > randomly 2 contents out of the 6 available. The content is as you prefer, > like a banner with anchor, or just text as information... > > at the moment it is used for like "did you know?..." and shows some news. > > But this is just an example of a content box. with that you can find how to > handle it. Cause it is not in my focus actually, I just looked in the past > how it works - was not difficult, but I allready forgot that :) just follow > the files... > > So at this point this box is shown everywere. But it can be interesting to > show it just in specific categories, or to show specific content in it, > depending of the categories, or products and so on. > > So you can write functions to show specific content boxes just in specific > situations (specific category etc.)...thats the way I think it can works. > You probably can name the content in CMS like: > cat_content_*hereyourcategoryid > * > > than write i.ex. a function, where you search for all contents (which are > not expired) which start wit cat_content_ and than split the name to get > the > category id. Than you can display it depending on the id value, so you do > not have to change your code when you want to display it elsewere. With > that > you can just use CMS, and tell your employee, that they have to use the > name > convention...do you know how i mean it? > > For my work I would use it for a slider at the main page, where I want to > put a picuter in it, and link to products, categories, content etc. > > Kindly > > > > > Deepak Agarwal-2 wrote > > > > Hi Robert, > > > > Could you please explain your understanding with this and also about > > factoids. > > > > On Tue, Jul 10, 2012 at 4:03 PM, Robert G. <gan@> wrote: > > > >> Ah you mean I shall do it with Content screens ... just like "factoids" > >> or > >> sth...right? > >> > >> good idea! > >> > >> -- > >> View this message in context: > >> > http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4634653.html > >> Sent from the OFBiz - User mailing list archive at Nabble.com. > >> > >> -- > >> Thanks, > >> Deepak Agarwal, > >> > >> Paxcel Technologies Pvt Ltd. > >> Hartron Complex, Sector 18, Gurgaon, India. > >> E-Mail: deepak.agarwal@ > >> Mobile: +91 9910322604 > >> > >> > > > > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Best-practices-to-show-banners-tp4632580p4635233.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > -- > Thanks, > Deepak Agarwal, > > Paxcel Technologies Pvt Ltd. > Hartron Complex, Sector 18, Gurgaon, India. > E-Mail: [email protected] > Mobile: +91 9910322604 > >
