Search

Hi Again, sorry to flood.

I’m creating a customised CSV upload extension that adds an upload field to the publish list page - this is all working fine (see: http://cl.ly/fddb2e12092cd5ad9c36). However I’m having problems actually creating the entry (for the specified section).

I’ve tried multiple variations of creating a new SectionManager instance, fetching the section and creating an EntryManager instance and then creating from that to no avail.

Is there an easy way to create a new section entry record by creating an EntryManager instance, injecting my values into that and committing or am I thinking too simply here?

Thanks! L

Have a look at this snippet. Pay attention to non declared variables :D

Totally awesome, thanks so much!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details