Great thanks Mark! I was planning to have pages where it only displayed results that have certain boxes checked. Kind of working like custom statuses. So if Furniture was checked the page would only display furniture and so forth. Is this possible?
Has anybody used this extension for making custom “agree to terms and conditions” checkboxes that are required? Even when I make the field “required” in the custom weblog fields, the entry gets submitted anyway regardless if the T&C checkbox is checked or not
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).
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”
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.
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!
Another thing. I have downloaded the version 1.0.2 but it still carries the version number 1.0.1 in the file. Also when the “separator” attribute does not change anything, so I am assuming that the version I am using is 1.0.1. Where can I get 1.0.2 from?
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'
I’m trying to use this extension to as a form of key for each of my weblogs. What I’d like to do is take the results and turn them into images, so for each entry in checkbox list, create an <img> tag.