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

Phil, Hi there, hope you're well. I tried doing all the above to add a new page but no luck.
No pages tab shows up. Any thoughts?

Thanks,
Anthony
Hi Anthony,

There was a problem with the configuration file; maybe a weird character inserted by the program you used to edit it. I've fixed it up now.

Thanks,
Phil
Hi Phil

following previous advice I created mutliple new pages and an extra forum using a different and (made up by me) widget id number. All good (and great that you are updating core code so that cros-referencing works on those new pages/forums). However, wanted to know whether this could cause a problem in the future as your functionality grows and grows? e.g. might you want widget ID 300 for something else?

Would it be worth Ning holding say 10 ID's back for thise functionality so that creators know if they use them they won't have issues 12 months down the line...(when we may all have forgotten all about the change in ID numbers we made)

Hasta Luigi:)
Pete
Hi Pete,

Our current advice is that anything over 500 should be safe for you to use as an ID. At the moment ID conflicts are not a problem that causes a loss of functionality or a user-visible error condition; you can create multiple instances with the same ID and they will work correctly at the moment.

If the duplication was ever looming to be a big problem down the track, we could pretty easily scan and update all of the configuration files so that they started at 1 and ended at the number of configuration files you currently have or something like that, as part of a future update.

Thanks,
Phil
Thanks, Phil for the previous answer. But there seems to be another problem:

When someone comments on the pages I have created, the comments don't show. They only get a message that reads "undefined." What seems to be the problem?

NOTE: The directory name of the page tab and the configurations in the xml file are the same.
Hi azkhodgi,

You should change the <name> tag value back to page. Also, the directory that the instance is in has spaces in it. You should remove them ('howtouse' rather than 'how to use').

Thanks,
Phil
I did that, and the commenting system works spotlessly. But the page doesn't show on the tabs.
At the moment in the 'page' directory you have the tab turned off (isFirstOrderFeature). I don't see another instance of the page feature under instances, so if you add one and still don't see the tab for it, please let me know.

Thanks,
Phil
Ohhh my gosh, I've been racking my brain on this one all day! Thanks! Your awesome~
Hi. I can see this is going to be a really useful feature. I'm just wondering if it's possible to embed Ning's various modules into one of these pages. So, for instance, rather than having boxes on the network's main page for the latest photos, videos and blog posts, could I create an "All Media" page that contains these boxes instead?
Hi Ben,

It's not possible to do this at the moment (the page just takes html), but it's a model that we're exploring.

Thanks,
Phil
Thanks for the quick reply, Phil.

I've been experimenting, and it looks like I can achieve roughly what I wanted by using javascript to embed an external RSS reader and pointing that at the RSS feeds from my network. Seems like there must be a more elegant solution, but at least it works.

Thanks again. I'm loving the flexibility of Ning and exploring hidden features like this one.

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service