Ning Developer Docs

Hi everone!

I was wondering if anyone could help me. I am new to Ning and I want to explore it further.

Here is my predicament... In the Main page, the Photos and Videos are being displayed in 3 items per column. I want to change that to, let say, 4. How can I do that?

I hope someone can help me. TIA. =)

Views: 7

Replies to This Discussion

I have made a JavaScript hack to do this, exactly, regardless of the column width. I applied to Main and My Page.
Great. Is that a hack you can share?
Sure!=)

Modify the following files:

\widgets\index\templates\index\index.php
\widgets\profiles\templates\profile\show.php

(These are the files I KNOW of.)

And, from the attached file, copy the JS Hack and put it BEFORE <?php xg_footer(); ?>.

My only request, for those who will use it, is that to retain the comments/credits. I will update this script so those who are using the standard code can just copy and paste the hack to the Track Statistics in their Manage page.

I hope this can help others, too. Newbies, like me, and advanced users alike. =)
Attachments:
Hi kakaiba - I'm looking at your network now and it looks like you have 4 photos on a row. Looks like you figured it out? -Ernie
HI, Ernie.

Yes, I did figure something out. A made a JavaScript hack for it (refer to second post). It would also help if you can guide me to the actual code within Ning. That is, If there's really a direct way for it. ;)
BTW, I have tested the script against IE, FF, and Safari (Windows) and it works fine.
Is there anyway anyone with source access can add that source code (to change number of videos shown) to my ning, I've been looking for this hack for a while?? thanks
Is there anyway someone can assist me with this?? or at least respond --Thank you

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service