Hi all.
Now we need a small module to gather data from of the tablemanager module wich will have the following functionality.
the example/documentation of how to gather the data is avaible on http://drupal.org/project/tablemanager
here is what we need on our module.
Image this case:
Our table with id 7 might contain hundreds or thousands of rows.
I want to filter display of rows by using the function tablemanager_display provided by the author of the tablemanager module so it displays for me what i need only so employee can see only his work, client only his demands and also to have displayed only rows containing some specific strings.
here is what we need:
1. filter rows by using a string. link to call the module should be something like: http://mysite.com/mynewmodule/tableid/collumn-where-to-search-on/my-string. ( ex: http://example.com/info/7/3/Webmaster the module wich we will create (info) will gather data from table with id 7, will select column to search on collumn 3 for the string Webmaster )
hint: $output .= tablemanager_display(7, NULL, FALSE, array('column' => 3, 'start' => "Webmaster"));
2. edit the field types inside the tablemanager.module at line ~760 so it makes the:
a. author field's link changed to trigger the request nr 1
hint: for example in http://proref.fr/tables/7 on the lastest row we have the author as being Webmaster and Client Alexandra
When i click the employee name (ex Webmaster) mynewmodule will filter for me all the rows and display only the ones where employee is webmaster in a link on module from request nr 1 http://proref.fr/info/7/1/Webmaster
$output .= tablemanager_display(7, NULL, FALSE, array('column' => 1, 'start' => "Webmaster"));
b. user reference field's link changed to trigger the request nr 1.
When i click the client name (ex Alexandra) mynewmodule will to filter for me all the rows and display only the ones where client is Alexandra in a link on module from request nr 1 http://proref.fr/info/7/2/Alexandra
$output .= tablemanager_display(7, NULL, FALSE, array('column' => 2, 'start' => "Alexandra"));
c. textbox and selection choices adds a link to trigger the request nr 1.
When i click the string name (ex internallink-to-the-node) mynewmodule will to filter for me all the rows and display only the ones where string is internallink-to-the-node in a link on module from request nr 1 http://proref.fr/info/7/2/internallink-to-the-node
$output .= tablemanager_display(7, NULL, FALSE, array('column' => 4, 'start' => "internallink-to-the-node"));
note that the actual http://proref.fr/tables/7 is not showing the good links. is just a test-table
3. Nice links. (optional) My module should display names instead numbers example: http://proref.fr/info/rezultate/client/Alexandra instead of http://proref.fr/info/7/2/Alexandra
4. permissions so employee can have displayed only own results, client displayed only fields matching him, and amm other strings per user groups
thanks
we preffer to work with individuals. we dont need the pdf presentations of your company, i will NOT reply to that kind of emails.
This project should be very simple for you. What we need is someone who looks at this project, informs us with his price and delay and if we agree we continue start doing it.
I am avaible and i can give any info/details by email chat or phone
thank you
Ciprian.