[TYPO3-news] [TYPO3-project-news] Re: [TYPO3-project-news] Re: [TYPO3-project-news] how to provide a delete link for news item

Elin Yordanov elin.yordanov at de-media.de
Tue Sep 6 11:43:04 CEST 2016


Hi Andi,

edit link in HTML-Templates looks like:

  <a href="%editurl$s"><img src="/typo3/gfx/clear.gif" style="background-image:url('/typo3/sysext/t3skin/images/sprites/t3skin (at) x2.png?1391354179') !important; background-size: 322px 525px; background-position: -36px -54px !important;height: 16px;width: 16px;"></a>

and there is also the following line in the same function but a bit later:

			$row['editurl']  = $this->fullURL.htmlspecialchars($cObject->typolink(NULL, $configurations));

The formed developer didn't modified the tt_news extension, he created another extension which extends tt_news. As I consulted to an experienced TYPO3 developer to review and give me some advise, he has stated that I should write own function to delete entries and attach it to the function which is called after a delete link is clicked. He also has stated that the way this extension is written is not the state of the art on TYPO3. The former developer had not used an MVC structure at all.

I'll try to find my way around this extension and if get any problems, I'll write here, maybe in a new thread.

Thank you for your efforts to help!

Regards
Elin


More information about the TYPO3-project-news mailing list