victor_jonsson
Forum Replies Created
-
Forum: Plugins
In reply to: [Article List Manager (arlima)] List automaticallyHi Nummur!
Question 1) It’s not possible to achieve what your’e describing with Arlima. Someone has to open the list manager and reorder the automatically inserted posts.
Arlima does not work well with automated stuff. The mission of the plugin is to become a competent tool for editors that want to be able to change the appearance and order of posts on the front page, making the wordpress blog look more like a newspaper website.
Question 2) The bug you’re describing is fixed in the latest version (released earlier today).
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] Double list/page displayI have found what might be causing this error. It’s currently only fixed in the dev version of this plugin, but it will be included in next release.
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] Multiple ListsHi Jay!
Yes, of course you can have several lists on your website. This is how you would go about it (this is more or less a copy from the wiki):
- Go to “Article lists” -> “Edit lists” in wp-admin and create the list
- Open the page where you want to display your article list in wp-admin
- Down to the right you will see a meta box labeled “Arlima”. In this meta box you choose which article list you want to display on the page. You also get the possibility to configure the width of your list (which is used to calculate the dimensions of your article images) and the number of articles in the list that should be displayed.
- Go to “Article lists” -> “Manage lists” and start filling your list with content. Use the drop down list in the upper left corner (bullet point 1 in the interface walkthrough) to open the list.
After having done all that you go to the menu editor in wp-admin and add the page you related your article list to (on step 2 in the list above).
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] edit lists errorThis is now fixed….
Forum: Plugins
In reply to: [Article List Manager (arlima)] Double list/page displayThere’s now way for me to reproduce this error. My first guess would be that your theme or another plugin is doing something it’s not supposed to.
If you look at the meta box for Arlima you will see an option labeled “Position”. Try both “Before content” and “After content”. Maybe one will work.
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] Double list/page displayHm… The list is rendered when the_content() gets called. The list can be applied either using a short code or using the arlima meta box. Have you set a static front page for your website?
Forum: Plugins
In reply to: [Article List Manager (arlima)] Read more link changeArlima is not yet tested on the new version of WordPress (3.5.1). I’ll get back to you when I know more.
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] edit lists errorHi there!
The problem lays in your installation of WordPress, not in Arlima. Line 96 makes a call to wp_get_sidebar_menu(), a core function in WordPress that should return an array. In your case it does not. This may be because of one of the following reasons:
- Another plugin (or the theme) is hooking into the filter ‘sidebar_widgets’ and returning something of the wrong data type (not an array)
- Another plugin (or the theme) have accidentally overwritten the WordPress option ‘sidebar_widgets’ with something other than an array
- You are using a framework that dramatically changes the behaviour of WordPress
- You are using an old version of WordPress, I don’t know if there might have been a time when this function did not return an array
You will still be able to use the plugin but you will not be able to edit the properties of your list.
I will add a fix for this in next release
Forum: Plugins
In reply to: [Article List Manager (arlima)] Using filter arlima_streamer_colorsHi Jay!
1) php code ends with ?> But have you seen the latest version of Arlima, that was released yesterday? After that you have upgraded the plugin you navigate to the new admin page named “Settings”. There you will be able to add those streamer colors you want to be able to choose from in the list manager.
Regards to the code examples. It’s not always possible to insert the exact code. It depends on how the code looks like in the file that you’re about to insert your code into. PHP code should be placed between <?php and ?>
2) The widget format is meant to be used when you have a list that’s only displayed in a widget. It is practically the same as the default template except that you can’t toggle the font size nor display child articles.
3) There is a code example in the wiki that inserts ads after every third article (https://github.com/victorjonsson/Arlima/wiki/Filters-and-actions scroll down to the filter “article_end” )
Forum: Plugins
In reply to: [Article List Manager (arlima)] Concurrent EditingAt vk.se each web editor is responsible of a set of lists. The front page is managed by several web editors but on a schedule so there’s never more than one person at the time working with the list. I’m not totally sure how it’s organized at the other newspapers (folkbladet.nu and sportnu.se) but I think it’s on rare occasions that several editors works simultaneously on a list.
We have been thinking of something like a “diff view”, similar to those you can use with your common version control system. You would get two lists on the screen, yours to the left and the latest version to right, the differences between the lists visualized with background colors some how. You would then solve the conflicts manually in that view.
But since this issue isn’t a problem at our newspapers this feature will get very low priority, it won’t be implemented any time soon.
Forum: Plugins
In reply to: [Article List Manager (arlima)] Wish List for next upgradeI’m guessing that this has to do with the first line in the code examples. PHP code has to begin with <?php but you can not have several <?php after one another. This has very little to do with the Arlima plugin, its more of a general PHP question and their are other, better suited, forums where you can ask about how to write your own PHP code in your theme.
(Sorry if you feel that I’m a bit harsh, not giving you a complete answer to the question. I hope you understand that my time is limited, and therefor only take part in discussions directly related to the Arlima plugin, you should be able to get help with the code implementation by someone else)
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] Concurrent EditingJay, I’m having a hard time understanding what this has to do with the original post in this thread. I would gladly discuss the things that you mention but please create a new forum post for it.
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] Wish List for next upgradeSorry Jay but this feature will probably not be implemented any time soon. But did you know that you can predefine which colors to choose from https://github.com/victorjonsson/Arlima/wiki/Custom-streamers
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] Widget displaying an article listI don’t know about your coding skills but in this case I would suggest that you to create your own jQuery template https://github.com/victorjonsson/Arlima/wiki/Custom-jQuery-templates
Having more options in the widget sounds like a good feature. If you want you can make a feature request over at our github page
/ vic
Forum: Plugins
In reply to: [Article List Manager (arlima)] Concurrent EditingArlima has a revision control system that deals with this issue. The list does not get locked when you edit the list, but you will be notified if a newer version of the list have been saved while you made your edit. When you save the list an alert dialog will appear and say somehtings in the lines of “Johan saved version 277 of this list 4 minutes ago, do you still want to save the list?”.
You can load older versions of the list (bullet point 21 in the interface walkthrough) and manually try to resolve the conflict. This is not an optimal solution, but our editors are happy so far.
OT: You have gotten me a bit curious, what organisation do you represent Johan?