About placement info file

Topics: General
Sep 2, 2011 at 2:27 PM

Hi Friends,

I am using Recent content widget for displaying commentspart..In comments part its displaying title,tags and summary..But i need only title to display...i changed in placement info file like this

<Match ContentType="RecentContent">
 
  <Place Parts_Routable_Edit="Content:before.5"/>
    <Match DisplayType="Detail">
        <Place Parts_RoutableTitle="Header:5"/>
    </Match>
    <Match DisplayType="Summary">
        <Place Parts_RoutableTitle_Summary="Header:5"/>
    </Match>

    <Place Parts_Tags_Edit="Content:7"/>
    <Match DisplayType="Detail">
        <Place Parts_Tags_ShowTags="-"/>
    </Match>
    <Match DisplayType="Summary">
        <Place Parts_Tags_ShowTags="-"/>
    </Match>
 
</Match>

 

but its not working..please anyone suggest me how to hide Parts_"Tags_ShowTags".

Thanks

selva

Coordinator
Sep 2, 2011 at 9:00 PM

Shape tracing can show you what placement file got used to place the part. Did you check in there that your file was getting picked up?

Sep 3, 2011 at 7:32 AM

bertrandleroy,

Its not getting picked up..I applied this is in my theme placement info file

<Match ContentType="RecentContent">
 
  <Place Parts_Routable_Edit="Content:before.5"/>
    <Match DisplayType="Detail">
        <Place Parts_RoutableTitle="Header:5"/>
    </Match>
    <Match DisplayType="Summary">
        <Place Parts_RoutableTitle_Summary="Header:5"/>
    </Match>

    <Place Parts_Tags_Edit="Content:7"/>
    <Match DisplayType="Detail">
        <Place Parts_Tags_ShowTags="-"/>
    </Match>
    <Match DisplayType="Summary">
        <Place Parts_Tags_ShowTags="-"/>
    </Match>
 
</Match>

 

but also not working..How to rectify this.

Thanks

selva

Coordinator
Sep 3, 2011 at 7:37 AM

Try to comment out everything and bring tags back one by one to verify which work and which don't. Nothing seems immediately obviously wrong here.

Sep 3, 2011 at 7:47 AM

bertrandleroy,

If i give like this

<Place Parts_Routable_Edit="Content:before.5"/>
    <Match DisplayType="Detail">
        <Place Parts_RoutableTitle="Header:5"/>
    </Match>
    <Match DisplayType="Summary">
        <Place Parts_RoutableTitle_Summary="Header:5"/>
    </Match>

    <Place Parts_Tags_Edit="Content:7"/>
    <Match DisplayType="Detail">
        <Place Parts_Tags_ShowTags="-"/>
    </Match>
    <Match DisplayType="Summary">
        <Place Parts_Tags_ShowTags="-"/>
    </Match>

Its reflecting in all the pages...i want to hide this for recent content widget. please help me..i am breaking my head to solve this issue for two days.

Thanks

selva

 

Coordinator
Sep 3, 2011 at 7:50 AM

So are you sure you got the content type name right?

Sep 3, 2011 at 7:55 AM

bertrandleroy,

Yes if i give  inside the content type like

<Match ContentType="RecentContent">

.

.

.

</Match>

its not working...how to solve this issue..is there any other solution to solve this issue..

Thanks

selva

Coordinator
Sep 23, 2011 at 1:00 AM

Yes, there is an error in the migration file of this module. I've reported it to Sébastien, who is the author.