Yii Framework Forum: Imagesgallerymanager - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Imagesgallerymanager Rate Topic: -----

#1 User is offline   JmsDJ 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 11-January 13
  • Location:India

Posted 06 February 2013 - 05:19 AM

I had successfully installed the imagesgallerymanager extensions to include the feature of photo album in my project.
When I start the gallery index page, it shows "Before add photos to product gallery, you need to save product"

There is no option for adding or saving the product. Where should I work upon to get a photo album.

Thenks in advance...
0

#2 User is offline   Bogdan Savluk 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 65
  • Joined: 20-April 10
  • Location:Kiev

Posted 06 February 2013 - 08:08 AM

View PostJmsDJ, on 06 February 2013 - 05:19 AM, said:

I had successfully installed the imagesgallerymanager extensions to include the feature of photo album in my project.
When I start the gallery index page, it shows "Before add photos to product gallery, you need to save product"

There is no option for adding or saving the product. Where should I work upon to get a photo album.

Thenks in advance...


Probably you are using code example from extension page...

Message "Before add photos to product gallery, you need to save product" - means that there is no record in db for gallery associated with model(it will be shown in case when it is new model either this model never was saved with galleryBehavior).

To fix this you should save model with gallery bahavior at least one time - this will add row for that gallery into db, and you will be able to manage it.
0

#3 User is offline   JmsDJ 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 11-January 13
  • Location:India

Posted 15 February 2013 - 03:59 AM

View PostBogdan Savluk, on 06 February 2013 - 08:08 AM, said:

Probably you are using code example from extension page...

Message "Before add photos to product gallery, you need to save product" - means that there is no record in db for gallery associated with model(it will be shown in case when it is new model either this model never was saved with galleryBehavior).

To fix this you should save model with gallery bahavior at least one time - this will add row for that gallery into db, and you will be able to manage it.


Thanks for the help. I will get it a try...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users