Ning Developer Network

It appears as though the limit for adding text boxes via the drag and drop manager is 10. I'd like more than that, so how can I add more? I've got access to the source code.

Tags: box, text

Share

Reply to This

Replies to This Discussion

Hello Mike!

Just look for this piece of code in the getEmbedList() function of /widgets/index/controllers/FeatureController.php:
/* If the configuration variable isn't set */
else if ($embedLimit == 0) {
$moduleDesc['embedLimit'] = 10;
}

You can change the 10 in this code to a different number if you'd like to raise or lower the number of text boxes on your social network. Please be aware that the limit is 10 for a reason, though. Too many text boxes will result in your main page loading very slowly!

Enjoy!
Mike

Reply to This

Hi Mike,
Could you please tell me how to get to that folder or file more specifically?
I'm newbie in this, sorry. And I can find my way to the file you are pointing to.
Is it locate in my Network folder hosted in Ning?
Or I have to modify the code you provided, set the number of folders I want and submit it through the "Track Statics" featured in the "Menage" tab?
Or other way?
You tell me please.

:(

Thanks a lot,

José

Reply to This

Hello José!

To get access the widget directory, you need access to your source code. To get access, make a source code request

Cheers! Devin

Reply to This

Hi Devin,
Thank you very much for your help.
It is very useful.
Unfortunately, reading the warning before requesting my source code scares me.
Is like leaving the paradise to assume all responsibilities about my page, and I don't feel good enough to do this.
I wish I could have an easy way to change this limit.
A new widget, maybe?

Thank you very much again,

José

Reply to This

Reply to This

RSS

© 2009   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service