Welcome, Guest
Please Login or Register.    Lost Password?

Custom URL doesn't work on ID that isn't displayed
(1 viewing) (1) Guest
Welcome to the ToolsJX forum!


Go to bottomPage: 12
TOPIC: Custom URL doesn't work on ID that isn't displayed
#554
Re:Custom URL doesn't work on ID that isn't displayed 3 Months, 1 Week ago Karma: 1
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:

[img]http://www.toolsjx.com/images/fbfiles/images/JXTableFail.gif[/img]
greenkoi
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/03 17:02 By greenkoi.
The administrator has disabled public write access.
 
#556
Re:Custom URL doesn't work on ID that isn't displayed 3 Months, 1 Week ago Karma: 1
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.
greenkoi
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#558
Re:Custom URL doesn't work on ID that isn't displayed 3 Months ago Karma: 0
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.
File Attachment:
File Name: GridView.zip
File Size: 3960
tomstachura
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/05 08:39 By tomstachura.
The administrator has disabled public write access.
 
#572
Re:Custom URL doesn't work on ID that isn't displayed 3 Months ago Karma: 1
There was a little bug:

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

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

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ž
tomaz
Expert Boarder
Posts: 91
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/07 17:01 By tomaz.
The administrator has disabled public write access.
 
#576
Re:Custom URL doesn't work on ID that isn't displayed 3 Months ago Karma: 0
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.
tomstachura
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting