solved Create a new section on Profiles

alt=
@andrusito
9 years ago
302 posts
Hello,

I'd like to know how to create a new page/section on profiles. I've watched this video:
Add a section to the profiles (Jamroom CMS Development)

and it helped me a lot. But in the video, the guy inserted some static text and I'd like to add more options there.

1. How can I insert content in that new section using admin backend?
2. Can I activate this new section just for specific profiles?

Thanks !
updated by @andrusito: 02/16/15 02:31:11PM
brian
@brian
9 years ago
10,148 posts
You would want to create a custom module. Check out the "Aparna" module for creating a custom module:

https://www.jamroom.net/paul/documentation/guides/1218/using-the-jraparna-module

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@andrusito
9 years ago
302 posts
would this allow me to embed an embed code from radionomy.com? If not, How can I do that?
brian
@brian
9 years ago
10,148 posts
andrusito:
would this allow me to embed an embed code from radionomy.com? If not, How can I do that?

Sure - that should work. Just make a "textarea" custom form field in your custom module to hold the embed code.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@andrusito
9 years ago
302 posts
I've created a custom module using Aparna, as you suggested-

The problem is that I can see its content as ADMIN only. If I'm not logged in the section appears empty.

This is the section: http://devocionmusical.com/musica-cristiana-para-ninos/embedcode

I also tried logging in as a normal user, but the problem persist.

I chose to display to ALL USERS (including logged out) my custom field under Form Designer.
brian
@brian
9 years ago
10,148 posts
andrusito:
I've created a custom module using Aparna, as you suggested-

The problem is that I can see its content as ADMIN only. If I'm not logged in the section appears empty.

This is the section: http://devocionmusical.com/musica-cristiana-para-ninos/embedcode

I also tried logging in as a normal user, but the problem persist.

I chose to display to ALL USERS (including logged out) my custom field under Form Designer.

The ALL USERS setting in the Form Designer has nothing to do with the output - it only has to do with that specific form field in the form.

Make sure you're not creating items on a profile that is PRIVATE.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@andrusito
9 years ago
302 posts
Oh, now It's clear about the ALL USERS setting.

Fortunately I could fix the problem. Actually it was not a Jamroom problem at all..
I was seeing another template, so I had to edit the "item_list.tpl" file.

Thanks for your support Brian!
brian
@brian
9 years ago
10,148 posts
andrusito:
Oh, now It's clear about the ALL USERS setting.

Fortunately I could fix the problem. Actually it was not a Jamroom problem at all..
I was seeing another template, so I had to edit the "item_list.tpl" file.

Thanks for your support Brian!

No problem - glad you got it fixed. Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags