Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - gokand

2
Issues / view page of multiple selected value and labels
Dear friends,
I have stucked in one issue and cannot figure it out.
I have two tables as
companies and sites

companies : id, name, etc.
Sites: id, sitename, referencecompany(foreignkey), etc.


one company may have multple sites.
I use multi selection in add page(company) as value = id and label = sitename

İssue is  multi selected IDs ar written in sql as an example " 2,5,7"
view page shows only IDs as text view. as "2,5,7"
when I choose mater detail, I can see related view as modal (label of the value) but only one site not all the chosen seperatedly.

is the any way to correct the issue or is it a some bug?



3
General Discussion / Re: Multi Selection and view issue
still not successfull about how to display mulpile chosen Items in view page.
only IDs are showed or when I chose to show label only on label  is dsiplayed.
Does anybody have any tutorial?
4
General Discussion / Multi Selection and view issue
by mistake I removed the post :) sorry.
I put all the details again if somebody needs the info.
code you suggested was:
//execute SQL statement and return the result
for($i=0; $i<count($records); $i++){
    $tags = $records[$i]['tags'];
    $tags = $db->rawQuery("SELECT tags.name FROM tags WHERE tags.id IN ({$tags})");
    $records[$i]['tags']= implode(", ", array_map('current', $tags));
}
Screen shot is like below. and when I add the code before view I got the below error message.



6
General Discussion / Re: Suggested environment
Ok I solved the 2. issue about action buttons not displaying.
Solution:
on the left side database and tables tree view. expand the table and right click on  field as you thought primary key.
and set as primary key and buttons appears.
(Probably script doesnt mark the primary keys when importing)
7
General Discussion / Suggested environment
Dear Guys,
you have a great idea and work. I really want to use it but because of bugs (maybe) and poor support I am reluctant.
I had some issues;
-sql query execution error.
-action buttons not displayed
-parse error etc.

I guess because of environment complability issues.
could you please define suggested environment to live mininum problem?
for example as:
windows ver.
mysql ver.
php ver.
apache ver. (wamp, maxxp et.)
I see that emman published that created app news etc.
I would like to to try the product in a competible environment.


8
Questions / Re: Step by step Tutorial?
Dear Wahomi
I am sorry but I guess you got me wrong.
problem 1. I cannot insert multiple data to table from form. I can choose multiple selection on form but only inserts one.
Problem 2 . file upload are not segregated. I upload files from form but in view secreen all showed in one field.
Problem 3 . Sometimes T_string error emerges
9
Questions / Re: Step by step Tutorial?
My second issue is when I upload multiple files from multiple selections. in view mode it shows all in one section not seperatedly as I uploaded.
11
Questions / Re: Step by step Tutorial?
Dear Willvin
unfortunately its not enough :)
I almoust read all the forum and documentation to work it out.
for example I need to create an area in a form to add multiple entries or files etc. I coulnt find a way.
additionally when I choose to add multiple selection in form, It only records one in multiple selection area.
and the last one, when I created file upload section, in view area it shows all the files in only one area without names.
there are my issues. I hope you guys can help me out. I sincerely can be your beta tester :)
additionally I tried you pyrad, I have some comments about pyrad also :)