Giter Site home page Giter Site logo

dm_matrix's People

Contributors

lokothodida avatar n00dles avatar tablatronix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dm_matrix's Issues

combine DM_Matrix with custom fields

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!

WSOD on record save

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>

Create table fields are confusing

Need labels for all options in advanced field configs ( click more )
Also syntax descriptions for the text areas for certain fields, checkboxs, combos etc.

wysiwyg field - no editor

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

type 'slug' field not showing in schema list

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.

table views

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.

js error

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

date formats

todo: convert unix timestamps back to date/time format

This doesn't seem to be working on the edit record page.

repeater field

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..

Display selected Image on select

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 ??

records not saving

hmm i cant get my records to save, and no errors.
Editing or adding, nothing happens.

wysiwyg fields getting excess backslash

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...

Another instance of empty field name

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

)

dropSchemaTable

Is this working ?
I have trouble with it, i think it removes the schema but not the records ?

displayfield logic refactor

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.

Tablesort error on load

jquery.tablesorter.js:332
Uncaught TypeError: Cannot read property 'length' of undefined

Cannot add table, due to this fatal error.

having trouble with 'WHERE' in SQL

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!

select * is bugged, do not use

Do not use select * it does not properly reset result rows, subsequent rows if null will contain data from previous results.
Very bad bug

editor field doesnt work

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 ?

New features

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.

Codemirror, Syntax Highlighting

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

store schema in table folder?

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.

hmm not working

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

empty field name in array

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...

template field issue

My template field says this when adding a record.

unable to open ......getsimple/theme/

Is this suppose to work yet ?

sort requires asc or desc

enhancement/bug

Sort doesn't seem to work without specifying asc or desc , should default to asc if absent.

Document Field

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.

some minor php errors

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]

site using matrix

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 ;

system table - _customfields

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?

Final Call for Changes

Hey guys,

Final call for changes before I release to Extend.

Anything you think should be added / changed ?

failed alert as success alert

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.

Field Type - Grid

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.

Latest Version Issues

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

general questions

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

status update notifications

Add status notifications for actions.

Use GS standard for notifications in header for create, save, delete actions.

addschema error

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.
­

Checkbox values

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.