Recent Topics

1 Nov 12, 2014 02:51    

Hi,
I tried to install a blogroll for my blog. In the documentation I have looked with the tag linkblog and set this or that, but it don't works like I wish.

It's better with an example, so here it is. I use for this a second blog and put it in the sidebar of the first blog with the widget "Einfache Linkblog-Linkliste" (I guess: simple link blog link list or so) as it is described in the documentation.

My categories with links are:
<code>
category-a
link-title-1 from 1.2.2000
link-title-5 from 1.1.2000

category-b
link-title-4 from 3.2.2000
subcategory-b-1
link-title-6 from 25.1.2000
link-title-2 from 27.1.2000
</code>

At the moment the blogroll is sorted with the date of appearance:
<code>
category-a
link-title-5
subcategory-b-1
link-title-6
...
</code>

I want to order this after the names of the subcategories and categories and inner this after the date.
I found the settings "Order (as explicitly defined)" in the widget and in the structure > features of the blog. But I don't know, where I can explicitly define this kind of order.

So, how I can get this order? And how it is possible to "disable" the link to the category (and to the link blog)? Only the links should be links, not the names of the categories.

<code>
category-a (no link!)
link-title-5 from 1.1.2000
link-title-1 from 1.2.2000

category-b (no link!)
link-title-4 from 3.2.2000
subcategory-b-1 (no link!)
link-title-6 from 25.1.2000
link-title-2 from 27.1.2000
</code>

2 12 Nov 2014 08:51

Hi @ednong,

The ordering that you are asking for could be set in the Expert Editor, inside the Properties block you will find a field Order (http://b2evolution.net/man/how-to-add-content).

Regarding the categories links, I'm afraid that there is not such a setting in the widget to control that, so, if you want, you can replace your file inc/widgets/widgets/_coll_item_list.widget.php by this other: https://gist.github.com/mgsolipa/4d4074f18d5e898b43f8 ( if you're using version 5.1.2 ). It adds a new parameter "Link categories" in order to let you control the links as you need and shown in the image above.

Regards!

UPDATE: the link to github included above doesn't work anymore. A new version may be found here: https://gist.github.com/mgsolipa/c416d40fd585aeef47ff

3 12 Nov 2014 21:44

Hi mgsolipa,
thanks for your fast answer.

Now I know what is the meaning of "Order (as explicitly defineed" - and this is not what I want. I don't know, how much entries (link-titles) will come to the list and it is a parameter which I need give to every entry. But good to know where and what it is.

So I will sort it by date. And I will group this - as in the example above - by categories. In the widget (the original one) there is an option for this, which is activated at default. But it doesn't works. The order is like in the BlogRoll on my blog (http://blogs.ednong.de) in the right sidebar. I will try your download - I guess it is from a newer "version" than 5.1.2? - and look, if it will work there. Or is this a bug in the widget?

4 12 Nov 2014 22:01

Ok,
I diff'ed the files and exchanged them. Great job!

Now one of the both points works - the categories are not links.

But how I get the links grouped by categories? Did I overseen a setting?

6 27 Nov 2014 00:31

@mgsolipa
I guess, you mean the settings of the widget?

If you can see - I hope its the right shot - this settings are set :(

7 29 Nov 2014 10:47

Are you getting the items not grouped by categories? Can you send a screenshot of your frontend?

8 29 Nov 2014 16:27

Oh, you can actually see it on blogs.ednong.de - in the right sidebar you see the blogroll.

At the demo I have test it - same thing. there.

I have attached a small view of it.

9 29 Nov 2014 16:31

Ah, new post for image. Here now the small view. You can see more than 1 category - it is not sorted by cats.

10 30 Nov 2014 14:46

All right, now I see. It is already reported, let's wait for an answer.

Thanks.

11 24 Jan 2015 15:03

You should integrate this modification in the newest version too ...


Form is loading...