Intechnic
Users Developers
Home / Forums / In-Portal CMS / General In-Portal Discussions / using a frameset with in-portal / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.
 

In-Portal Forum

using a frameset with in-portal (11)


Posted: 04/01/2005 1:25:40 AM

Reply Quoted  


I have created a new menu with tabs for my portal. In order for this to work I had to create a frameset with the top frame dynamically changing tabs via CSS + Javascript and the content frame pointing to In-portal and hiding the top page template (pagetop.tpl). I am curious as to how I should link to the in-portal modules(home, directory, news, forms, my account)? The problem I am having is that once a user has logged in to in-portal, and then clicks any of the tab links in the top frame it logs them out. How do I modify these tab links so that session state is maintained? If the user clicks the checkbox "Remember Me" when logging in, this maintains session state. Is there a way to not give the user the option to "Remember Me" and enforce session state until they click logout?

http://www.conform2scorm.com/index.html

[Edited By JHaag75 on 04/01/05 1:36:35 AM]

Posted: 04/01/2005 10:56:17 AM

Reply Quoted  


JHaag75 wrote:04/01/2005 1:25:40 AM
I have created a new menu with tabs for my portal. In order for this to work I had to create a frameset with the top frame dynamically changing tabs via CSS + Javascript and the content frame pointing to In-portal and hiding the top page template (pagetop.tpl). I am curious as to how I should link to the in-portal modules(home, directory, news, forms, my account)? The problem I am having is that once a user has logged in to in-portal, and then clicks any of the tab links in the top frame it logs them out. How do I modify these tab links so that session state is maintained? If the user clicks the checkbox "Remember Me" when logging in, this maintains session state. Is there a way to not give the user the option to "Remember Me" and enforce session state until they click logout?

http://www.conform2scorm.com/index.html

[Edited By JHaag75 on 04/01/05 1:36:35 AM]


Hello,

The simplest way would be to change:

<input type="checkbox" name="usercookie" VALUE="1">



to


<input type="hidden" name="usercookie" VALUE="1">



in "default/misc/right_login.tpl" template. Also, you might want to get rid of "Remember me" language tag right after that.

Thanks.



Posted: 04/04/2005 4:58:07 PM

Reply Quoted  


Thanks Dimitry. The other question I have is are my links for the in-portal modules correct? The forums are loading up the content from my directory and I would rather create my own forum categories. What should the target hrefs be for each module?


Directory: http://www.conform2scorm.com/in-portal/index.php?env=-inlink/index

News: http://www.conform2scorm.com/in-portal/index.php?env=-innews/indexNews

Forums: http://www.conform2scorm.com/in-portal/index.php?env=-inbulletin/index

My Account: http://www.conform2scorm.com/in-portal/index.php?&dest=my_account

Posted: 04/06/2005 10:52:00 AM

Reply Quoted  


JHaag75 wrote:04/04/2005 4:58:07 PM
Thanks Dimitry. The other question I have is are my links for the in-portal modules correct? The forums are loading up the content from my directory and I would rather create my own forum categories. What should the target hrefs be for each module?


Directory: http://www.conform2scorm.com/in-portal/index.php?env=-inlink/index

News: http://www.conform2scorm.com/in-portal/index.php?env=-innews/indexNews

Forums: http://www.conform2scorm.com/in-portal/index.php?env=-inbulletin/index

My Account: http://www.conform2scorm.com/in-portal/index.php?&dest=my_account



Hello,

Sorry about a delay!

First three ones are good, but the last one needs some adjustments in order to function properly.

The "My Account" link (on top of the page in default In-portal) in build dynamically based on logged in status. In case if user is not logged in the URL for My Account will automatically create a link to the login page, otherwise if already logged in take user to My Account page. In your case, you want to have a static link aside from In-portal parser. I don't want you to change the templates yourself in order to have this fully working, so I try add this simple change to coming release. I promise to give you a hand in case case if this won't be included in the new release.

Thanks.

Posted: 04/09/2005 9:40:53 AM

Reply Quoted  


Thank you. How do I prevent my news and directory from displaying as a forum section in the Forums? Can I configure this in permissions? Does it display news and directory by default?

Posted: 04/09/2005 9:42:37 AM

Reply Quoted  


Also, when I click "MY Account" now it displays the home page. What is the link to properly display the My Account settings once properly logged i? Do I need to create a new php page for my menu (top frameset)? What includes should I use to dynamically bring up the My account? Or can I modify the link to query the My Account page. Right now it is: href="http://www.conform2scorm.com/in-portal/index.php?&dest=my_account. Is there some other way to query the my account page instead of it bringing up the home page?

[Edited By JHaag75 on 04/09/05 9:55:47 AM]

[Edited By JHaag75 on 04/09/05 9:58:10 AM]

Posted: 04/09/2005 1:53:57 PM

Reply Quoted  


JHaag75 wrote:04/09/2005 9:42:37 AM
Also, when I click "MY Account" now it displays the home page. What is the link to properly display the My Account settings once properly logged i? Do I need to create a new php page for my menu (top frameset)? What includes should I use to dynamically bring up the My account? Or can I modify the link to query the My Account page. Right now it is: href="http://www.conform2scorm.com/in-portal/index.php?&dest=my_account. Is there some other way to query the my account page instead of it bringing up the home page?

[Edited By JHaag75 on 04/09/05 9:55:47 AM]

[Edited By JHaag75 on 04/09/05 9:58:10 AM]


Hello,

Try the following, You'll need to adjust a few templates.

1. Open "/my_account.tpl" template and cut & paste everything within <!-- profile content --> & <!-- end profile content --> tags into a new template called "list_my_account.tpl" in "main/" folder.

2. Put:

<inp:m_loginbox _LoginTemplate="login/login_form.tpl" _LoggedInTemplate="main/list_my_account.tpl" />



in "/my_account.tpl" template in place where you took out the other code (<!-- profile content --&gt. Save it.

Your URL to My Account page should be "http://www.conform2scorm.com/in-portal/index.php?env=-my_account".

Thanks.

Posted: 04/11/2005 2:02:42 PM

Reply Quoted  


Thanks Dimitry! Could I do the same thing for properly displaying the forums? With the link I presently have, http://www.conform2scorm.com/in-portal/index.php?env=-inbulletin/index, when clicked it displays the category/directory root, forums, and news. I really just want to display the forums section and not the others.

Posted: 04/13/2005 12:01:04 PM

Reply Quoted  


JHaag75 wrote:04/11/2005 2:02:42 PM
Thanks Dimitry! Could I do the same thing for properly displaying the forums? With the link I presently have, http://www.conform2scorm.com/in-portal/index.php?env=-inbulletin/index, when clicked it displays the category/directory root, forums, and news. I really just want to display the forums section and not the others.


Hello,

The following should work:

1. http://www.conform2scorm.com/in-portal/index.php?env=-inbulletin/index:m[Forum_CategoryID_Here] (click edit on Top Forum Category in Admin to see it's ID)
2. http://www.conform2scorm.com/in-portal/index.php?env=-innews/index:m[Newz_CategoryID_Here] (same way as for Forums.

Thanks.

Posted: 04/19/2005 7:37:08 PM

Reply Quoted  


Dmitry wrote:04/06/2005 10:52:00 AM
JHaag75 wrote:04/04/2005 4:58:07 PM
Thanks Dimitry. The other question I have is are my links for the in-portal modules correct? The forums are loading up the content from my directory and I would rather create my own forum categories. What should the target hrefs be for each module?


Directory: http://www.conform2scorm.com/in-portal/index.php?env=-inlink/index

News: http://www.conform2scorm.com/in-portal/index.php?env=-innews/indexNews

Forums: http://www.conform2scorm.com/in-portal/index.php?env=-inbulletin/index

My Account: http://www.conform2scorm.com/in-portal/index.php?&dest=my_account



Hello,

Sorry about a delay!

First three ones are good, but the last one needs some adjustments in order to function properly.

The "My Account" link (on top of the page in default In-portal) in build dynamically based on logged in status. In case if user is not logged in the URL for My Account will automatically create a link to the login page, otherwise if already logged in take user to My Account page. In your case, you want to have a static link aside from In-portal parser. I don't want you to change the templates yourself in order to have this fully working, so I try add this simple change to coming release. I promise to give you a hand in case case if this won't be included in the new release.

Thanks.


Dimitry,

Since the upgrade my "directory" or categories link no longer displays the categories. I have checked permissions a million times and realized that the upgrade was the culprit. Since I'm using a frameset, how can I display the categories for guest users? My link to the directory only displays links and not categories:

http://www.conform2scorm.com/index.html

The link to "Directory" from the top navigation frame: http://www.conform2scorm.com/in-portal/index.php?env=-inlink/index

I could change the link to : http://www.conform2scorm.com/in-portal/index.php?env=-inlink/index:m0-1-1-2:l0-0-1-:n0-0-0:bb0-0-1-1-1-0-1&

But wouldn't this no longer work once users are logged in? Is the "m0-1-1-2:l0-0-1-:n0-0-0:bb0-0-1-1-1-0-1&" randomly generated for every user? Is there a standard way we can link to the root of each module without having future upgrades impact an implementation that uses a frameset? It would be great if I could use your example above for a frameset and do something like this:

http://www.conform2scorm.com/in-portal/index.php?env=-inlink/index:m[home]

Ignore the fact that the portal displaying in the bottom frameset. I haven't edited pagetop.tpl to hide the old navigation yet.




[Edited By JHaag75 on 04/19/05 8:18:51 PM]

Page:  1 2