I am having an issue that when I change the column captions under columns the data disappears. Am i doing this the wrong way or is this a known bug. I have tried with no CAPS and no special characters. ie. column name in DB is first_name, would like to display FirstName, First, first. As soon as I make a change and save the query no longer has the data. Another example is image is the column name but I may not want to display only that caption so i remove the Caption and the same thing happens.
Any help would be appreciated...
BTW I am a noob at this so I may jsut be overlooking something.
Ok, you information was actually very helpful. We found that bug and we are preparing new version. In case you want to fix it right away you have to open file components/com_grid/layouts/CardView.php and change line 169 to
Thanks... I started poking around yesterday and say that same line, but was not about to change it for fear that I may break something...
I will make the change so I can start using it today.
I will post a few enhancement requests later this week, but one that I would particularly be interested in is having an option to not display captions for individual columns... (i.e. I don't need to know that the image is actually called image. I guess I could just put a space but then wouldn't it still show a ":" next to the picture. This may be taken care of already but since i have had my problem, i can not check it. If it is not, I might suggest doing it with an if statement or something equivalent. (i.e. If columnCaptions != Null then ":", or something like that. I have not done any coding in almost 20 years so my notes/operaters may be wrong, but I hope I am clear enough.)
Thanks again for the great support.
Also, is there a way to change my user name from my email to something else?
The administrator has disabled public write access.
Re: Issue with Changing Column Captions
3 years 10 months ago #726
I made the change and it no longer removes the data, however, the captions data is not changed. It is still using the columnNames to display the captions... so I am sure there is at least one more change that needs to take place, if not more than one...
Please let me know the location/values of the other changes and I will make the changes while I wait on an updated file.