Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPINow I am ConfusedNow I am Confused
Previous
 
Next
New Post
11/27/2006 1:54 AM
 
Hi There
I am trying to develop a module for a magazine site that has an archive of articles to manage and display
My fist stages of development have been based on the lovely module tutorials from Mr Washington and Vladan.

I have now got to a stage where I am trying to slice a long article into a number of pages and thought the TabStrip would be ideal for this.

I started by downloading the samples and PA stufff and managed to get this to work reasonably well
But when trying to implement it on my development set up I have had a few headaches
Is there no installer???
Is the 1.3 package beta or production? - I am developing for DNN4.3.X and have latest or very recent versions to work with.
Is the 1.4 source for ASP 2??

I have managed to get something working by adding the sample code  project to my DNN module development site
All well and good ( except for MS_POSITIONING="GridLayout"  throwing a  complaint)
I then moved the controls over to my site project to get them working there
I have moved all the code and get a good build but
(at this stage I am getting quite enthusiastic thinking the back of this is nearly broken but alas no!!!)
I am stumped by 2 different errors -
 I have  the tab strip control showing on a page ( I copied the tabstrip rendering example) but for some reason it doesnt pick up the classes in the ClientAPI.css style sheet (maybe I need to put it elsewhere or add a reference in the ascx ???)
The real issue I have is when I click on a tab - I am using VS2005 and all I get is a dialog to break or continue. If I break I am then shown a locked tab in VS2005 with the title eval code - in this page is a yellow highlighted codeline saying tabClick.
Does anyone have any pointers on where I am going wrong??
I assume I have some java script missing or not referenced properly but dont really know where or how to start to address this.


Confused

Dave


Oh While I am here maybe a nice little module project with simple tabs put on would be a handy thing to release I know I am new to DNN and ASP.NET but these "throw away" examples that as so simple are often the way I find my way into code. (No better way of learning that taking the thing apart and putting it back together again)

Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
11/27/2006 8:48 AM
 

Do you really need to have a custom module for this? I believe nearly everything you need can be found here:

http://www.ventrian.com/


Icthus Technologies

Building Faith on the Internet
 
New Post
11/27/2006 12:18 PM
 

Now we are both confused...  I don't understand most of your post.

I will try and answer the questions in it...

Is there no installer???

No.  There is not installer, however there should be a readme file to tell you the steps necessary to setup the sample.

Is the 1.3 package beta or production?

I am not sure where you got version 1.3, I think that 1.2.1 is distributed with 4.3.6...  Regardless, the DNNTabStrip control is beta and will probably be that way for some time.  As I mentioned in my blog, I got sidetracked into working on Edit In Place.

Is the 1.4 source for ASP 2??
No. It can work in both ASP.NET 1.x and 2.x.  There is a separate app in the sdk that is specific to 2.x, for it is used to compare Atlas with the tabstrip (Atlas is 2.x only).

Is there a url you could provide that shows the problem you are having?

 

 


 
New Post
11/27/2006 3:15 PM
 
I have looked at the ventrian  products and I am indeed using the source of the articles module as reference and have even looked at basing certain parts of my own module on some of that code but I have a fundamental difference and some very specific extensions to add on and so it is a necessity that I develop my own. Whilst I must admit I am impressed with the ventrian modules there is an issue I have with the long articles being  paged on the database which would cause me numerous issues when trying to convert my data

Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
11/27/2006 3:16 PM
 
I dont have a public url set up at the moment you can see  unfortunately

I will try to clarify
I have downloaded a few  project zips
DotNetNuke_WebControls1.2.1_Install.zip
DotNetNuke_WebControls1.2.1_SampleApp.zip
DotNetNuke_WebControls1.2.1_Source.zip
DotNetNuke_WebControls1.3.0_samples.net2.zip
and
DotNetNuke_WebControls1.4.0a_Source.zip

DotNetNuke_WebControls1.3.0_samples.net2.zip  is the one I am using to develop from  mainly because the net2 directed me towards it - I  followed the install instructions and it worked fine

I then wanted to implement a tabstrip on my own View.ascx
SO
I added the project to the VS development I have been building my articles module in
I then made sure I could run the Tab samples in VS which I can
I am now tring to get the TabStrip to work on my View.ascx  and have managed to progress from my earlier situation.
I did indeed have a js reference missing but by looking at other code I have managed to work round this
with
<script language="javascript" src='<%=Page.ResolveUrl("ViewArticle.ascx.js")%>'></script>
this is my renamed version of  TabStripRendering.aspx.js

Now I am still having the same issues with the CSS - I see some modules have a reference similar to
  <% ModuleName.CSS() %>
in the link on their ascx files but Unfortunately I havent managed to find an definition of this yet method yet and so I have worked round the problem by including the TabStripRendering.aspx.css styles in my portal.css

The page now loads OK infact it now populated the diagnostics with:
Server-side Methods Invoked
1. InitializeNonTabControls
2. BindPage
3. >>> Render Size: 29388
4. SetupDefaults: tabGeneral
5. BindTab: tabGeneral (Delay 1secs)
6. SetupDefaults: tabAdvanced (Delay 1secs)
7. RefreshColors
8. BindTab: tabAdvanced (Delay 1secs)

So some progress has been made
Unfortunately this is all that happens  - the load tab links send me back to the default page as I havent worked out how to prefix the link text so that it works out what page I'm on
(typical status bar text reads: http://localhost/DotNetNuke/Default.aspx?id100&mode1 so - this doesnt suprise me)

Clicking on the tabs does nothing at all so obviously I have a procedure missing somewhere down the line
One thing I am curious about is wheather I will be able to add tabs dynamically - i.e. a short story may only be 3 or four pages where as a longer one may require 10.
I plan to code the different processes required for the different loading methods
Also I was curious as to wheather it would be possible to put the tabstrip at the bottom, sides or combination of these and if multiple lines of tabs were going to be implemented

I will look at setting a dnn instance up on machine with a public address (I have been experimenting with dynu to see how this works but have to confess to have had a number of problems with dnn and dynu working together)

thanks for the feedback

Dave

Oh yes it looks like a great tool any ideas when you will consider it ready for production??






 

Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPINow I am ConfusedNow I am Confused


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out