Now i can chan the load more text via the ranslation interface but is the same for al my paginated views. I want to change it with "load more news" or "load more tweets" per view
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | change_text_per_view_1272562_9.patch | 2.67 KB | andremolnar |
| #7 | change_text_per_view_1272562_7.patch | 2.65 KB | andremolnar |
| #5 | change_text_per_view_1272562_5.patch | 0 bytes | andremolnar |
| #3 | change_text_per_view_1272562_3.patch | 2.58 KB | andremolnar |
Comments
Comment #1
ericduran commentedCool, I don't see why we can't do this.
Thanks for the feature request.
Comment #2
andremolnar commentedI'll have a patch for this up today.
Comment #3
andremolnar commentedSorry this took longer to get to than I assumed.
But here is the patch.
andre
Comment #4
ericduran commentedNone os this is needed. Instead set up a variable in the option_definition and then you can $this->options instead of checking if it exist or anything.
Comment #5
andremolnar commentedI had included that because there were cases when the item wasn't in the array causing a php notice.
Looks like that was only because I hadn't declared the option properly. Thanks for the feedback.
Attached patch cleans this up.
Comment #6
ksenzeePatch in #5 is 0 bytes.
Comment #7
andremolnar commentedrerolling
Comment #8
ericduran commentedLets add the new line at the end of the file.
I didn't really test the patch, but why the -10 weight?
This should be a sentance, starting with a Cap and Ending with a .
Comment #9
andremolnar commentedThe changing of weight is all about keeping number of items at the top of the list and then wedging in the new field after that but before all the other default views pager fields.
Reroll based on feedback.
Comment #10
ericduran commentedI made some small options like settings the weight to -2 and -1, no need for -10.
Also changed the text from Rename More Link, to More link text.
http://drupalcode.org/project/views_load_more.git/commit/def848f
Thanks.