You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Manos Batsis (JIRA)" <ji...@apache.org> on 2009/01/29 11:54:11 UTC
[jira] Created: (ROL-1786) Add "named" pin support
Add "named" pin support
-----------------------
Key: ROL-1786
URL: https://issues.apache.org/roller/browse/ROL-1786
Project: Roller
Issue Type: New Feature
Components: Database Access & Data Model, Page Rendering & Management, Planet Aggregator, Theme specific, Weblog Editor
Affects Versions: 4.0.1
Reporter: Manos Batsis
Assignee: Roller Unassigned
Currently roller includes basic "Pin to Main" functionality. We did a project that required the ability to create named pins, without disrupting the existing "Pin to Main" stuff. This allows us to:
1) pin posts to specific places in the main (or any other) page that has access to the site model.
2) preserve compatibility with the existing "Pin to Main" for generic bulletin board style pins.
I'm attaching a rough patch for review. If you are interested in eventually adding this to the trunk, I would be happy to make any corrections/additions etc and help with this. Our implementation only covers JPA/MySQL. Bellow you can find an example of how we use this in our main page (i.e. a modified version of main's Weblog.vm), I'm adding this cause the patch does not include modifications to main, as this requires some effort from my part right now:
#set($pinMap = $site.getNamedPinEntryMap(5))
<tr>
<td class="named-pin" id="named-pin1" colspan="6">
#set($namedPinEntry = $pinMap.namedPin1)
<h2>
<a class="named-pin-title" href="$utils.escapeHTML($namedPinEntry.permalink)">
$utils.truncateNicely($utils.removeHTML($namedPinEntry.title), 50, 50, "...")
</a>
</h2>
<p class="named-pin-content">
$utils.escapeHTML($namedPinEntry.summary)
<a class="named-pin-more" href="$utils.escapeHTML($namedPinEntry.permalink)">
Read More...
</a>
</p>
</td>
</tr>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ROL-1786) Add "named" pin support
Posted by "Manos Batsis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/roller/browse/ROL-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manos Batsis updated ROL-1786:
------------------------------
Attachment: namedPinRoller5.patch.txt
This patch applies to the 5ish trunk. Also adds a 400-to-500-migration.vm. The only thing missing is the message property for weblogEdit.namedPin and perhaps the form field in EntryAdd/Edit.jsp should be moved in the Advanced Settings section.
> Add "named" pin support
> -----------------------
>
> Key: ROL-1786
> URL: https://issues.apache.org/roller/browse/ROL-1786
> Project: Roller
> Issue Type: New Feature
> Components: Database Access & Data Model, Page Rendering & Management, Planet Aggregator, Theme specific, Weblog Editor
> Affects Versions: 4.0.1
> Reporter: Manos Batsis
> Assignee: Roller Unassigned
> Attachments: namedPinRoller5.patch.txt, roller-401-named-pins-patch.txt
>
>
> Currently roller includes basic "Pin to Main" functionality. We did a project that required the ability to create named pins, without disrupting the existing "Pin to Main" stuff. This allows us to:
> 1) pin posts to specific places in the main (or any other) page that has access to the site model.
> 2) preserve compatibility with the existing "Pin to Main" for generic bulletin board style pins.
> I'm attaching a rough patch for review. If you are interested in eventually adding this to the trunk, I would be happy to make any corrections/additions etc and help with this. Our implementation only covers JPA/MySQL. Bellow you can find an example of how we use this in our main page (i.e. a modified version of main's Weblog.vm), I'm adding this cause the patch does not include modifications to main, as this requires some effort from my part right now:
> #set($pinMap = $site.getNamedPinEntryMap(5))
> <tr>
> <td class="named-pin" id="named-pin1" colspan="6">
> #set($namedPinEntry = $pinMap.namedPin1)
> <h2>
> <a class="named-pin-title" href="$utils.escapeHTML($namedPinEntry.permalink)">
> $utils.truncateNicely($utils.removeHTML($namedPinEntry.title), 50, 50, "...")
> </a>
> </h2>
> <p class="named-pin-content">
> $utils.escapeHTML($namedPinEntry.summary)
> <a class="named-pin-more" href="$utils.escapeHTML($namedPinEntry.permalink)">
> Read More...
> </a>
> </p>
> </td>
> </tr>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ROL-1786) Add "named" pin support
Posted by "Manos Batsis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/roller/browse/ROL-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manos Batsis updated ROL-1786:
------------------------------
Attachment: roller-401-named-pins-patch.txt
adds named pin support to 401
> Add "named" pin support
> -----------------------
>
> Key: ROL-1786
> URL: https://issues.apache.org/roller/browse/ROL-1786
> Project: Roller
> Issue Type: New Feature
> Components: Database Access & Data Model, Page Rendering & Management, Planet Aggregator, Theme specific, Weblog Editor
> Affects Versions: 4.0.1
> Reporter: Manos Batsis
> Assignee: Roller Unassigned
> Attachments: roller-401-named-pins-patch.txt
>
>
> Currently roller includes basic "Pin to Main" functionality. We did a project that required the ability to create named pins, without disrupting the existing "Pin to Main" stuff. This allows us to:
> 1) pin posts to specific places in the main (or any other) page that has access to the site model.
> 2) preserve compatibility with the existing "Pin to Main" for generic bulletin board style pins.
> I'm attaching a rough patch for review. If you are interested in eventually adding this to the trunk, I would be happy to make any corrections/additions etc and help with this. Our implementation only covers JPA/MySQL. Bellow you can find an example of how we use this in our main page (i.e. a modified version of main's Weblog.vm), I'm adding this cause the patch does not include modifications to main, as this requires some effort from my part right now:
> #set($pinMap = $site.getNamedPinEntryMap(5))
> <tr>
> <td class="named-pin" id="named-pin1" colspan="6">
> #set($namedPinEntry = $pinMap.namedPin1)
> <h2>
> <a class="named-pin-title" href="$utils.escapeHTML($namedPinEntry.permalink)">
> $utils.truncateNicely($utils.removeHTML($namedPinEntry.title), 50, 50, "...")
> </a>
> </h2>
> <p class="named-pin-content">
> $utils.escapeHTML($namedPinEntry.summary)
> <a class="named-pin-more" href="$utils.escapeHTML($namedPinEntry.permalink)">
> Read More...
> </a>
> </p>
> </td>
> </tr>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ROL-1786) Add "named" pin support
Posted by "Manos Batsis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/roller/browse/ROL-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manos Batsis updated ROL-1786:
------------------------------
Attachment: screenshot-1.jpg
Just a sample of how we use this for a more "portalish" look in the main page. Sorry for making this private but the project is not public yet.
> Add "named" pin support
> -----------------------
>
> Key: ROL-1786
> URL: https://issues.apache.org/roller/browse/ROL-1786
> Project: Roller
> Issue Type: New Feature
> Components: Database Access & Data Model, Page Rendering & Management, Planet Aggregator, Theme specific, Weblog Editor
> Affects Versions: 4.0.1
> Reporter: Manos Batsis
> Assignee: Roller Unassigned
> Attachments: namedPinRoller5.patch.txt, roller-401-named-pins-patch.txt, screenshot-1.jpg
>
>
> Currently roller includes basic "Pin to Main" functionality. We did a project that required the ability to create named pins, without disrupting the existing "Pin to Main" stuff. This allows us to:
> 1) pin posts to specific places in the main (or any other) page that has access to the site model.
> 2) preserve compatibility with the existing "Pin to Main" for generic bulletin board style pins.
> I'm attaching a rough patch for review. If you are interested in eventually adding this to the trunk, I would be happy to make any corrections/additions etc and help with this. Our implementation only covers JPA/MySQL. Bellow you can find an example of how we use this in our main page (i.e. a modified version of main's Weblog.vm), I'm adding this cause the patch does not include modifications to main, as this requires some effort from my part right now:
> #set($pinMap = $site.getNamedPinEntryMap(5))
> <tr>
> <td class="named-pin" id="named-pin1" colspan="6">
> #set($namedPinEntry = $pinMap.namedPin1)
> <h2>
> <a class="named-pin-title" href="$utils.escapeHTML($namedPinEntry.permalink)">
> $utils.truncateNicely($utils.removeHTML($namedPinEntry.title), 50, 50, "...")
> </a>
> </h2>
> <p class="named-pin-content">
> $utils.escapeHTML($namedPinEntry.summary)
> <a class="named-pin-more" href="$utils.escapeHTML($namedPinEntry.permalink)">
> Read More...
> </a>
> </p>
> </td>
> </tr>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.