Hi Phil,
Well, it's not anyhow related to the upgrade. The IF check to whether
include or not that Google JS is based on the current template which
is loaded. Again I can guarantee it's not related to the upgrade.
I believe in your case you are NOT looking at in-link/link/link_detail
template which is why it simply skips the IF.
Please put this Template is: <inp2:m_Get name="t"/> into the footer
template and open your links detailed page. Let me know the template.
By the way, all this and more information can be found with Debug On.
Thanks.
DA
On May 16, 11:18 am, "Phil --
wbtc.fr --" <
p...@wbtc.fr> wrote:
> I'm under 503 RC1 too (updated from 502), and it doesn't work for me, gmap
> js is skipped when using this code.
>
> Another info, the code respond "false": the JS is loaded when I put a
> <inp2:m_else/> just after.
>
> I can do a test on a new install, but if it works for you, it means update
> system isn't perfect...
>
> 2010/5/16 Dmitry Andrejev <
dandre...@gmail.com>
> > On Sat, May 15, 2010 at 6:56 AM, Phil --
wbtc.fr -- <
p...@wbtc.fr> wrote:
> > > Hi Dmitry,
>
> > > sorry if I haven't been clear, but as I said in my first post, the
> > following
> > > code
>
> > > <inp2:m_if check="m_IsActive" t="in-link/links/link_detail">
>
> > > is NOT working either...
>
> > > Phil.
>
> > > 2010/5/14 Dmitry Andrejev <
dandre...@gmail.com>
>
> > >> Hi Phil,
>
> > >> Yes, there seems to be a small bug in the IFs for In-Link in Advanced
> > >> theme. The correct template code would be like this:
>
> > >> <!--## GOOGLE MAPS API INTEGRATION ##-->
> > >> <inp2:m_if check="m_IsActive" t="in-link/links/link_detail">
> > >> <inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
> > >> <script type="text/javascript"
> > >> src="
http://www.google.com/jsapi?key=<inp2:m_GetConfig
> > >> name="l_GoogleMapsAPIKey"/>"></script>
> > >> <script type="text/javascript" src="<inp2:m_TemplatesBase
> > >> module="In-Link"/>inc/googlemaps.js"></script>
> > >> </inp2:m_if>
> > >> </inp2:m_if>
> > >> <!--## GOOGLE MAPS API INTEGRATION ##-->
>
> > >> Here is task:
>
> > >> 729: Google maps JS doesn't load on Link Details template
>
> > >>
http://tracker.in-portal.org/view.php?id=729
>
> > >> Thanks.
>
> > >> DA
>
> > >> On Fri, May 14, 2010 at 3:48 AM, Phil --
wbtc.fr -- <
p...@wbtc.fr>
> > wrote:
> > >> > Hello Alex,
>
> > >> > I'm using advanced theme, and there's 2 conditional checks in the
> > >> > module-specific header html_head.elm:
>
> > >> > 5: <inp2:m_if check="m_IsActive" t="in-link/link_standard">
> > >> > 6: <inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
>
> > >> > the first one doesn't work, but the second one does, as I've skipped
> > the
> > >> > first one and gmap JS is loading correctly. I'm under 503-RC1.
>
> > >> > Phil.
>
> > >> > 2010/5/14 Alexander Obuhovich <
aik.b...@gmail.com>
>
> > >> >> You are saying that google maps doesn't work at all on link details
> > >> >> template?
>
> > >> >> 2nd variant of yours should work in "advanced" theme.
>
> > >> >> On Thu, May 13, 2010 at 4:40 PM, Phil --
wbtc.fr -- <
p...@wbtc.fr>
> > >> >> wrote:
>
> > >> >>> Hello,
>
> > >> >>> in advanced theme, file in-link/elements/html_head.elm.tpl, line 5
> > >> >>> (gmap
> > >> >>> js loading):
>
> > >> >>> <inp2:m_if check="m_IsActive" t="in-link/detail">
>
> > >> >>> doesn't work, I've tried to replace it with
>
> > >> >>> <inp2:m_if check="m_IsActive" t="in-link/links/link_detail">
>
> > >> >>> doesn't work too.
>
> > >> >>> What is the correct spelling here?
>
> > >> >>> Phil.
>
> > >> >>> --
> > >> >>> 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<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> > .
> > >> >> To unsubscribe from this group, send email to
> > >> >>
in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> > .
> > >> >
in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> > .
> > >>
in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> > .
> > >
in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> > .
> >
in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go
oglegroups.com>
> > .
> For more options, visit this group athttp://
groups.google.com/group/in-portal-bugs?hl=en.