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.
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.
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.
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.
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
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.
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.
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?
Permalink Reply by Emil on February 8, 2008 at 8:54am
The "Page" tab does not apear. I have added the script called "widget-configuration.xml" to the "page" directory in the "instances" directory.