We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

template parsing

Development and Programming

sabremarketing's avatar
sabremarketing
27 posts
17 years ago
sabremarketing's avatar sabremarketing

I’ve got a weblog, that relates multiple products to a certain entry using the checkbox field type and listing all the product names. So in a template, i use the exp entry tag to get all the fields for that entry, and it returns a string of all the products. But now I have a string which I’d love to toss in another entry tag, but that’s already been parsed, so the only way I know to get any of the fields for the products is using a mysql query and just going straight to the DB. I like not having to do that, partly because I don’t like the way the data is organized. Is there an easier way to accomplish my goal? Maybe a plugin or something?

Thanks.

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
17 years ago
Sue Crocker's avatar Sue Crocker

The check box field type is a third party offering, so I’m going to move this over to the Extensions forum.

       
sabremarketing's avatar
sabremarketing
27 posts
17 years ago
sabremarketing's avatar sabremarketing

Okay… Well the problem is about needing to run an exp:entries tag twice, not so much about the checkbox field…

If you get a result from an exp:entries tag, and then need to do another query using that result in another exp:entries tag, how would that be done.

Thanks.

       
sabremarketing's avatar
sabremarketing
27 posts
17 years ago
sabremarketing's avatar sabremarketing

I ended up just using PHP to call the DB.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.