Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Collection not displaying records

[SOLVED] Collection not displaying records 19 Oct 2011 09:19 #276

  • Rob
  • Rob's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Thank you received: 2
  • Karma: 1
Am still learning and so this may be me missing a setting somewhere, but I when I add an item to a Collection in the sandbox, the record is not displaying after it is saved.

I have done my first download and installed the component locally and noticed that here too I can add an item, Apply and Save and it will not list. But I checked the database and the record was added.

In both cases, I am using the Frontend for the collection and item.

Not sure if this is me or if it needs a fix?
Last Edit: 19 Oct 2011 10:32 by admin.
The administrator has disabled public write access.

Re: Collection not displaying records 19 Oct 2011 09:41 #277

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I see you are using a publishing system.

If your item is not published, it is not visible in front-end, neither for admin.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Collection not displaying records 19 Oct 2011 10:08 #278

  • Rob
  • Rob's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Thank you received: 2
  • Karma: 1
Brilliant, thanks!

I now know what the Publishing Wizard does, ...still learning :blink:
The administrator has disabled public write access.

Re: Collection not displaying records 19 Oct 2011 10:30 #279

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
To be able to publish an item, you neen to instance the publish field in a form, or in the grid. In the grid, you'll be able to toggle the publish status.

In combinaison, you can instance publish/unpublish tasks in the collection toolbar. By this way you can publish/unpublish multiples items at a time.
Coding is now a piece of cake
Last Edit: 19 Oct 2011 10:33 by admin.
The administrator has disabled public write access.

Re: Collection not displaying records 19 Oct 2011 11:53 #280

  • Rob
  • Rob's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Thank you received: 2
  • Karma: 1
Thanks for the guidance. Very helpful.

I have made the changes, refreshed the site list and re-published and noticed the following:

on the administrator site:
- I can now see all records with the publish column - Great! but...
- I can't toggle publish status by clicking on the row
- If I tick on a row selection box, I still can't change the publish status by clicking on the Publish button
- I had added Edit and Delete buttons to the tool bar but they also did not appear

On the live Site:
- same as above for publishing from the grid but I can edit and change the status of each record individually
- if I change a record from publish to unpublish, it no longer displays on the grid

In case the above was to do with caching, I have also closed the browser, cleared the cache and started again, but I go the same issues.

I also now have a new issue in that for some reason when I open the Builder I can't see the page layouts I created on the console. Projects and Tables appear fine but pages is blank and I can't view or add or edit.
The administrator has disabled public write access.

Re: Collection not displaying records 19 Oct 2011 12:07 #281

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I can't toggle publish status by clicking on the row

I forget this :
In the grid layout, open the publish field properties, and click the 'Togglable' option. Save the properties.
If I tick on a row selection box, I still can't change the publish status by clicking on the Publish button
This is strange. I see 2 publish fields in your table. Is it normal ?
I had added Edit and Delete buttons to the tool bar but they also did not appear
Because you didn't specify any form item layout in back-end

same as above for publishing from the grid but I can edit and change the status of each record individually
Because in front you defined a form item layout
if I change a record from publish to unpublish, it no longer displays on the grid
In front : this is normal. If you want to see them, please change a little line in your front item model, in the buildWhere function().
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: Rob

Re: Collection not displaying records 19 Oct 2011 12:26 #282

  • Rob
  • Rob's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Thank you received: 2
  • Karma: 1
Thanks for your patience, these resolved it!
The administrator has disabled public write access.
Time to create page: 0.114 seconds

Get Started