Child pages
  • [in-link] Ignored Parameter in FollowLocation Function into link_tag_processor
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/00a084ae20ea0721#

Hi guys,

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

in-link/elements/visit_link.elm.tpl
<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.php
$url = $object->GetDBField('Url'); 

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

MINL-11 - Getting issue details... STATUS

6 Comments

  1. Yes, url should be retrieved from a field name, that was given in tag. It's
    a bug for sure.

  2. 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.b...@gmail.com>

  3. I see no problems doing so, once we have an agreement this this should be
    done.

  4. let's wait for this agreement then :)

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

  5. Sure, I agree on this.

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

    DA

  6. Here is the task:

    MINL-11 - Getting issue details... STATUS