PDA

View Full Version : where to get content ID ?


awakenguild
12-02-2010, 10:11 AM
Hi !

I like to "include" (iframe or include) a webshop to a menuitem at vbulletin.

What i did :

1. make a new widged
(php code) and added this code:

$output = '<iframe src="http://awaken.spreadshirt.de/index.php" style="border:0px #FFFFFF none;" name="myiframe" scrolling="auto" frameborder="1" align=aus marginheight="0px" marginwidth="0px" height="480" width="640"></iframe> ';

2. i go to "layouts" and make a new layout "shop" based on the splitting and add the widged "shop" to it in any place.

But how do i connect this to the already done "shop" button in mainmenu (vbSoporte)

i have to add a number behind "content.php?" but i don`t know wich one i should use or where to get them.

Thanks

Lynne
12-02-2010, 02:02 PM
When you go to the content.php page of interest, it should have a url like content.php?r=xx or just content.php?xx. xx should be the nodeid and then you may look in the table cms_node and get the contentid for that node.