Register   Login
     
  Latest Posts  
RE: Toolbar links at the top of the articles module
by wassis on 1/08/2009 12:59 PM
RE: Site hanging when posting comments
by smcculloch on 1/08/2009 12:10 PM
RE: Site hanging when posting comments
by smcculloch on 1/08/2009 12:00 PM
RE: Site hanging when posting comments
by glenwin on 1/08/2009 11:21 AM
RE: Layout Settings: Listing View
by smcculloch on 1/08/2009 10:36 AM
RE: Lightbox implementation
by smcculloch on 1/08/2009 10:35 AM
RE: 4.9.0 and 5.0.0 with Simple gallery
by smcculloch on 1/08/2009 10:34 AM
RE: Site hanging when posting comments
by smcculloch on 1/08/2009 10:33 AM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/08/2009 10:33 AM
Site hanging when posting comments
by glenwin on 1/08/2009 10:22 AM
  Forums  
Subject: Templates
Prev Next
You are not authorized to post a reply.

Author Messages
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


7/25/2005 4:06 PM  
It's coming -- unfortunately there have only been so many hours in the week

Can you make sure it's in the feedback center so I don't miss it..

Scott McCulloch
Site Administrator
Bobby EdgarUser is Offline
Registered Users
Nuke Addict
Nuke Addict
Posts:51

8/01/2005 5:34 PM  
Hi Scott,
Is the [CATEGORIES] field available to templates yet? I'd like to use it in on all views, latest articles, view post, etc.
Thanks.
andy hockUser is Offline
Gold Membership

Posts:10

8/25/2005 10:01 AM  
Hi Scott:

I've just started venturing into the NewsArticles.  Had *no* idea there was such depth of design and coding in it.  Anyway, I am trying to find the ucxxxx.ascx that displays the actuall article...like when one clicks 'View More'.  I'd found it at some  point, whilst debugging the code, but duh, forgot to write it down.  Which file  is that?  I want to change the way the article is viewed by adding some javascript, and also adding a Writer Tools link to the view article page.  I *thought* it would be 'ViewArticle'.  But that is in fact an ViewArticleSUMMARY aspx file.

Also, because I don't see how you'd have the time to do it, I am trying to change the 'article' functionality to more of a 'story functionality (ie, not force the story writer to specifically add each 'page'.  Instead the 'page' would be either a short story (of which there would only be one 'page'), or a book, of which, each 'page' would in fact be a chapter.  So I need to make changes *somewhere* in order to provide the option for what you would call generally, a 'single page article' or 'multpile page' article.  Would I be able to change a template to accomplish most of this?  Because of the template design, and of course, no complaints here...it's a bargain...but the only way to see what's going on is by debugging the source, and if you do *not* know the code-behind template being using because of naming convention confusion...it's very difficult to find the ux****.ascx file to stick breakpoints on.

So to sum up, I have 3 questions:

1. Which uc****.ascx is the actual view of the *whole* article?
2. There's been much talk about this 'templating'.  Any documentation we can look at to understand it's nuances?
3. Since this is a writers site we are working on, we need to be able to allow writers to *change* their stories *after* they submit the thing.  Anyway to make this an option, instead of forcing the issue?

Thanks

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


8/25/2005 3:41 PM  
Posted By aaava on 8/25/2005 10:01:34 AM
Hi Scott:

I've just started venturing into the NewsArticles.  Had *no* idea there was such depth of design and coding in it.  Anyway, I am trying to find the ucxxxx.ascx that displays the actuall article...like when one clicks 'View More'.  I'd found it at some  point, whilst debugging the code, but duh, forgot to write it down.  Which file  is that?  I want to change the way the article is viewed by adding some javascript, and also adding a Writer Tools link to the view article page.  I *thought* it would be 'ViewArticle'.  But that is in fact an ViewArticleSUMMARY aspx file.

Also, because I don't see how you'd have the time to do it, I am trying to change the 'article' functionality to more of a 'story functionality (ie, not force the story writer to specifically add each 'page'.  Instead the 'page' would be either a short story (of which there would only be one 'page'), or a book, of which, each 'page' would in fact be a chapter.  So I need to make changes *somewhere* in order to provide the option for what you would call generally, a 'single page article' or 'multpile page' article.  Would I be able to change a template to accomplish most of this?  Because of the template design, and of course, no complaints here...it's a bargain...but the only way to see what's going on is by debugging the source, and if you do *not* know the code-behind template being using because of naming convention confusion...it's very difficult to find the ux****.ascx file to stick breakpoints on.

So to sum up, I have 3 questions:

1. Which uc****.ascx is the actual view of the *whole* article?
2. There's been much talk about this 'templating'.  Any documentation we can look at to understand it's nuances?
3. Since this is a writers site we are working on, we need to be able to allow writers to *change* their stories *after* they submit the thing.  Anyway to make this an option, instead of forcing the issue?

Thanks


1. ucViewArticle (and it gets the formatting from view.header.html, view.footer.html, view.item.html

2. Not any documentation yet, although it is very similar to dotnetnuke skinning, you can find them in the Templates folder of the news articles module.

3. Hmm, I'll need to do some thinking here, if an article has been submitted/approved, should it be able to be changed by the submitter? (if they themselves are not an approver or admin)


Scott McCulloch
Site Administrator
Zivan Van ZylUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:49

8/25/2005 7:28 PM  
Scott, in the release notes for 4.08 it has this :

"Removed basic & clean templates, you can get them in this thread."

I don't use those templeates so it's fine with me if they're removed, but I did notice that they were installed again, so it seems they're still in the latest version (4.08).

Just checking to make sure I'm not seeing things.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


8/25/2005 7:40 PM  
Posted By Presstopia on 8/25/2005 7:28:35 PM
Scott, in the release notes for 4.08 it has this :

"Removed basic & clean templates, you can get them in this thread."

I don't use those templeates so it's fine with me if they're removed, but I did notice that they were installed again, so it seems they're still in the latest version (4.08).

Just checking to make sure I'm not seeing things.

Thanks for pointing that out, I've fixed the download

Scott McCulloch
Site Administrator
andy hockUser is Offline
Gold Membership

Posts:10

8/25/2005 11:56 PM  
Posted By smcculloch on 8/25/2005 3:41:06 PM
Posted By aaava on 8/25/2005 10:01:34 AM
Hi Scott:

I've just started venturing into the NewsArticles.  Had *no* idea there was such depth of design and coding in it.  Anyway, I am trying to find the ucxxxx.ascx that displays the actuall article...like when one clicks 'View More'.  I'd found it at some  point, whilst debugging the code, but duh, forgot to write it down.  Which file  is that?  I want to change the way the article is viewed by adding some javascript, and also adding a Writer Tools link to the view article page.  I *thought* it would be 'ViewArticle'.  But that is in fact an ViewArticleSUMMARY aspx file.

Also, because I don't see how you'd have the time to do it, I am trying to change the 'article' functionality to more of a 'story functionality (ie, not force the story writer to specifically add each 'page'.  Instead the 'page' would be either a short story (of which there would only be one 'page'), or a book, of which, each 'page' would in fact be a chapter.  So I need to make changes *somewhere* in order to provide the option for what you would call generally, a 'single page article' or 'multpile page' article.  Would I be able to change a template to accomplish most of this?  Because of the template design, and of course, no complaints here...it's a bargain...but the only way to see what's going on is by debugging the source, and if you do *not* know the code-behind template being using because of naming convention confusion...it's very difficult to find the ux****.ascx file to stick breakpoints on.

So to sum up, I have 3 questions:

1. Which uc****.ascx is the actual view of the *whole* article?
2. There's been much talk about this 'templating'.  Any documentation we can look at to understand it's nuances?
3. Since this is a writers site we are working on, we need to be able to allow writers to *change* their stories *after* they submit the thing.  Anyway to make this an option, instead of forcing the issue?

Thanks


1. ucViewArticle (and it gets the formatting from view.header.html, view.footer.html, view.item.html

2. Not any documentation yet, although it is very similar to dotnetnuke skinning, you can find them in the Templates folder of the news articles module.

3. Hmm, I'll need to do some thinking here, if an article has been submitted/approved, should it be able to be changed by the submitter? (if they themselves are not an approver or admin)


Hi Scott, thanks for the prompt reply.  I agree, this whole submitted/approve thing is a sticky wicket.  I made a suggestion in the Feedback to possibly add 'versioning' to the articles.  This way, a writer could submit an article/story/chapter, whatever, get feedback and comments asbout it, and then 'version' it, put up a new version taking into account the suggestion from the feeback, and this could overcome the whole approval issue.  Magic Gadget (man I do miss that product), had versioning...I'm sure you know how to implement  it, though I don't know how difficult it would be.  Seems like if two columns were added to the articles table (back-seat designing here, sorry!), one a boolean for 'current version' (so the author could 'step back'), and another one a version number would take care of the db part of it.  Of course, it would also truly bloat the database potentially.  And I have no idea the repercussions of this suggestion (or even if anyone else would want it, which would be a show-stopper right there) for the coding.  But I'm committed to using your News Articles for our writers' site.  Somehow.  Someway.  Writers, in case you haven't noticed are finicky folk!

I've also come up w/ a javascript based multi-column, mult-page, client side tool, where you can choose the number of columns you want, font size, etc, on the fly (similar to what iht.com does, but it actually works for the big 3 browsers...even the dreaded IE 5.2.3 for the Mac.  This way, someone could write an article, and the 'page' concept would be sort of meaningless, since the whole article would come down once, and then paged depending on module settings (initial number of columns, min column lines, initial column lines, initial font size, max font size, min font size, and comes with a completely configurable page menu.  So essentially, one would download the complete article, and the javascript figures out how many pages there are, depending on the number of columns per page, displays a menu at the bottom that is completely configurable (ie. PREV PREV n pages  [user selected number of pages to display] NEXT n pages NEXT, and also uses a similar idea to what's his names, font increase/decrease, and you can add/remove columns, resize the page, whatever, and it automatically redisplays the story, with a new menu (total pages might change depending on size, columns, and/or font size).

I'd be happy to offer it to you copyright free, to use.  I'm currenly working on a module to implement it, reading a story from a text file.  As soon as it's done, I'd be happy to email it to you, and you can decide if you want to use it or not.  Most important to me is the cross-browser compatibility, since many writers use macs and such.  I've been working on this for the last four months (I ain't nearly as fast as you are!).  And it is most definitely all my code.  iht.com planted the idea in my head, but I coded from scratch, as you can see when I finish it.   Sorry to go off on a rant...

andy hockUser is Offline
Gold Membership

Posts:10

8/26/2005 12:15 AM  
Oh, I'd also have to adapt it so one could have multiple article modules on a page (not sure how many actually do this, but it's a show-stoppe unless I generalize the divs per module id.  It would be easy enough to do from a design standpoint...just append the module id to all the div id's.  Anyway, you prolly think I'm daft.  I'll email it to you when I'm done so you can see what I've done, and whether you're at all interested.  I'm not interested in money or fame...just a way I can use your News Article for our writers' site.  :-)

Hmm, I just tried to press on one of the smiley's, and it refreshed the page, changed the whole colors and stuff, and didn't add the  smiley either.  just thought you'd want to know....
p spethUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:114

8/26/2005 7:06 AM  

Hey Scott,

I am hoping you can add Upload/download area for the the templates.  It is quite cumbersome to scan multiple pages of forum thread to find the latest version of a particular template.

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


8/26/2005 8:16 PM  
Posted By aaava on 8/25/2005 11:56:54 PM
Posted By smcculloch on 8/25/2005 3:41:06 PM
Posted By aaava on 8/25/2005 10:01:34 AM
Hi Scott:

I've just started venturing into the NewsArticles.  Had *no* idea there was such depth of design and coding in it.  Anyway, I am trying to find the ucxxxx.ascx that displays the actuall article...like when one clicks 'View More'.  I'd found it at some  point, whilst debugging the code, but duh, forgot to write it down.  Which file  is that?  I want to change the way the article is viewed by adding some javascript, and also adding a Writer Tools link to the view article page.  I *thought* it would be 'ViewArticle'.  But that is in fact an ViewArticleSUMMARY aspx file.

Also, because I don't see how you'd have the time to do it, I am trying to change the 'article' functionality to more of a 'story functionality (ie, not force the story writer to specifically add each 'page'.  Instead the 'page' would be either a short story (of which there would only be one 'page'), or a book, of which, each 'page' would in fact be a chapter.  So I need to make changes *somewhere* in order to provide the option for what you would call generally, a 'single page article' or 'multpile page' article.  Would I be able to change a template to accomplish most of this?  Because of the template design, and of course, no complaints here...it's a bargain...but the only way to see what's going on is by debugging the source, and if you do *not* know the code-behind template being using because of naming convention confusion...it's very difficult to find the ux****.ascx file to stick breakpoints on.

So to sum up, I have 3 questions:

1. Which uc****.ascx is the actual view of the *whole* article?
2. There's been much talk about this 'templating'.  Any documentation we can look at to understand it's nuances?
3. Since this is a writers site we are working on, we need to be able to allow writers to *change* their stories *after* they submit the thing.  Anyway to make this an option, instead of forcing the issue?

Thanks


1. ucViewArticle (and it gets the formatting from view.header.html, view.footer.html, view.item.html

2. Not any documentation yet, although it is very similar to dotnetnuke skinning, you can find them in the Templates folder of the news articles module.

3. Hmm, I'll need to do some thinking here, if an article has been submitted/approved, should it be able to be changed by the submitter? (if they themselves are not an approver or admin)


Hi Scott, thanks for the prompt reply.  I agree, this whole submitted/approve thing is a sticky wicket.  I made a suggestion in the Feedback to possibly add 'versioning' to the articles.  This way, a writer could submit an article/story/chapter, whatever, get feedback and comments asbout it, and then 'version' it, put up a new version taking into account the suggestion from the feeback, and this could overcome the whole approval issue.  Magic Gadget (man I do miss that product), had versioning...I'm sure you know how to implement  it, though I don't know how difficult it would be.  Seems like if two columns were added to the articles table (back-seat designing here, sorry!), one a boolean for 'current version' (so the author could 'step back'), and another one a version number would take care of the db part of it.  Of course, it would also truly bloat the database potentially.  And I have no idea the repercussions of this suggestion (or even if anyone else would want it, which would be a show-stopper right there) for the coding.  But I'm committed to using your News Articles for our writers' site.  Somehow.  Someway.  Writers, in case you haven't noticed are finicky folk!

I've also come up w/ a javascript based multi-column, mult-page, client side tool, where you can choose the number of columns you want, font size, etc, on the fly (similar to what iht.com does, but it actually works for the big 3 browsers...even the dreaded IE 5.2.3 for the Mac.  This way, someone could write an article, and the 'page' concept would be sort of meaningless, since the whole article would come down once, and then paged depending on module settings (initial number of columns, min column lines, initial column lines, initial font size, max font size, min font size, and comes with a completely configurable page menu.  So essentially, one would download the complete article, and the javascript figures out how many pages there are, depending on the number of columns per page, displays a menu at the bottom that is completely configurable (ie. PREV PREV n pages  [user selected number of pages to display] NEXT n pages NEXT, and also uses a similar idea to what's his names, font increase/decrease, and you can add/remove columns, resize the page, whatever, and it automatically redisplays the story, with a new menu (total pages might change depending on size, columns, and/or font size).

I'd be happy to offer it to you copyright free, to use.  I'm currenly working on a module to implement it, reading a story from a text file.  As soon as it's done, I'd be happy to email it to you, and you can decide if you want to use it or not.  Most important to me is the cross-browser compatibility, since many writers use macs and such.  I've been working on this for the last four months (I ain't nearly as fast as you are!).  And it is most definitely all my code.  iht.com planted the idea in my head, but I coded from scratch, as you can see when I finish it.   Sorry to go off on a rant...


I think versioning is important, and as soon as I rewrite the UI of managing articles I think that it would make a good decision. The module is definately aimed at sites that display more then just an anouncement but use it for reviews, etc.

It would be nice if that UI display could become a template, is it possible to package it up into one?

Scott McCulloch
Site Administrator
andy hockUser is Offline
Gold Membership

Posts:10

8/27/2005 12:44 PM  
Hi Scott:

I sent a demo of the storyreader client side, with multiple columns, various ways to address column height, and fonts via email.  I hope you understand the specific concerns I have, and we can work around them.  As soon as I've finished the module, I'll send you that too.  There are about 20 or so variables that can be set to change the features on the client-side.  And I have to add code on the module to allow for multiple copies on a web page.  It should take another week or so.  As I  emailed you, I don't think this is template material....though I admit I also don't know much about the templates, since I haven't spent enough time debugging and examining your excellent design.  I have to say, when I first took a look at it, I was shocked.  I mean, I had no idea how complex, yet elegant and flexible the design of the News Articles was.  It's worth the price of the yearly subscription by itself...easily.
Steven DoddsUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:2

10/08/2005 11:47 PM  

Scott,

Is it legal to redistribute templates (in part or complete) from other websites?

I admit I havnt read the licensing fine print completely but thought id ask while I was here

 

 

 

Kevin RimlingerUser is Offline
Registered Users

Posts:50


10/09/2005 4:46 PM  
Posted By smcculloch on 5/16/2005 5:02:58 PM
Hi Wylie,
 
...
 
5 - Is there a list of all tokens that exist and that are planned?
 
yep, Skinning Guide.
 
...


Where do I find the Skinning Guide with the list of tokens? Is this another reference to the template guide that is still in developement?

Thanks.


http://www.homeofficeblues.com
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


10/09/2005 6:08 PM  
There is no skinning guide yet, I'll post a stickied thread tonight with a complete list of tokens for the interim.

Scott McCulloch
Site Administrator
Randy PagelsUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:3

10/09/2005 6:51 PM  

Hi, Great job on the Articles module, very flexable and powerful.

I have been trying to get the View.Item.Html template to change, but no matter how I change it, nothing happens.

I understand that the ucViewArticle.ascx module uses the formatting from view.header.html, view.footer.html, and view.item.html. Are these located in the \templates\default folder?

Thanks fof any help.

Randy

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


10/10/2005 3:49 AM  
Posted By PagelsR on 9/10/2005 6:51:32 PM

Hi, Great job on the Articles module, very flexable and powerful.

I have been trying to get the View.Item.Html template to change, but no matter how I change it, nothing happens.

I understand that the ucViewArticle.ascx module uses the formatting from view.header.html, view.footer.html, and view.item.html. Are these located in the \templates\default folder?

Thanks fof any help.

Randy


Hi Randy,

Yes you are correct, if you have not changed the template your module is using (in admin options), the correct folder is templates\default. Also view.item.html does customize the view article page.

You are still pointing at the default template in admin options?


Scott McCulloch
Site Administrator
Gene VazUser is Offline
Hosting Membership
Nuke Active Member
Nuke Active Member
Posts:33

12/13/2005 7:58 PM  

I would like to add a catagory and title to the list for the articles on the home page article view, how would I go about it?

Gene

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12807


12/14/2005 2:30 PM  
Posted By breeze76 on 12/13/2005 7:58 PM

I would like to add a catagory and title to the list for the articles on the home page article view, how would I go about it?

Gene



When you say home page article view, do you mean the latest articles module?

Scott McCulloch
Site Administrator
Gene VazUser is Offline
Hosting Membership
Nuke Active Member
Nuke Active Member
Posts:33

12/14/2005 5:00 PM  
Posted By smcculloch on 12/14/2005 2:30 PM

When you say home page article view, do you mean the latest articles module?

Yes...  right now it only shows the Month/Year and the number of articles...  I would like it to show the The Title, by Author Date and the comment count.  I tried using some of the tokens, but I guess I am not using the right ones, or do not know how to use them, I am sure both..LOL

Any ideas?

Gene

Victor AvilesUser is Offline
Registered Users
Nuke Super Newbie
Nuke Super Newbie
Posts:14

6/21/2006 6:57 AM  
Where can I find a template similar to this one ( http://uzable.com/ ). I have searched but no luck. Would it be difficult to put something like this together?
You are not authorized to post a reply.
Forums > Modules > News Articles > Templates



ActiveForums 3.7