rsanchez / dynamo

Makes Dynamic Parameters behave more like the Search module.
http://devot-ee.com/add-ons/dynamo/
10 stars 2 forks source link

Error The following tag cannot be processed: {exp:dynamo:selected} #18

Closed vladilin closed 11 years ago

vladilin commented 11 years ago

Hello, getting this error:

Error

The following tag cannot be processed:

{exp:dynamo:selected}

Please check that the ‘dynamo’ module is installed and that ‘selected’ is an available method of the module

My code is pretty simple here:

{exp:dynamo:form parse="inward" return="/home_save/collection" search_id="{segment_3}" name="test" dynamic_parameters="category" separator:category="&"}

                              {exp:channel:categories category_group="6" style="linear"}
                    <p><input name="category[level]" type="radio" value="{category_id}" {if {exp:dynamo:selected value="{category_id}" in="{category}"}}checked="checked"{/if} /> {category_name}</p>
                  {/exp:channel:categories}

                              </div>

        <select name="limit">
                <option value="">Result Limit:</option>
            <option value="1"{if limit == 1} selected="selected"{/if}>1</option>

            </select>

        <select name="orderby">
                <option value="date">Sort By:</option>
                <option value="date"{if orderby == "date"} selected="selected"{/if}>Date</option>
                <option value="title"{if orderby == "title"} selected="selected"{/if}>Title</option>
            </select>

        <select name="sort">
                <option value="asc">Order In:</option>
                <option value="asc"{if sort == "asc"} selected="selected"{/if}>Ascending</option>
                <option value="desc"{if sort == "desc"} selected="selected"{/if}>Descending</option>
            </select>
       <input type="submit" class="Osearch" value="Search" />

{/exp:dynamo:form}

What am I doing wrong?

rsanchez commented 11 years ago

Which branch are you using, master or develop?

vladilin commented 11 years ago

I tried both. :/

Sent from my iPhone

On Apr 14, 2013, at 7:11 PM, Rob Sanchez notifications@github.com wrote:

Which branch are you using, master or develop? — Reply to this email directly or view it on GitHub.

rsanchez commented 11 years ago

Well, it's only in the develop branch, there's no reason I know of that you'd get that error using develop. Try re-installing the develop branch is all I can advise. I can see that the selected method is indeed in the mod.dynamo.php file.

vladilin commented 11 years ago

You were right not sure why it did not work the 1st time, sorry to bother you. Although, why are there 2 branches when there develop one is the one that has all the cool functions?

Do you have a donate box? IOU coffe

vladilin commented 9 years ago

I think I know how he reached this error: https://devot-ee.com/add-ons/dynamo From Devotee page both links lead to Master, you have to manually go into Github and change Branch to Development Branch