Limit will not work based on the core functionality of EE. So I am planning on including my own limit field, something like ext_limit=“10” but for now I would (if you have the processing power) leave out the limit and put a conditional check in at the beginning to check the count: {if count < 10}{/if}
Just as an aside, I don’t think using the {count} variable is going to work in the short term either for me. I have 12 entries, 2 of which have the custom field ‘casestudy-featured’ set to Yes.
I’ve updated the extension again and instead of using limit=“10” you can use max=“10” and that should give you the entries you’re expecting. The only thing to be careful of is to make sure max=“10” comes before any of your custom field declarations.
Alright, sorry this has taken so long. I had all but given up hope for this extension, but here it is again. Another release that should fix the max problem. Download it again from the first post in this thread.
That displays nothing. Change the max value to anything up to 4 and still nothing displays.
Change it to 5 and 1 entry displays. Change it to 6 and 2 display, 7 and 3 display. Anything above 7 and 3 display (the maximum number of entries set to Yes).
Alright, I took the extension to fat camp and came up with a much leaner, faster, more optimized extension. The only condition is that you have to modify your ‘mod.weblog.php’ file to allow the extension hook. You can find instructions for that in the top of the .php file. Other than that pagination, limits, and any other {exp:weblog:entries /} should work now. Grab the EXT at the top of the thread.
hum, as a workaround for now you might want to try replacing exp:weblog:prev_entry and exp:weblog:next_entry with normal exp:weblog:entries tags switching the sort and limiting by 1? I’m not sure just how well that will work, but it’s alternative.
I can’t seem to make this limit at all. I’ve tried a few different combos but it just outputs every entry in the weblog. Am I doing anything noticably wrong below?
I assume if I have an input field or drop down field (one or the other) that has “one” in it, that all those entries will show up but those without that text will not. I would use this right now if it worked for me.