I for one, would like to see categories on the front page - either in their current form, or as checkboxes. They’re too important in some cases to be on a hidden tab. What about an extension for selecting default tab for a weblog or something?
UPDATE: Apparently Cocoaholic wrote an extension called “Tab Forward” that moves a certain tab to the front.
I’ve used this extension in place of categories. It has advantages and disadvantages:
Advantages: - Appears on front page, not hidden - More user-friendly (it appears as just another field, click a box, no risk of accidentally un-checking)
Disadvantages: - Layout becomes an issue when you have more than a few options, with words wrapping over lines. - Less accessible; There are no labels by default, only text next to the check-boxes (although it can be done). - Not as flexible as categories in it’s usage (although can be made more flexible with Mark’s ‘custom fields in exp:weblog tags’ extension).
Hi
im using this extension on my news weblog and its great!-thanks mark!
i had a question though, dont know if anyone has tried this:
i have 4 checkboxes (cat 1, cat 2, cat 3 and cat 4), and a news story can belong to more then 1 category. so a news story can belong to cat 1 and cat 3.
im trying to run a query on exp_weblog_data to find all stories that have cat 1. has anyone had any joy in trying to do this?
currently my SQL is: select * from exp_weblog_data where field_id_24 LIKE “cat 1”
any help would be useful
Hi. Is there a way to have the field output into a <li>{data}</li> list? Right now I have the loop start with a <li> and end with a </li>, while having the separator = </li><li>.
This seems sloppy. Is there a better way?
Sorry if this seems like a silly question, I’m new to EE.
Hi, I am using this extension but get a similar problem as with the multi-rel extension. This is my EE code:
{related_entries id="id_of_field"}
<li>{title}</li>
{/related_entries}
and my output is
<li># title1</li> {REL[235][id_of_field]5D3G7cNqREL}
I am assuming that my use of related_entries is not correct. But how do I pull the checked items out of the entry?
edit:
Also, when echoing the checkbox values using {id_of_fields}, the correct ones pop up. But when I use the related_entry tag pair, already the first one is not correct - relating to my example on top the selected value would be “title0” but “title1” is displayed.
Any ideas?
EDIT I found out that Checkboxes DOES NOT save the rel_id but the actual entry_id. Although I find that better (the exp_relationships does not make sense to me), it does seem inconsistent to me!
I’m getting the following all of a sudden (wasn’t doing so before).
MySQL ERROR:
Error Number: 1064
Description: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND f.group_id=w.field_group AND f.field_type='cbox'' at line 1
Query: SELECT f.field_id, f.field_name, f.field_pre_populate, f.field_pre_blog_id, f.field_pre_field_id FROM exp_weblog_fields AS f, exp_weblogs AS w WHERE w.weblog_id= AND f.group_id=w.field_group AND f.field_type='cbox'
Disabling the extension fixes it.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.