patchSamizdat - Patches: patch #6278, more_links-0.2.1 [vs 080811-1] -...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6278: more_links-0.2.1 [vs 080811-1] - include rendered content of a message in the frontpage left column

Submitter:  Boud Roukema <boud>
Submitted:  Sat 24 Nov 2007 12:44:48 AM UTC
   
 
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Fri 10 Apr 2009 03:39:40 PM UTC, comment #4: 

This patch is integrated as is in the snapshot 0.6.2.20090410-1 (Debian/experimental).

Dmitry Borodaenko <angdraug>
Group administrator
Wed 10 Sep 2008 05:37:49 PM UTC, comment #3: 

version 0.2.1 puts html_full before html_short in the OR list of priorities for rendering the "more_links" article; also, translation is reverted - this was present in 0.1 and accidentally got dropped; the new version uses the select_translation method only.



(file #16460)

Boud Roukema <boud>
Group Member
Sat 16 Aug 2008 04:52:54 PM UTC, comment #2: 

Version 0.2 should work against either 080703-2 or 080811-1.  Main work shifted to a separate method, at the end of frontpage_controller.rb.



(file #16300)

Boud Roukema <boud>
Group Member
Thu 21 Feb 2008 09:28:10 PM UTC, comment #1: 

A comment from Dmitry on a related issue:

https://savannah.nongnu.org/bugs/index.php?21242

I won't include the 'left_column' patch: now that we have MVC architecture and templates, the right way to add this feature is to create an overridable template for the front page controller (see Controller class for hints).

These are not really quite the same issue: the feature
included with bug #21242 is for static text, while the feature
here is from an ordinary message (which may or may not be
editable by users or moderators - moderators can change the
status of the included message).


Boud Roukema <boud>
Group Member
Sat 24 Nov 2007 12:44:48 AM UTC, original submission:  

In order that moderators can manage a section of the
front page left-hand
column without requiring sysadmin access, here is a patch
to include the rendered content of a message in the links
section.  The site config file needs
an entry ['site']['more_links']:


site:
...
  # The content of this article (not the title!) is included automatically
  # in the "Links" section of the left-hand column on the front page.
  more_links: 1234


If this is not defined or it is not an integer, then a zero
length string is added instead.

Patch attached below.

Boud Roukema <boud>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #16460:  080910_more_links-0.2.1.patch added by boud (1KiB - text/x-patch)
file #16300:  080816_more_links-0.2.patch added by boud (995B - text/x-patch)
file #14469:  071123_more_links-0.1.patch added by boud (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by angdraug (Posted a comment)
  • -email is unavailable- added by boud (Submitted the item)
  •  

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-10 angdraug StatusWorks For Me Done
        Open/ClosedOpen Closed
    2008-09-10 boud Attached File- Added 080910_more_links-0.2.1.patch, #16460
        Summarymore_links-0.2 [vs 080703-2] - include rendered content of a message in the frontpage left column more_links-0.2.1 [vs 080811-1] - include rendered content of a message in the frontpage left column
    2008-08-16 boud Attached File- Added 080816_more_links-0.2.patch, #16300
        Summarymore_links-0.1 - include rendered content of a message in the frontpage left column more_links-0.2 [vs 080703-2] - include rendered content of a message in the frontpage left column
    2007-11-24 boud Attached File- Added 071123_more_links-0.1.patch, #14469

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code