Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • Rob
  • Rob's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 2
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?

Please Log in or Create an account to join the conversation.

Last edit: by admin.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

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

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

I now know what the Publishing Wizard does, ...still learning :blink:

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

Last edit: by admin.

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

  • Rob
  • Rob's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 2
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.

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986

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 following user(s) said Thank You: Rob

Please Log in or Create an account to join the conversation.

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

  • Rob
  • Rob's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 2
Thanks for your patience, these resolved it!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.068 seconds

I would like to Thank you for the Speed and the Quality of your work.
Pantelis (Forum)

Get Started