Page 1 of 1

CGBlog - Edit/Delete post in frontend

Posted: Sat Dec 11, 2010 11:35 am
by tonholis
It is possible?

I'm using CMS 1.8.2

Re: CGBlog - Edit/Delete post in frontend

Posted: Sat Dec 11, 2010 2:57 pm
by Rolf
No

Re: CGBlog - Edit/Delete post in frontend

Posted: Sat Dec 11, 2010 5:03 pm
by tonholis
I suspected.. :(

I'm trying extend the CGBlog to do this... but when I call my action (called "edit") from details template nothing happens

Link generated
index.php?mact=CGBlog,cntnt01,edit,0&cntnt01articleid=28&cntnt01returnid=77

The link for edit was created from action.default.php (I added this line):

Code: Select all

$onerow->edit_url = $this->CreateLink($id, 'edit', $detailpage, '', $sendtodetail,'', true, false, '', true, $prettyurl); 
It's wrong?

Re: CGBlog - Edit/Delete post in frontend

Posted: Tue Dec 14, 2010 1:23 pm
by tonholis
Anyone?

Re: CGBlog - Edit/Delete post in frontend

Posted: Tue Dec 14, 2010 5:53 pm
by Dr.CSS
This will never work unless you know PHP and modify the module or pay a developer to do it...

Re: CGBlog - Edit/Delete post in frontend

Posted: Tue Dec 14, 2010 6:20 pm
by tonholis
Dr.CSS wrote: This will never work unless you know PHP and modify the module or pay a developer to do it...

Man... I decided to customize this module
I'm working on this now

thanks!

Re: CGBlog - Edit/Delete post in frontend

Posted: Tue Dec 14, 2010 6:23 pm
by Dr.CSS
You can fork it, rename it then work on it and put it in the forge as a new module, it is actually a fork of News, heavily reworked...