johandahl
Forum Replies Created
-
Forum: Plugins
In reply to: [Article List Manager (arlima)] Concurrent EditingOne question: How does the editorial office handle this situation? Is it one person who edits one list or do they sit in the same room and communicates changes or how?
Forum: Plugins
In reply to: [Article List Manager (arlima)] Concurrent EditingI work at the IT-unit on The Joint Faculties of Humanities and Theology at Lund University. We have a program for journalism (is it called that in english) and we uses Arlima in two websites. One which is a closed “shadow” of Sydsvenskan and the other one is an open one jolugranskar.
The students used the closed site for the first time this monday and everything went totally bezerk then 20 students edited 5 arlima lists:)
I have slightly modified the page template (jolu-page-arlima.php) To get which list to show from the url. This was before the latest version were you could select which list to show on a certain page.
$urlpart = trim(substr(get_permalink(), strlen(get_home_url())), "/"); if ($urlpart == "") { $urlpart = "frontpage"; }
I also added listing of all the articles with the same category (not present in the arlima list) at the end of the page
$catID = get_cat_ID($urlpart); if ($catID != 0) { query_posts( "cat=" . $catID); while ( have_posts() ) { the_post(); if (! in_array($post->ID, $articles_in_arlimalist)) { ?> <?php the_date('Y-m-d', '<h2>', '</h2>'); ?> <?php echo get_the_time("H:m"); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a> <?php the_post_thumbnail(array(48,48), array('class' => 'alignright')); echo get_the_excerpt(); ?> <span class="catlinks"><?php the_category(', '); ?></span><br> <?php } // end if } // end while }?>
I am very pleased overall with arlima and the only issue so far is the concurrent editing. Thanks a lot guys for making this openly available.
Forum: Plugins
In reply to: [Simple LDAP Login] fixed multisite support in Simple LDAP Login pluginTo apply the patch you need to do this. Open a terminal on Mac OS X or Linux. cd to the directory containing the simple-ldap-login files. Then execute this command
patch patch -b -i path-to-simple-ldap-login.multisite.patch
-b copies the original files to a file with extension .orig
-i this takes the path to the patch-file. If it is in the same folder it would be justpatch patch -b -i simple-ldap-login.multisite.patch
or if it is in the folder above
patch patch -b -i ../simple-ldap-login.multisite.patch