n00dles / dm_matrix Goto Github PK
View Code? Open in Web Editor NEWThe Matrix is an XML file based Database system for GetSimple 3.1
The Matrix is an XML file based Database system for GetSimple 3.1
Hi there Mike,
Hi there all,
is there an easy way for combining DM_Matrix wit custom fields while creating pages?
with DM_Matrix I can have global data, which is great, jow can I integrate this functionality when creating/editing a page?
thanks for your great work!
I just noticed that the field name is showing instead of the label, on the record editing screen...
Not sure what happened, but i just installed the latest version of Matrix, and tried to add a record, but got a WSOD on this URL:
/admin/load.php?id=DM_Matrix&action=matrix_manager&add=discography&addrecord
maybe my schema is messed up;
also i was able to edit the existing records, but the wysiwyg fields didn't update to CDATA, and I am also still getting 2 ID fields in the xml file, like
<id>0</id><id>0</id>
Need labels for all options in advanced field configs ( click more )
Also syntax descriptions for the text areas for certain fields, checkboxs, combos etc.
I'm using GS 3.1.2 and the latest version of Matrix, and i have a field that is set to type 'wysiwyg', but when editing the record there is no editor, it just appears as a box;
-marc
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.
date time is showing
May 24, 2012 H:i 06:22
after using picker
I was thinking table views would be cool.
You could create a view table but the only field type option is tableview, where you select the table and field.
Obviously this might need some kind of primary/foreign key binding capability as well when using multiple tables.
When i save, i am getting sometime 2 id fields, like 00
DO not use createRecord with an invalid table name, it will scrub the main matrix.xml file.
Markdown preview.php does not exist throwing 404
On all pages i get this
GET http://dev.tablatronix.com/getsimple/hotfixes/admin/[object%20Object] 404 (Not Found) jquery.min.js?v=1.7.1:4
send jquery.min.js?v=1.7.1:4
f.extend.ajax jquery.min.js?v=1.7.1:4
(anonymous function) main.js:62
n jquery.min.js?v=1.7.1:2
o.fireWith jquery.min.js?v=1.7.1:2
e.extend.ready jquery.min.js?v=1.7.1:2
c.addEventListener.B
code block seems to be
if (window.location.hostname === 'blueimp.github.io') {
else
some file upload stuff
being loaded on all pages
todo: convert unix timestamps back to date/time format
This doesn't seem to be working on the edit record page.
just wondering how hard it would be to have the option of users 'repeating' fields..
for example, say you wanted a user to be able to have a record contain links to where to purchase something , but there could be 1 or more links;
this is something that i have used in some CCK like Zoo for joomla; it's not a dealbreaker, as i could just create a text area and have them list the urls like that, but it could make things more fool-proof, so if you had a URL field they would enter the url and then have some options like the URL text and whether it should open in a new window... then they could click a button and add another blank field..
When you select an image using an image field I want the returned image to be displayed in thumbnail format the fields '#image-name' div.
Not sure how to do this though, I've tried a JS onchange on the field input but it doesn't seem to trigger on the close of the
file picker dialog.
Anyone any ideas how to achieve this ??
hmm i cant get my records to save, and no errors.
Editing or adding, nothing happens.
Riptide features some of New York City\\'s ...
i'm getting the backslash problem in fields that are wysiwyg;
i'm just wondering if those wysiwyg fields are supposed to be CDATA; i recall having this issue when first using the get simple "Items manager" plugin...
When i add a new table via UI get this url
http://localhost/getsimple_dev/admin/load.php?id=DM_Matrix&schema&action=matrix_manager&add
and both sidemenus for
manage table and add record are active.
Then my table is not clickable and has no edit button.
Also my old tables are all missing drop table links, is there some unlinked tracking going on that isnt picking pu my old version created tables ?
In this case the field is called 'bio_teaser'; i changed it to bio_snip and then it worked...something about the word teaser i think the matrix doesn't like...
Array
(
[id] => 2
[artist_name] => John Dow
[] => Lorem Ipsum
[bio_full] =>
Lorem Ipsum
[artist_link] => #
[artist_image] => /data/uploads/full-2.jpg
[artist_type] => actor
[slug] => john-doe
)
There appear to be no labels on the fields for the routes table...
Is this working ?
I have trouble with it, i think it removes the schema but not the records ?
Refactor the display field logic into callbacks.
define an array or object of type,function
Turn all if else checks into methods for each datatype.
This should ultimately make displayfield logic extensible, and easily manageable.
Eventual class methods for setting and calling displayers can be added to make datatypes registerable.
jquery.tablesorter.js:332
Uncaught TypeError: Cannot read property 'length' of undefined
Cannot add table, due to this fatal error.
I can't seem to get a WHERE clause to work...trying to filter some table results; any suggestions?
$actors=getSchemaTable('artists',"SELECT id,artist_name,bio_teaser,bio_full,artist_link,artist_image,artist_type,slug FROM returnArray WHERE artist_type='actor' ORDER BY artist_name ASC LIMIT 14");
cheers!
Need to go through the code and i18n all the strings...
Do not use select * it does not properly reset result rows, subsequent rows if null will contain data from previous results.
Very bad bug
Your method of including ckeditor options as variable assignments.
Inserting the GSEDITOROPTIONS is not compatible with this object structure.
as it is an object.
This is from my gsconfig.
define('GSEDITOROPTIONS',
"enterMode: CKEDITOR.ENTER_BR,
shiftEnterMode : CKEDITOR.ENTER_P,
scayt_autoStartup:true,
customConfig : '../../../../theme/bboyApp/assets/js/cke_custom.js'
");
which causes the editor to throw this error.
Uncaught SyntaxError: Unexpected token :
So this need to be converted to the same syntax i think, not very familiar with the ckeditor code.
Why do we have to insert our own ckeditor when the core already has one. Is there not a way to use it as is ?
Is this something i can get added to core eventually, or is everyone ( plugin authors ) reinventing the wheel or having to modify sepcifics like paths ?
Just want to keep track of some new features I'll be adding over the week
Done
o - Collapsible fields - Allow you to open/close fields by clicking and to have them closed by default if required.
o - multi-width fields - fields can have a width of 25/50/75/100 %
o - field reorder - drag and drop reordering of the fields in a table.
To Do
o - form validation - some form validation of fieldnames/table names
o - Add option to add menu item on pages sidebar for table editing.
I haven't been able to get syntax highlighting to work on my codemirror field type; just wondering if I'm doing something wrong...that type of field would presumably have code highlighting, line number etc..(?)..is there any additional setup needed within GetSimple, or the config, for this to work?
-marc
I think it may be better to have the schema for a table stored in the table's folder.
This way it would be easy to move/copy single tables from one site to another.
I get this when i try to do a query
$r = $sql->query("SELECT * FROM test");
Notice: Undefined index: test in /hsphere/local/home/salverso/tablatronix.com/getsimple_dev/plugins/DM_Matrix/include/sql4array.php on line 88
I'm having a strange issue with this table; i have a wysiwyg field where i can't get it to show up, and after looking at the array, it seems that I'm getting [] without the name of the field, which is 'teaser';
[id] => 4
[album_title] => Title
[slug] => 1996-title
[keywords] =>
[meta_desc] =>
[album_year] => 1996
[album_cover] => /data/uploads/items/image.jpg
[personnel] =>
[] =>
[album_description] =>
[press_quotes] =>
[itunes_url] => http://itunes.apple.com...
My template field says this when adding a record.
unable to open ......getsimple/theme/
Is this suppose to work yet ?
enhancement/bug
Sort doesn't seem to work without specifying asc or desc , should default to asc if absent.
I was setting up a downloads table today and realized there is no document browser option...just wondering if I am missing something, or it it is possible to add a document field type.
Undefined property: TheMatrix::$schemaArray in [/getsimple/hotfixes/plugins/matrix/php/forms/edit_fields.php:39]
Backtrace →
#0 include("/hsphere/local/home/salverso/dev.tablatronix.com/getsimple/hotfixes/plugins/matrix/php/admin/tables.php") called at [/getsimple/hotfixes/plugins/matrix/php/classes/matrix.php:2370]
#1 TheMatrix->admin() called at [:]
#2 call_user_func_array(array(array(array()),"admin"),array()) called at [/getsimple/hotfixes/admin/load.php:39]
PHP WARNING93.32 ms 2.06 mb
Invalid argument supplied for foreach() in [/getsimple/hotfixes/plugins/matrix/php/forms/edit_fields.php:39]
Backtrace →
#0 include("/hsphere/local/home/salverso/dev.tablatronix.com/getsimple/hotfixes/plugins/matrix/php/admin/tables.php") called at [/getsimple/hotfixes/plugins/matrix/php/classes/matrix.php:2370]
#1 TheMatrix->admin() called at [:]
#2 call_user_func_array(array(array(array()),"admin"),array()) called at [/getsimple/hotfixes/admin/load.php:39]
Hey - this is the 2nd site i did which makes use of Matrix:
http://www.soundingbeckett.com/
the actors & composers are all handled by the matrix; really worked out well for managing this, and easy to use for the folks who need to maintain ;
Can the page slug field be a dropdown field pre-populated with all titles/slugs available?
Allow you to add a tables fields to a page template.
This will replace the current customfields plugin and allow you to have different customfields per template.
Instead if writing data to the tables the fields will be written to the page XML files like customfields do now.
This is easy to implement and I might do before release ?
What do you guys think? leave it for the next release?
Do you see any benefit of a datatype of 'tags' ?
Hey guys,
Final call for changes before I release to Extend.
Anything you think should be added / changed ?
minor issue but might affect other failures.
The failure alerts such as "Unable to drop tablenamexxxx" alert is a success alert, yellow with green not red error.
drop a table then refresh the page to get his message for testing.
At the moment the system is not great for doing gallery type tables.
I was thinking of doing a grid field for doing this.
This would allow you to create a table for your gallery images (e.g title, image, description - per image.. )
The create a gallery table with a grid field which will allow multiples of the above field.
I'm on GS 3.1 and when i go to the matrix, is is showing the hidden tables:
_routes 0 / 0 3 [Add Record]
_settings 0 / 1 1 [Edit table] [Delete Table _settings]
discography 1 / 0 11 [Edit table] [Add Record]
and there is no routes tab on the right..
Just wanted to report this..
everything else is working as before...
also, thanks for the credit!
btw, alienee and outflux3 are same person..i used different username between github and gs forum..
cheers
Hi Mike,
Just wanted to post a few general questions here as i'm almost done with setting up an application using matrix...
1.) how can I get text editor fields to output without escaped quotes
2.) what is the procedure to have a record become a page (i.e. if a single record is a blog entry, how to access that as a page) and how to template that;
3.) is there any way to pull an excerpt from a texteditor field.
Thanks!
-marc
Add status notifications for actions.
Use GS standard for notifications in header for create, save, delete actions.
Minor error thrown.
Warning: mkdir(): File exists in getsimple_dev/plugins/DM_Matrix/include/DM_matrix_functions.php on line 12
I think this is trying to addAchema when it already exists.
Getting the above error on lines 908 and 918 of matrix.class.php
At the moment checkbox values are either 'on' or 'null'
should we change this to 0 and 1 or on and off ?
which is best/more intuitive for querying?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.