I wish someone can give me some guidelines on how to make Sven's
mephisto_paged_article_list work with mephisto drax(0.8). I have
experienced several issues while trying to making it work, always
falling into the dreaded Liquid error: undefined method `total_pages'
Sven did an astonishing job trying to include pagination, but it seems
that it's not an easy task to achieve out of the box by using his
will_paginate_liquidized plugin from svn.
I'd like to have some info from anyone having it working about the
correct version of mephisto, will_paginate and
will_paginate_liquidized, since it seems that the problem is due to
the fact that Sven, or better, mephisto itself, was based on an
outdated version of the will_paginate plugin. From what I see in 0.8.2
it now requires the will_paginate as a gem in environment.rb
config.gem 'will_paginate', :version => '>= 2.2.2'
Well as a quick reminder to anyone interested, I actually went through
the total_pages undefined method error by renaming all references to
page_count to total_pages in will_paginate_liquidized and
mephisto_paginated_article_list, tough in my liquid layout when i am
limiting the number of articles in my layout it now gives me no more
errors, it just doesn't display the previous, next, or digg styled
navigation.
On Jun 28, 1:48 am, ztroy <skylarking...@gmail.com> wrote:
> I wish someone can give me some guidelines on how to make Sven's
> mephisto_paged_article_list work with mephisto drax(0.8). I have
> experienced several issues while trying to making it work, always
> falling into the dreaded Liquid error: undefined method `total_pages'
> Sven did an astonishing job trying to include pagination, but it seems
> that it's not an easy task to achieve out of the box by using his
> will_paginate_liquidized plugin from svn.
> I'd like to have some info from anyone having it working about the
> correct version of mephisto, will_paginate and
> will_paginate_liquidized, since it seems that the problem is due to
> the fact that Sven, or better, mephisto itself, was based on an
> outdated version of the will_paginate plugin. From what I see in 0.8.2
> it now requires the will_paginate as a gem in environment.rb
> config.gem 'will_paginate', :version => '>= 2.2.2'
> Well as a quick reminder to anyone interested, I actually went through
> the total_pages undefined method error by renaming all references to
> page_count to total_pages in will_paginate_liquidized and
> mephisto_paginated_article_list, tough in my liquid layout when i am
> limiting the number of articles in my layout it now gives me no more
> errors, it just doesn't display the previous, next, or digg styled
> navigation.
> On Jun 28, 1:48 am, ztroy <skylarking...@gmail.com> wrote:
> > I wish someone can give me some guidelines on how to make Sven's
> > mephisto_paged_article_list work with mephisto drax(0.8). I have
> > experienced several issues while trying to making it work, always
> > falling into the dreaded Liquid error: undefined method `total_pages'
> > Sven did an astonishing job trying to include pagination, but it seems
> > that it's not an easy task to achieve out of the box by using his
> > will_paginate_liquidized plugin from svn.
> > I'd like to have some info from anyone having it working about the
> > correct version of mephisto, will_paginate and
> > will_paginate_liquidized, since it seems that the problem is due to
> > the fact that Sven, or better, mephisto itself, was based on an
> > outdated version of the will_paginate plugin. From what I see in 0.8.2
> > it now requires the will_paginate as a gem in environment.rb
> > config.gem 'will_paginate', :version => '>= 2.2.2'
> at least i got something else to take care of...
> On Jun 28, 7:15 pm, yortz <skylarking...@gmail.com> wrote:
> > Well as a quick reminder to anyone interested, I actually went through
> > the total_pages undefined method error by renaming all references to
> > page_count to total_pages in will_paginate_liquidized and
> > mephisto_paginated_article_list, tough in my liquid layout when i am
> > limiting the number of articles in my layout it now gives me no more
> > errors, it just doesn't display the previous, next, or digg styled
> > navigation.
> > On Jun 28, 1:48 am, ztroy <skylarking...@gmail.com> wrote:
> > > I wish someone can give me some guidelines on how to make Sven's
> > > mephisto_paged_article_list work with mephisto drax(0.8). I have
> > > experienced several issues while trying to making it work, always
> > > falling into the dreaded Liquid error: undefined method `total_pages'
> > > Sven did an astonishing job trying to include pagination, but it seems
> > > that it's not an easy task to achieve out of the box by using his
> > > will_paginate_liquidized plugin from svn.
> > > I'd like to have some info from anyone having it working about the
> > > correct version of mephisto, will_paginate and
> > > will_paginate_liquidized, since it seems that the problem is due to
> > > the fact that Sven, or better, mephisto itself, was based on an
> > > outdated version of the will_paginate plugin. From what I see in 0.8.2
> > > it now requires the will_paginate as a gem in environment.rb
> > > config.gem 'will_paginate', :version => '>= 2.2.2'