Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Thursday, August 28, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
General
The ever-powerful ListX module forum. Post your questions, new configuration ideas and reviews.
Subject: lxContainer issues

You are not authorized to post a reply.   
Author Messages
arijkens
Lightweight
Posts:16

07/03/2008 10:17 AM Alert 
Hello,

I have a question about the lxContainer function.

Environment:
I created a page with a ListX module in the toppane, two Text modules in the contentpane and a toolbar module (part of NukeDK) in the left pane.

In the ListX module I activad Javascript Utilities
In the Text modules I inserted the following code in the module header: <lxContainer ModuleId="519" Name="Tekst1" Group="Tabs" /> and <lxContainer ModuleId="520" Name="Tekst2" Group="Tabs" />
In the Toolbar module I inserted the following code in the module footer: <SCRIPT>
lxContainerGroup('Tabs');
</SCRIPT>

Also I created two toolbar items with a script action lxContainer('Tekst1'); resp. lxContainer('Tekst2');

I'm facing the following problems:
1. If I put the toolbar module in the right pane initially I only see the first tekst module (Tekst1). If I put it in the left pane, I see both text modules. The moduleID of the toolbar module is higher than the Text modules. Perhaps the reason for this behaviour?

2. I want the style of the selected item in the toolbar different than the normal, hover and disabled class. I'm under the impression I can do this with the lxContainer function. However I cannot get it to work? Can someone help me out here?

FYI, I started using NukeDK last week<img src='http://dnn.bi4ce.com/desktopmodules/ntforums/images/emoticons/unsure.gif' height='20' width='20' border='0' title='Unsure' align='absmiddle'>

robert_chumley
Please Wait...
Posts:579

07/07/2008 3:06 PM Alert 
Hello,
Can you try an all ListX solution instead of using the Text modules? That may help with the Ajax. You can always put the HTML in a no query template and render that.
Thanks,

Robert Chumley
r2integrated (formally bi4ce)
arijkens
Lightweight
Posts:16

07/08/2008 4:06 AM Alert 
Hello Robert,

I got it to work. I replaced the text modules with ListX modules as you proposed.

To summarize:
I have 1 toolbar module and 2 listX modules. In each ListX module I entered <SCRIPT>lxContainerGroup('Tabs');</SCRIPT> in the module footer, together with Ajax enabled and Include utilities Javascript.

In each ListX module I entered a line <lxContainer ModuleId="xxx" Name="yyy" Group="Tabs" /> in the Module Header.

In the toolbar I enter lxContainer('yyy'); as the action for the toolbar item.

Is this the proper way to use lxContainer?

Other question.
Do you know how to handle the select action. In other words: How can I change the display of a toolbaritem so users see that this item was last selected?

Thanks,

Arjan

svedire
Middleweight
Posts:91

07/08/2008 9:06 AM Alert 
Hi Arjan,

Thats the correct way of using an lxContainer. Instead of using a toolbar module, you could as well drop another ListX module and build a tab structure easily using <a> tags.

In the lxContainer syntax, we have ActiveCSS and InActiveCSS - may be you could use CSS to differentiate which one is selected and which one isn't.

Hope this helps.

Thanks,
Sindura

arijkens
Lightweight
Posts:16

07/08/2008 11:13 AM Alert 
Hi Sindura,

Found it in the manual, tried it and it works!

Thank you for your hint!

Arjan
arijkens
Lightweight
Posts:16

07/08/2008 11:13 AM Alert 
<div class='NTForums_Quote'>Posted By arijkens on 07/03/2008 10:17 AM

Hello, <br> <br> I have a question about the lxContainer function. <br> <br> Environment: <br> I created a page with a ListX module in the toppane, two Text modules in the contentpane and a toolbar module (part of NukeDK) in the left pane. <br> <br> In the ListX module I activad Javascript Utilities <br> In the Text modules I inserted the following code in the module header: <lxContainer ModuleId="519" Name="Tekst1" Group="Tabs" /> and <lxContainer ModuleId="520" Name="Tekst2" Group="Tabs" /> <br> In the Toolbar module I inserted the following code in the module footer: <SCRIPT> <br> lxContainerGroup('Tabs'); <br> </SCRIPT> <br> <br> Also I created two toolbar items with a script action lxContainer('Tekst1'); resp. lxContainer('Tekst2'); <br> <br> I'm facing the following problems: <br> 1. If I put the toolbar module in the right pane initially I only see the first tekst module (Tekst1). If I put it in the left pane, I see both text modules. The moduleID of the toolbar module is higher than the Text modules. Perhaps the reason for this behaviour? <br> <br> 2. I want the style of the selected item in the toolbar different than the normal, hover and disabled class. I'm under the impression I can do this with the lxContainer function. However I cannot get it to work? Can someone help me out here? <br> <br> FYI, I started using NukeDK last week<img src='http://www.bi4ce.com/desktopmodules/ntforums/images/emoticons/unsure.gif' height='20' width='20' border='0' title='Unsure' align='absmiddle'> <br> <br> </div>

You are not authorized to post a reply.
Forums > Bi4ce.Modules.ListX > General > lxContainer issues



ActiveForums 3.6
 
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation