Ning Developer Docs

The instructions for adding pages to your network have been moved into the wiki. You can find them here.

Views: 222

Replies are closed for this discussion.

Replies to This Discussion

Hi Phil,

Pardon my ignorance. I have used the source code and brought up the stuff relating to my network but I don't seem to be able to find the pages feature. Please walk me through it.

Thank you :-)
I am having the same trouble. I added this feature to both my networks and the pages feature isn't showing up. Floortimerepository we have our domain not with chnradio.ning.com it doesn't matter its not working on either one. I really need it because they don't know how to put together pages and t hings. I want to add a wiki. since I already have an account with wiki. I don't know code and I am not sure how I can do that.
Hi Alexis,

chnradio.ning.com isn't working because your widget-configuration.xml file contains a comma as the first character of the name.

Carole, yours isn't working because in your case the page directory starts with a capital P, and you have included some extra text from the instructions at the top of the widget-configuration.xml file. If you rename the directory to: page (using a lowercase p) and then edit widget-configuraation.xml and remove everything that comes before <?xml then it will work correctly.

Thanks,
Phil
Hi Phil,

Sorry for that, I guess i mis read your intructions. anyway I already sucessfule amde a new tab called "page" in my network, now how do i start putting php pages? and is it ok that those php pages connects to a database from another server? I would appreciate your assistance regarding this matter as always.

Regards,
Rommel
Phil, hi there, once the new page is added Is there a way to use custom html on added pages? I tried doing it a few ways but the HTML keeps getting scrubbed out. Any insights appreciated. - Thanks, Anthony
maybe that is what is wrong with the floortimerepository.com one as well. Because I was having trouble with both. www.chnradio.ning.com and www.floortimerepository.com.
Hi Rommel,

The pages feature is designed to allow you to create and display html pages; you won't be able to use it to store and execute PHP code. If you need to do something like that you will need to create a new feature. Please also note that database connections aren't something that you can do in the Ning environment, so you will need to have some other mechanism, like a curl call, to facilitate sending and receiving information.

Thanks,
Phil
Hi Alexis,

The instances directory for floortime has no configuration file inside it, so that's why it's not working.

Thanks,
Phli
Hi Anthony,

The submitted html gets scrubbed for correctness, so if you're trying to add non-standard html tags etc, then these will likely get stripped out, or if your html isn't correctly formed, the scrubber will try to fix it so that the pages don't end up looking broken.

Thanks,
Phil
I have it working. I remember in the instructions that you said this is raw html. So for the text to wrap right you have to put in a code.
What is that code and where do I put that in the file so the text wraps correctly?
The "Page" tab does not apear. I have added the script called "widget-configuration.xml" to the "page" directory in the "instances" directory.

Why doesnt anything happend?
How to remove the comments box ?

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service