Ignored Parameter in FollowLocation Function into link_tag_processor

5 views
Skip to first unread message

Phil -- wbtc.fr --

unread,
Nov 1, 2011, 5:54:10 AM11/1/11
to in-port...@googlegroups.com
Hi guys,

I was trying to make changes to in-link/elements/visit_link.elm.tpl, where the only code is:

<inp2:l_FollowLocation field="Url"/>

but my changes for "field" values weren't working... I've removed completely  field="Url"  from the tag, and it still work the same, because function is coded to look for Url field only.

link_tag_processor > line 238 :   $url = $object->GetDBField('Url'); 

shouldn't we retrieve $param value here? Any objection?

p

Alexander Obuhovich

unread,
Nov 1, 2011, 6:08:39 AM11/1/11
to in-port...@googlegroups.com
Yes, url should be retrieved from a field name, that was given in tag. It's a bug for sure.



--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.



--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Phil -- wbtc.fr --

unread,
Nov 1, 2011, 8:42:17 AM11/1/11
to in-port...@googlegroups.com
may we'd also benefit of having a parameter to pass into

<a href="<inp2:l_LinkLink template="in-link/elements/visit_link.elm"/>" target="_blank">

such as

<inp2:l_LinkLink template="in-link/elements/visit_link.elm" field="Url"/>

and then retrieve it in visit.elm.tpl ?


2011/11/1 Alexander Obuhovich <aik....@gmail.com>

Alexander Obuhovich

unread,
Nov 1, 2011, 9:33:02 AM11/1/11
to in-port...@googlegroups.com
I see no problems doing so, once we have an agreement this this should be done.

Phil -- wbtc.fr --

unread,
Nov 1, 2011, 10:22:23 AM11/1/11
to in-port...@googlegroups.com
let's wait for this agreement then :)

2011/11/1 Alexander Obuhovich <aik....@gmail.com>

Dmitry A.

unread,
Nov 2, 2011, 12:00:26 AM11/2/11
to in-port...@googlegroups.com
Sure, I agree on this.

Alex, would you please create a task and describe what needs to be done there.


DA

Alexander Obuhovich

unread,
Nov 2, 2011, 4:27:49 AM11/2/11
to in-port...@googlegroups.com
Here is the task: http://tracker.in-portal.org/view.php?id=1157



--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/_ytyxRfxGpUJ.

To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.
Reply all
Reply to author
Forward
0 new messages