https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Custom URL doesn't work on ID that isn't displayed

More
13 years 10 months ago #554

I just looked at my site in IE and the column with the ID used for sorting that is hidden in FF and Chrome is showing up

I effing hate IE.

That said, I need to get the link column working for one that is not shown. This works:



This does NOT:

Last edit: 13 years 10 months ago by greenkoi.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #556

I also tried setting the width of the column to zero, hoping it would hide, but no good.

Any thoughts ?

Would you like a login to take a look ?

I'd really like to get this resolved as soon as possible.

Please Log in or Create an account to join the conversation.

  • tomstachura
  • tomstachura's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 10 months ago #558

This is what I did: I modified the attached grid view to exclude columns with "_internal_" heading from the view.

Note that this is limited to my simple grid and might not work in combination with other features, so no warranty :).

You can run a diff to find my changes or just search for "_internal_" and you will get the idea.

I am hoping that they would incorporate something like this into the product.

To use it, save your gridview.php file under com_grid\layouts (I think) and place this one instead. Put "_internal_" (without quotes) as a heading of any column you don't want to show, but still want included for other reasons.

Attachment GridView.zip not found

Last edit: 13 years 10 months ago by tomstachura.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #572

There was a little bug:

To make the things work, just change line 139 in components/com_grid/GridBuilder.php from:

if($this->_config->link[2*$i]!=0 && !in_array($this->_config->link[2*$i+1], $query_columns))
to:
if($this->_config->link[2*$i]!="0" && !in_array($this->_config->link[2*$i+1], $query_columns))

...or wait untill new version comes out.

Regards,
Tomaž

Last edit: 13 years 10 months ago by tomaz.

Please Log in or Create an account to join the conversation.

  • tomstachura
  • tomstachura's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 10 months ago #576

Well, I already have a work-around, which I am hoping would be incorporated - maybe together with the above fix - I will wait for the official update.

Thank you.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.159 seconds

Contact Us

Contact us on Discord

Contact us on Facebook