PS3 Adding Facebook under Network

LuanTeles

Developer
PSX-Place Supporter
i'm trying to add a facebook entry under network category

I add these lines in category_network.xml and category_networktool2.xml

Code:
<Query
class="type:x-xmb/folder-pixmap"
key="facebook"
src="#seg_facebook"
/>

and

Code:
<View id="seg_facebook">
<Attributes>
<Table key="facebook">
<Pair key="icon_rsc"><String>item_tex_cam_facebook</String></Pair
<Pair key="title"><String>Facebook</String></Pair>
<Pair key="info"><String></String></Pair>
<Pair key="module_action"><String>https://facebook.com</String></Pair>
<Pair key="module_name"><String>webrender_plugin</String></Pair>
</Table>
</Attributes>
<Items><Item class="type:x-xmb/module-action" key="facebook" attr="facebook"/></Items>
</View>

And it only shows me a blank category

I even tried this pointing to a new category_facebook.xml (same method i used to add reboot icon)


Code:
<Query
class="type:x-xmb/folder-pixmap"
key="net_facebook"
src="xmb://localhost/%flash/xmb/category_facebook.xml#seg_facebook"
/>

And this in the new category_facebook.xml
Code:
<View id="seg_facebook">
<Attributes>
<Table key="facebook">
<Pair key="icon_rsc"><String>item_tex_cam_facebook</String></Pair
<Pair key="title"><String>Facebook</String></Pair>
<Pair key="info"><String></String></Pair>
<Pair key="module_action"><String>https://facebook.com</String></Pair>
<Pair key="module_name"><String>webrender_plugin</String></Pair>
</Table>
</Attributes>
<Items><Item class="type:x-xmb/module-action" key="facebook" attr="facebook"/></Items>
</View>

That doent show the entry

Any help?
 
The problem is in the item class I think. You are using the class for a subcategory (folder), to open a website directly is a module action, so you need to change the "x-xmb/folder-pixmap" to "x-xmb/module-action", the rest of it looks OK.
 
The problem is in the item class I think. You are using the class for a subcategory (folder), to open a website directly is a module action, so you need to change the "x-xmb/folder-pixmap" to "x-xmb/module-action", the rest of it looks OK.

its already set in the attributes x-xmb/module-action if i put this in Query it will not load.

anyways i got it working just putting > in the <Pair hahaha, i missed closing this tag
 
Back
Top