CMS MADE SIMPLE FORGE

CGBlog

 

[#7788] use "fesubmittemplate=" option also with "action=myarticles"

avatar
Created By: Bernd (berny)
Date Submitted: 2012-04-06 12:34

Assigned To: Robert Campbell (calguy1000)
Resolution: Fixed
State: Closed
Summary:
use "fesubmittemplate=" option also with "action=myarticles"
Detailed Description:
I have different and unconnected blogs (with different data fields used...)
organized with CGBlog.
Let's call them blog_1 and blog_2.

Each of the blogs has a separate felisttemplate and a different
fesubmittemplate:
   felisttemplate_1, felisttemplate_2
   fesubmittemplate_1, fesubmittemplate_2

I normally have the blog users manage their own blog entries with separate pages
like this:

{cms_module module="CGBlog" action="myarticles"
felisttemplate="felisttemplate_1"}

{cms_module module="CGBlog" action="myarticles"
felisttemplate="felisttemplate_2"}

Unfortunatelly the "edit_url" generated by those two FEList pages is identic for
both blogs! So they both would link the user to a page in the style of
fesubmittemplate_1 (because I set this one as default fesubmittemplate). Even
the blog_2 uses the fesubmittemplate_1. There is currently no way (that I've
found) to also specify a fesubmittemplate for a felist/myarticles page.

This is why I propose that the myarticles action should also accept the
fesubmittemplate option. It should then only hand this parameter through to its
generated edit_urls. Then, a consistens separation between different blogs (with
a different set of templates) could easily be achieved.

History

Comments
avatar
Date: 2012-06-02 20:36
Posted By: Robert Campbell (calguy1000)

Fixed in svn.
      
Updates

Updated: 2012-12-13 12:11
state: Open => Closed

Updated: 2012-06-02 20:36
resolution_id: => 7