No entries are being listed in [[pagelist]]

Get help with installation and running PivotX 2.0.x here. Please do not post Extension or Theme related questions here.

No entries are being listed in [[pagelist]]

Postby efialt » Wed Jan 28, 2015 2:46 pm

The blog is here: http://r.efialt.com/blog/
There are 3 entries in 1 cathegory and no pages in 1 chapter.
If I create a page it appears in the content block in the sidebar.
But the entrieas are not listed there.
I'd like to have a list. As far as I read the documentation there is nothing I should do specially for that.
Evidently I do something wrong.
The theme is slightly edited (to embed the blog into existing site) bare bones.
The pagelist code in the sub_sidebar.tlp is
Code: Select all
    [[ pagelist
      chapterbegin="<h3>%chaptername%</h3><small>%description%</small><ul>"
      pages="<li %active%><a href='%link%' title='%subtitle%'>%title%</a></li>"
      chapterend="</ul>"
      isactive="id='active'"
    ]]   

Help me please.
efialt
 
Posts: 4
Joined: Tue Jan 27, 2015 7:52 pm

Re: No entries are being listed in [[pagelist]]

Postby efialt » Wed Jan 28, 2015 5:47 pm

Just a minute ago freshly installed a copy without changing anything.
The same story.
efialt
 
Posts: 4
Joined: Tue Jan 27, 2015 7:52 pm

Re: No entries are being listed in [[pagelist]]

Postby hansfn » Thu Jan 29, 2015 12:14 am

Hi, pagelist is used to list pages. Entries are listed with a subweblog - see the documentation or code snippets in the theme you are using.

PS! It seems you are a new PivotX user. I think you deserve to know that there will be no further development on PivotX. PivotX is a mature product and might solve your needs, but maybe you should look at for example Bolt (created by the former PivotX core developer) or Wordpress.
hansfn
Developer
 
Posts: 3280
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: No entries are being listed in [[pagelist]]

Postby efialt » Thu Jan 29, 2015 1:43 am

Thank you a lot!
I did what I wanted.

What about bolt... It looks like kinda heavy for me.
What I needed was simple to use and tune, stable blog to embed into my home page with a flat files database.
To be honest, I'd prefer Win-1251 codepage, but UTF-8 is OK too.
But I made a bookmark to try bolt if I run any new page, thank you.
efialt
 
Posts: 4
Joined: Tue Jan 27, 2015 7:52 pm

Re: No entries are being listed in [[pagelist]]

Postby efialt » Thu Jan 29, 2015 2:27 am

Since you are so kind, I cannot make pagenav to work.
The code
Code: Select all
              <div class="pagenav">
            [[previousentry text="&laquo; <a href='%link%'>%title%</a>" cutoff=20 ]] |
            <a href="[[home]]">[[t]]Home[[/t]]</a> |
            [[nextentry text="<a href='%link%'>%title%</a> &raquo;" cutoff=20 ]]
        </div>

permanently gives a result
Code: Select all
        <div class="pagenav">
             |
            <a href="/blog/">Home</a> |
           
        </div>
efialt
 
Posts: 4
Joined: Tue Jan 27, 2015 7:52 pm

Re: No entries are being listed in [[pagelist]]

Postby Harm10 » Thu Jan 29, 2015 8:41 pm

Where did you place this code? In the entry template? Or in the front template in the subweblog tag?
This will not work if you are on a page template (so displaying a page).

Did you allocate categories to your weblog?

The essence being that you should display an entry. This entry belongs to a category so the nextentry tag can deduce what the next entry is.

If you add the category parm to the tag and give it the value of a category you should see something any way.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2010
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)


Return to 2.x Support Forum

Who is online

Users browsing this forum: No registered users and 8 guests

cron