DavidJaymz, unfortunately selecting a ‘title’ field is out of my control. This is the way the EE Drop-down list behaves by default, and since the checkbox extension piggybacks on that field it would take some considerable development time to implement this. Also, if you’re looking for relating entries by title, try the Relationship field type or my Multi-Relationship field type.
is there a way to (for lack of a better word) separate the info back out when we parse it in the weblog entries tag?
how are you looking to separate this out?
Cheers Mark for the reply mark.
I’m currently using the checkbox extension to select keywords from a keywords blog. Maybe thats making it too complex and I should just type the info in in your extension. There shouldn’t be that many keywords….
The reason I’d like to separate the data is to use it as a auto search terms. so ideally I’d like each “keyword” to be wrapped in a {keyword} tag.
Hum. I see your problem. It may be possible to get the titles into there, however as a quicker fix I would just include another field in the keyword weblog and make it required, then just enter your tag into the title and the custom field. Then, assuming they are the same value you can use the auto search.
I basically took the information from here.
I think the type of keywording i want to do is perfect for this. Its just getting it to work in a dynamic manner :lol:
Thanks for the help and all the excellent extensions.
Thank you! Thank you! Thank you!!!
This works perfectly in the CP. Has anyone got this working in a Stand Alone Entry Form?
I’ve only tried the following and it doesn’t output anything. I didn’t really expect it to but don’t know what may be needed to loop through and display the values as needed:
{if checkbox}
<input type="checkbox" name="{field_name}" value="{field_data}" />
{/if}
Another donation coming your way, Mark! Your extensions are exactly what we’re needing on this project!
I have successfully installed this on past 1.5.2 installs - but today it’s not working! I downloaded 1.0.2 (which still says 1.0.1 when installed, by the way…) and I applied it to a custom field (just a bunch of sizes like XS, S, M, L , XL, etc) and I’m getting this error: Notice: Undefined variable: field_type in /Users/me/Sites/mysite/system/cp/cp.publish_ad.php on line 5465 I don’t have a lot of other plugins or extensions installed (this is a new site, only adding things as I need them) and those things I have added are mostly Mark’s (no surprise there…) so I’m not sure what could be conflicting.
I haven’t seen this conflict yet. So I not really have v 1.0.2 installed?
I am on this page when the error shows at the top: CP Home › Admin › Weblog Administration › Field Groups › Custom Fields
I decided to re-write this entire post to make it more accurate.
This is what I need to do and I’m not sure the current Extension does it.
I need to be able to assign a value to each check box:
Example:
Web Design == http://www.re-volvemedia.com/services/development/web-design/
This way when writing a Case Study we can list the services we performed for each client and have a check box associated with each service we provide. Currently I’m not sure that is an option, however, I was curious as to if the text from the Check Box is static text or if it has a variable name associated with it.
Example:
Label: Web Design Form ID: web_design
I’m not sure that it would work, but I need to try and figure out a solution that would do what we need it to.
If this can be done, can someone help point me in the right direction?
Edit:
I figured out a work around
{if development == "Website Design"}<li><a href="http://www.re-volvemedia.com/services/development/web-design/">Web Design</a></li>{/if}
This has worked but it is not printing the results accurately yet. I have it twice in one page and it is only showing up once…looking into it.
Edit(2):
I made an attachment so you could see what it was doing. I also included the custom tags so you could see they both had the same box checked, but only the bottom one was showing the {if} statement.
Edit(3):
Okay, I figured out what the problem is. I currently have 5 check box groups.
“development” has 6 items to check.
Web Design E-Commerce Content Management MOD RE-writes Application Development Hosting
So my statement:
{if development == "Website Design"}<li><a href="http://www.re-volvemedia.com/services/development/web-design/">Web Design</a></li>{/if}
Works as long as it is the only 1 of the 6 checked, however, if you have more then 1 checked it would become.
“Web Design, E-Commerce” or something similar.
Is there a way to fix this so each one outputs a unique string? I’m not sure how to break this down further?
Seth, I might do this with PHP, since your correct in saying that the EE tag’s can’t handle searching within a string. Something like this should work:
<?php ob_start(); ?>{development}<?php if(strpos(ob_get_contents(), "Web Design")!==false): ?>... do stuff here ...<?php endif; ob_end_clean(); ?>
Oh, and for this your PHP will have to be on “output”.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.