n00dles / DM_Matrix

The Matrix is an XML file based Database system for GetSimple 3.1
8 stars 7 forks source link

type 'slug' field not showing in schema list #18

Closed outflux3 closed 12 years ago

outflux3 commented 12 years ago

there may be an issue, i have created a field with type slug, however it does not show up in the schema listing;

the field is definitely in the XML file (schema.xml), and also shows up when editing a record; but there is no way to edit the field from the backend since it's not in the list.

n00dles commented 12 years ago

have you pulled down the latest version, this should be working fine.

outflux3 commented 12 years ago

Yes, this is still occurring with the latest version;

n00dles commented 12 years ago

working fine for me here.

when you say on the schema listing, do you mean when you try and add/edit fields ??

outflux3 commented 12 years ago

Yes, if i click on the 'Edit Table' icon, I see 10 of the 11 fields i have defined; the one that is missing is the one of type slug; the field does show when entering/adding a record.

n00dles commented 12 years ago

what name have you given the slug field?

As I say its been working fine since I added it about 2 weeks ago, I've tested on 3 builds here and all working.

n00dles commented 12 years ago

can you post or e-mail me that section of your schema.xml and I can test here.

outflux3 commented 12 years ago

the field is named album_slug

schema.xml:

<?xml version="1.0"?>
<channel><item><name>_routes</name><id>0</id><maxrecords>0</maxrecords><field type="int" tableview="1" cacheindex="1" description="id Field" label="">id</field><field type="text" tableview="" cacheindex="" description="" label="">route</field><field type="text" tableview="" cacheindex="" description="" label="">rewrite</field></item><item><name>_settings</name><id>0</id><maxrecords>1</maxrecords><field type="int" tableview="1" cacheindex="1" description="id Field" label="">id</field></item><item><name>discography</name><id>1</id><maxrecords>0</maxrecords><field type="int" tableview="1" cacheindex="1" description="id Field" label="">id</field><field type="text" tableview="1" cacheindex="1" description="Enter the album title" label="Album Title">album_title</field><field type="text" tableview="0" cacheindex="0" description="Enter keywords, comma separated" label="Keywords">keywords</field><field type="textlong" tableview="0" cacheindex="0" description="Enter a meta description for this album" label="Meta Description">meta_desc</field><field type="text" tableview="1" cacheindex="1" description="Enter the year of release" label="Year">album_year</field><field type="image" tableview="0" cacheindex="0" description="select an album cover" label="Album cover">album_cover</field><field type="textarea" tableview="0" cacheindex="0" description="List the personnel for this album" label="Personnel">personnel</field><field type="texteditor" tableview="0" cacheindex="0" description="Enter the album info" label="Album Description">album_description</field><field type="texteditor" tableview="0" cacheindex="0" description="Enter press quotes here." label="Press Quotes">press_quotes</field><field type="text" tableview="0" cacheindex="0" description="enter the itunes URL for this album" label="Itunes URL">itunes_url</field><field type="slug" tableview="0" cacheindex="0" description="Enter Slug" label="Album Slug">album_slug</field></item></channel>
n00dles commented 12 years ago

Ah , I see it now, the paging script whch is set to 10 items is enabled on that page.

I'll remove it. Thanks for spotting.

n00dles commented 12 years ago

This should be fixed in the latest version.