ok cricket,... the problem is solved ,...
I have to read from a bootstrap,.. cause my categories setup is from
bootstrap, and much easy to setup in bootstrap,...
so this is what I have,... in case anyone wonder,...
bootstrap:
Configure::write('Blog.blog_category', array('select categry',
I think Cricket's (extremely valid) point is what happens when you (or one of
those pesky users) wants to add another category? For a site that's backed by
a database it seems really odd to extract just one small tier of data out of
the data layer.
Jeremy Burns
Class Outfit
Also, you still have a typo, fwiw.
On Fri, Nov 9, 2012 at 12:25 PM, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
I think Cricket's (extremely valid) point is what happens when you (or one
of those pesky users) wants to add another category? For a site that's
backed by a
hi guys,...
I have a problem of displaying blogs by categories,... can someone help me
please,...
I'm in cake 1.3
have a categories setup in db from bootstrap:
Configure::write('Blog.blog_category', array('select categry',
'realestate', 'autos', 'appliances', 'antique')); // etc,...
I
I don't understand quite what you're trying to do (what is
array_search for?) but there's a typo: 'select categry'
Instead of hard-coding your categories, why not just get them from the
DB? You can always write the list to cache and update it whenever the
categories change.
On Thu, Nov 8, 2012
hi cricket, thank you for your response,... ok this is what I have now,...
in bootstrap:
Configure::write('Blog.blog_category', array('select categry',
'realestate', 'autos', 'appliances', 'antique'));
which gives me categories in a url: my_site.com/blogs/category/autos
and the blogs db I
opps,... db blogs, field categories getting numbers from bootstrap on
categories select:
On Thursday, November 8, 2012 5:00:41 PM UTC-8, Chris wrote:
hi cricket, thank you for your response,... ok this is what I have
now,...
in bootstrap:
Configure::write('Blog.blog_category',