Giter Club home page Giter Club logo

calendarbundle's People

Contributors

dao avatar problematic avatar robzienert avatar yvoyer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

calendarbundle's Issues

Installation db_driver must be configured

I cloned your branch into /src/Rizza/CalendarBundle
Then added the bundle to the AppKernel as well as updating the config.yml and routing. I get the following error when going to /calendar

InvalidConfigurationException: The child node "db_driver" at path "rizza_calendar" must be configured.

Could not load type "rizza_calendar_calendar"

I was trying to configure this bundle. I create bundle that extends this bundle.

rizza_calendar: 
    db_driver: orm

    class:
        model:
            calendar: Sylius\Sandbox\Bundle\CalendarBundle\Entity\Calendar
            event: Rizza\CalendarBundle\Entity\Event
            user: Adaptive\UserBundle\Model\User
            attendee: Rizza\CalendarBundle\Entity\Attendee

I have implemented classes that extend abstract models but i am still getting error Could not load type "rizza_calendar_calendar"

What else should I do to make this working correctly?

Installation issue

I tried to install the bundle and got (hopefully) everything in place. But I can't call the url.

I always got:

InvalidTypeException: Invalid type for path "rizza_calendar.class.model.calendar". Expected scalar, but got array.

Any idea how this can happen?

I also tried to execute

php app/console doctrine:schema:update --force

to generate my database tables, but get the same error.

Thanks for help

PR10

hello,

I try to install your bundle for test on PR10 when i try to access ti anyone page i have an error like :
Template name "RizzaCalendar:CalendarBundle:list.html.twig" is not valid. ( when i try to access to /calendar/ )

it's possible i have forget something,

Any ideas.?

Active bundle???

Hi! I just want to know if this bundle is running? I need a calendar, please!!! Thanks!

Still alive

Hey,

is this project still beeing mentained?

Implement Recurrence for existing Doctrine DBAL entity

We'd like to make use of the Recurrence model for our existing "availability" implementation. Currently I'm sorting out how I can keep my existing database structure, and minimize the need for extra queries and database changes.

Currently the Availability items are queried based on their dateStart and dateEnd, which works when there is no Recurrence.

What I'd like to do is serialize the Recurrence entity directly into a Doctrine object type that I'll add to the Availability entity. The queries that are in place can stay the same, but I'll only add an DQL WHERE that looks like

SELECT Availability a 
WHERE a.Recurrence IS NOT NULL 
AND a.User.id = :userId

After I want the controller to calculate or some of those recurring events fit in the requested timeframe.

  • Will this allow me to minimize the need to unserialize the Recurrence and calculate extra events?
  • Or is there a better architecture to "add" recurrence to an existing events database model?
  • How to mark recurring events as "finished" with this database model? Maybe something can be added to the DQL (shown above) to not return the finished recurring events?
  • The Recurrence ArrayCollection does not seems to be mapped for Doctrine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.