Re: Custom displayLibrary.cfm

Phillip Rasmussen <[email protected]> Wed, 4 Mar 2015 21:33:41 -0800 (PST)
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
------=_Part_5391_1436094274.1425533621227
Content-Type: multipart/alternative; 
	boundary="----=_Part_5392_867754485.1425533621227"

------=_Part_5392_867754485.1425533621227
Content-Type: text/plain; charset=UTF-8

This really all come about because I've been working with the google maps 
plugin. I've extended the mapslocation type to include a country code. When 
creating a map, adding locations becomes problematic if you want to do a 
quick search on fields other than label. ie search on country code.
The fix above does work to initially displaying the correct displayLibrary 
but then it defaults to the parent typename once you search or hit the 
pagination.
It does seem sensible to have a global displayLibrary kind of webskin for 
each content type.

<https://lh6.googleusercontent.com/-BBV2OksaEcU/VPfqmzxDw-I/AAAAAAAAJds/J7bgrDn80ac/s1600/displayLibrary.jpg>


Phil


On Thursday, 5 March 2015 18:07:17 UTC+13, Justin Carter wrote:
>
> I'd second what modius says and start a thread in the new Discourse forum 
> if it's an issue you want to work through. It would help to know a little 
> bit about your content types, the property on which you are doing the join, 
> and maybe some screenshots which show what result you are getting and what 
> you might expect to be different.
>
> The way the library picker works, it is a view on the content type which 
> the property belongs to, rather than the types you are joining to.
>
> cheers,
> Justin
>
>
> On Thu, Mar 5, 2015 at 3:30 PM, Geoff Bowers <[email protected] 
> <javascript:>> wrote:
>
>> might be a discussion worth reviving on the forum.  I suspect the logic 
>> behind this is that the view is on the object being edited -- you might 
>> have a custom way of picking that content type.  Rather than defaulting to 
>> a view on the picked item -- which would give you a handy global change to 
>> picking that content type.
>>
>> GB
>>
>> On 5 March 2015 at 15:22, Phillip Rasmussen <[email protected] 
>> <javascript:>> wrote:
>>
>>> Hi Chris,
>>> Looks like I'm 3 years behind you.
>>> It indeed seems to work in an odd way. Did you ever resolve it?
>>> In the mean time I've used:
>>> <skin:view stobject="#stobj#" webskin="displayLibrary" 
>>> typename="#stMetadata.ftJoin#"  />
>>>
>>> Seems to work so far.
>>> Phil
>>>
>>>
>>>
>>>
>>> On Sunday, 20 November 2011 11:55:53 UTC+13, Chris Kent wrote:
>>>>
>>>> Thanks AJ, 
>>>>
>>>> But the problem is that the parent content object admin is 
>>>> calling /core/webskin/fourq/displayLibraryTabs.cfm and this is running 
>>>> the following code to get the displayLibrary.cfm view
>>>> <skin:view stobject="#stobj#" webskin="displayLibrary" />
>>>>
>>>> Which is picking up the library picker from the parent content item 
>>>> (stobj)
>>>>
>>>> Chris.
>>>>
>>>  -- 
>>> You received this message cos you are subscribed to "farcry-dev" Google 
>>> group.
>>> To post, email: farcr...-/[email protected] <javascript:>
>>> To unsubscribe, email: farcry-dev+...-/[email protected] <javascript:>
>>> For more options: http://groups.google.com/group/farcry-dev
>>> --------------------------------
>>> Follow us on Twitter: http://twitter.com/farcry
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "farcry-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to farcry-dev+...-/[email protected] <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  -- 
>> You received this message cos you are subscribed to "farcry-dev" Google 
>> group.
>> To post, email: farcr...-/[email protected] <javascript:>
>> To unsubscribe, email: farcry-dev+...-/[email protected] <javascript:>
>> For more options: http://groups.google.com/group/farcry-dev
>> --------------------------------
>> Follow us on Twitter: http://twitter.com/farcry
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "farcry-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to farcry-dev+...-/[email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.

------=_Part_5392_867754485.1425533621227
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This really all come about because I've been working with =
the google maps plugin. I've extended the mapslocation type to include a co=
untry code. When creating a map, adding locations becomes problematic if yo=
u want to do a quick search on fields other than label. ie search on countr=
y code.<div>The fix above does work to initially displaying the correct dis=
playLibrary but then it defaults to the parent typename once you search or =
hit the pagination.</div><div>It does seem sensible to have a global displa=
yLibrary kind of webskin for each content type.</div><div><br></div><p clas=
s=3D"separator" style=3D"text-align: center; clear: both;"><a imageanchor=
=3D"1" href=3D"https://lh6.googleusercontent.com/-BBV2OksaEcU/VPfqmzxDw-I/A=
AAAAAAAJds/J7bgrDn80ac/s1600/displayLibrary.jpg" style=3D"margin-left: 1em;=
 margin-right: 1em;"><img src=3D"https://lh6.googleusercontent.com/-BBV2Oks=
aEcU/VPfqmzxDw-I/AAAAAAAAJds/J7bgrDn80ac/s320/displayLibrary.jpg" border=3D=
"0" style=3D"" width=3D"159" height=3D"320"></a></p><div><br></div><div><br=
></div><div>Phil</div><div><br><br>On Thursday, 5 March 2015 18:07:17 UTC+1=
3, Justin Carter  wrote:<blockquote class=3D"gmail_quote" style=3D"margin: =
0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div d=
ir=3D"ltr">I'd second what modius says and start a thread in the new Discou=
rse forum if it's an issue you want to work through. It would help to know =
a little bit about your content types, the property on which you are doing =
the join, and maybe some screenshots which show what result you are getting=
 and what you might expect to be different.<div><br></div><div>The way the =
library picker works, it is a view on the content type which the property b=
elongs to, rather than the types you are joining to.</div><div><br></div><d=
iv><div><div>cheers,<br>Justin<br><br></div></div>
<br><div class=3D"gmail_quote">On Thu, Mar 5, 2015 at 3:30 PM, Geoff Bowers=
 <span dir=3D"ltr">&lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfusc=
ated-mailto=3D"A-4St8oPigEJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'j=
avascript:';return true;" onclick=3D"this.href=3D'javascript:';return true;=
">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex"><div dir=3D"ltr">might be a discussion worth reviving on the forum.&nbs=
p; I suspect the logic behind this is that the view is on the object being =
edited -- you might have a custom way of picking that content type.&nbsp; R=
ather than defaulting to a view on the picked item -- which would give you =
a handy global change to picking that content type.<span><font color=3D"#88=
8888"><div><br></div><div>GB</div></font></span></div><div><div><div><br><d=
iv class=3D"gmail_quote">On 5 March 2015 at 15:22, Phillip Rasmussen <span =
dir=3D"ltr">&lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-ma=
ilto=3D"A-4St8oPigEJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'javascri=
pt:';return true;" onclick=3D"this.href=3D'javascript:';return true;">phil.=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div dir=3D"ltr">Hi Chris,<div>Looks like I'm 3 years behind you.</div><di=
v>It indeed seems to work in an odd way. Did you ever resolve it?</div><div=
>In the mean time I've used:</div><div>&lt;skin:view stobject=3D"#stobj#" w=
ebskin=3D"displayLibrary" typename=3D"#stMetadata.ftJoin#" &nbsp;/&gt;<br><=
/div><div><br></div><div>Seems to work so far.</div><div>Phil</div><div><di=
v><div><br></div><div><br></div><div><br><br>On Sunday, 20 November 2011 11=
:55:53 UTC+13, Chris Kent  wrote:<blockquote class=3D"gmail_quote" style=3D=
"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Th=
anks AJ,&nbsp;<div><br></div><div>But the problem is that the parent conten=
t object admin is calling&nbsp;/core/webskin/fourq/<u></u>di<wbr>splayLibra=
ryTabs.cfm and this is running the following code to get the displayLibrary=
.cfm view</div><div>&lt;skin:view stobject=3D"#stobj#" webskin=3D"displayLi=
brary" /&gt;<br></div><div><br></div><div>Which is picking up the library p=
icker from the parent content item (stobj)</div><div><br></div><div>Chris.<=
/div></blockquote></div></div></div></div><div><div>

<p></p>

-- <br>
You received this message cos you are subscribed to "farcry-dev" Google gro=
up.<br>
To post, email: <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-ma=
ilto=3D"A-4St8oPigEJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'javascri=
pt:';return true;" onclick=3D"this.href=3D'javascript:';return true;">farcr=
[email protected]</a><br>
To unsubscribe, email: <a href=3D"javascript:" target=3D"_blank" gdf-obfusc=
ated-mailto=3D"A-4St8oPigEJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'j=
avascript:';return true;" onclick=3D"this.href=3D'javascript:';return true;=
">farcry-dev+...@<wbr>googlegroups.com</a><br>
For more options: <a href=3D"http://groups.google.com/group/farcry-dev" tar=
get=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D'http://groups.g=
oogle.com/group/farcry-dev';return true;" onclick=3D"this.href=3D'http://gr=
oups.google.com/group/farcry-dev';return true;">http://groups.google.com/<w=
br>group/farcry-dev</a><br>
------------------------------<wbr>--<br>
Follow us on Twitter: <a href=3D"http://twitter.com/farcry" target=3D"_blan=
k" rel=3D"nofollow" onmousedown=3D"this.href=3D'http://www.google.com/url?q=
\75http%3A%2F%2Ftwitter.com%2Ffarcry\46sa\75D\46sntz\0751\46usg\75AFQjCNGgI=
TJmbCuM12oxXrrtcxt_FR8uCg';return true;" onclick=3D"this.href=3D'http://www=
.google.com/url?q\75http%3A%2F%2Ftwitter.com%2Ffarcry\46sa\75D\46sntz\0751\=
46usg\75AFQjCNGgITJmbCuM12oxXrrtcxt_FR8uCg';return true;">http://twitter.co=
m/farcry</a><br></div></div>
--- <br>
You received this message because you are subscribed to the Google Groups "=
farcry-dev" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"=
A-4St8oPigEJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'javascript:';ret=
urn true;" onclick=3D"this.href=3D'javascript:';return true;">farcry-dev+..=
.@<wbr>googlegroups.com</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" targ=
et=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D'https://groups.g=
oogle.com/d/optout';return true;" onclick=3D"this.href=3D'https://groups.go=
ogle.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a=
>.<br>
</blockquote></div><br></div>

<p></p>

-- <br>
You received this message cos you are subscribed to "farcry-dev" Google gro=
up.<br>
To post, email: <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-ma=
ilto=3D"A-4St8oPigEJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'javascri=
pt:';return true;" onclick=3D"this.href=3D'javascript:';return true;">farcr=
[email protected]</a><br>
To unsubscribe, email: <a href=3D"javascript:" target=3D"_blank" gdf-obfusc=
ated-mailto=3D"A-4St8oPigEJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'j=
avascript:';return true;" onclick=3D"this.href=3D'javascript:';return true;=
">farcry-dev+...@<wbr>googlegroups.com</a><br>
For more options: <a href=3D"http://groups.google.com/group/farcry-dev" tar=
get=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D'http://groups.g=
oogle.com/group/farcry-dev';return true;" onclick=3D"this.href=3D'http://gr=
oups.google.com/group/farcry-dev';return true;">http://groups.google.com/<w=
br>group/farcry-dev</a><br>
------------------------------<wbr>--<br>
Follow us on Twitter: <a href=3D"http://twitter.com/farcry" target=3D"_blan=
k" rel=3D"nofollow" onmousedown=3D"this.href=3D'http://www.google.com/url?q=
\75http%3A%2F%2Ftwitter.com%2Ffarcry\46sa\75D\46sntz\0751\46usg\75AFQjCNGgI=
TJmbCuM12oxXrrtcxt_FR8uCg';return true;" onclick=3D"this.href=3D'http://www=
.google.com/url?q\75http%3A%2F%2Ftwitter.com%2Ffarcry\46sa\75D\46sntz\0751\=
46usg\75AFQjCNGgITJmbCuM12oxXrrtcxt_FR8uCg';return true;">http://twitter.co=
m/farcry</a><br>
--- <br>
You received this message because you are subscribed to the Google Groups "=
farcry-dev" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"=
A-4St8oPigEJ" rel=3D"nofollow" onmousedown=3D"this.href=3D'javascript:';ret=
urn true;" onclick=3D"this.href=3D'javascript:';return true;">farcry-dev+..=
.@<wbr>googlegroups.com</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" targ=
et=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D'https://groups.g=
oogle.com/d/optout';return true;" onclick=3D"this.href=3D'https://groups.go=
ogle.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a=
>.<br>
</div></div></blockquote></div><br></div></div>
</blockquote></div></div>

<p></p>

-- <br />
You received this message cos you are subscribed to &quot;farcry-dev&quot; =
Google group.<br />
To post, email: farcry-dev-/[email protected]<br />
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]<br />
For more options: <a href=3D"http://groups.google.com/group/farcry-dev">htt=
p://groups.google.com/group/farcry-dev</a><br />
--------------------------------<br />
Follow us on Twitter: <a href=3D"http://twitter.com/farcry">http://twitter.=
com/farcry</a><br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;farcry-dev&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:farcry-dev+unsubscribe-/[email protected]">farcry-d=
ev+unsubscribe-/[email protected]</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_5392_867754485.1425533621227--
------=_Part_5391_1436094274.1425533621227--