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 bottom
Post Reply
Post New Topic
Page: 12
TOPIC: Custom URL doesn't work on ID that isn't displayed
#519
Custom URL doesn't work on ID that isn't displayed 1 Year, 8 Months ago Karma: 0
I configured a "Link for Column" with a primary key to use as custom id (@ID).

The problem is that the key is not there in the URL at all unless I also configure it to display. Well, I don't want to show the primary key to the users.

Any suggestions?

Thank you
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tomstachura
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#520
Re:Custom URL doesn't work on ID that isn't displayed 1 Year, 8 Months ago Karma: 5
Does it happen only with custom url or also with other options. You can try using URL option just to see if your data appears in the url.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tomaz
Moderator
Posts: 282
graph
User Offline Click here to see the profile of this user
Reply Quote
 
#522
Re:Custom URL doesn't work on ID that isn't displayed 1 Year, 8 Months ago Karma: 0
I don't know, because I don't have a field with a URL, but it's an interesting and a valid question.
I temporarily modified the code so I can put "_internal_" in the heading and the field is skipped during display.
I am thinking that the more permanent changes would be to include all other "used" fields in the query and but mark them as non-displayable if they are not in the shown list of columns.
Thank you.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tomstachura
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#524
Re:Custom URL doesn't work on ID that isn't displayed 1 Year, 8 Months ago Karma: 5
I'll take a look. But still you can test it even if you don't have a whole url in your cell. URL won't work, but you'll see what data does the aplication get. Than the URL option simply copies the data from your database into a href=
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tomaz
Moderator
Posts: 282
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/05/27 09:06 By tomaz.
Reply Quote
 
#525
Re:Custom URL doesn't work on ID that isn't displayed 1 Year, 8 Months ago Karma: 1
I have the same bug.

My workaround was to publish the column as the right most and adjust the widths of the columns to push it behind another layer.

austineggdonors.com/index.php?option=com...;gid=1&Itemid=67

The Donor ID is an assigned number, while the record id is hidden under the right column.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
greenkoi
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#527
Re:Custom URL doesn't work on ID that isn't displayed 1 Year, 8 Months ago Karma: 0
I tried that, but in my layout it was still geting squeezed in somehow. Also your layout is fixed width and mine is not.
A good work around though for some cases. Thanks.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tomstachura
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 12
Moderators: tomaz
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting