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

Thanks, Shyam. I'll see if it does, even though I scoured through the previous questions before posting mine.

UPDATE: I checked it, but that was an error message of creating a "widget," while mine is about creating a page.

Please help!
Hi azkhodgi,

I seem to have had the same problem! Here's what I got:

----

Uh-oh!

Sorry! This app has encountered a serious problem and can't continue. The problem has been noted for the developer to fix.

Trace:
#0 /php/includes/XN/WWF/lib/NF_Controller.php(108): NF::bailOut('Sorry! This app...', NULL)
#1 [internal function]: NF_Controller->action_error('Sorry! This app...')
#2 /php/includes/XN/WWF/lib/NF_Controller.php(746): call_user_func_array(Array, Array)
#3 /php/includes/XN/WWF/lib/NF_Controller.php(157): NF_Controller->_invokeAction('error', Array)
#4 /php/includes/XN/WWF/lib/W_Controller.php(66): NF_Controller->action(Object(NF_ArgWrapper))
#5 /php/includes/XN/WWF/lib/W_Widget.php(454): W_Controller->action('error', 'Sorry! This app...')
#6 /apps/socialnetworkmain/lib/XG_App.php(1281): W_Widget->dispatch('topic', 'listForCategory')
#7 [internal function]: XG_App::dispatchRequest(NULL)
#8 /php/includes/XN/WWF/lib/W_WidgetApp.php(121): call_user_func(Array, NULL)
#9 /apps/socialnetworkmain/lib/index.php(31): W_WidgetApp::go()
#10 /apps/wannabestudios/index.php(3): require_once('/apps/socialnet...')
#11 {main}

---

This happened immediately after I created a new topic for discussion and tried to access it from a link elsewhere on my network. I also found that after a couple of minutes everything was fine and it required no action from my end. I concluded that the problem would have arisen due to some sluggishness on the server side.

In any case I am no geek, so I couldn't have been able to do anything except post a query here :-)

UPDATE: When I accessed the page later, it said 'Discussion Deleted'. Now it is OK!

Phil?
Is it possible to embed a google map via the Google API on a tab created this way? I've copied and pasted the code provided by the google API but nothing is displaying?

Thanks

Crispy
I do have one more question for now though. I still have not been able to add anymore pages after the first one i added for some reason. I have been trying to add it the forum like Alva did to use your "band aid" approach but don't see the other page or tab coming up on my site. Not sure what i'm doing wrong I did it just like the first page i added but this time i when in to the instances/ forum and created a directory then created a file using all the same info but it didn't show up.. some one help me..
Hi Crispy,

Yes, you can do that; you will need to wrap the javascript code for creating the map in <div></div> tags.

Thanks,
Phil
Hi The Truth,

Have a look at the private configuration file for the new feature in the /xn_private directory and make sure that isEnabled is set to 1.

Thanks,
Phil
Hi John,

This will get removed when comments are turned off in an upcoming release.

Thanks,
Phil
Hi azkhodgi,

This usually happens if you've called the directory in the instances directory something other than page.

Thanks,
Phil
Hi Shyam,

That seems unrelated to the page widget and sounds like an issue with the forum.

Thanks,
Phil
Thanks Phil!

In any case, I haven't had the same problem since my last post, so everything is a-OK :-)
Yes I just look at it and it is set to 1. Do you need me to send you the code i use?? Or what the next step.. Cause i put up the first page with no problem
Hi Phil Alva and all

Im really new finding my way round. Really enjoying ning!

I found a 'band aid' solution too. After creating the initial 'Pages' tab I turned the tab off by setting the isFirstOrder to 0 as instructed. Then created my new page in a new folder and did likewise swithing off the tab. Then i put a link to the url in a text box. Works great. In my case I wanted to add a page similar to a FAQ but didnt want it to appear in the tabs. Now I can make as many pages as I want and link back to them through text links. Dont know if thats useful to anyone.

Dan

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service