Register   Login
     
  Latest Posts  
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
RE: News Articles Tokens
by spirit on 3/19/2010 10:43 AM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 10:18 AM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 10:12 AM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 9:49 AM
Using custom profile properties with [AUTHOR:XXX]
by mattbunce on 3/19/2010 9:34 AM
  Forums  
Subject: Templates
Prev Next
You are not authorized to post a reply.

Author Messages
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/28/2005 2:13 AM  
Posted By MikeMinsk on 6/28/2005 12:44:58 AM
Posted By Wylie on 6/27/2005 11:51:15 PM
Here's an example of how I handled the Categories issue: http://idahohealthcareforall.org/Information/Articles/tabid/190/Default.aspx

You'll also notice how I have the category in a large font at the top of each category listing page.  To do this I had to edit the ucCategoryView.ascx and ucNewsListing.ascx pages.



That's really good Wylie.

I also wanted to be able to hide the header (Current Articles | Categories | Search  and footer (Article List page 1 of 2) if it is possible because i am having many News Article Modules on several tabs and looks not so good if on the top and below of each module are visible the header and footer.


Wylie, that site is looking terrific! Mind if I use you in a featured customers list?

Mike, you should be able to get rid of the bottom by editing the listing.footer.html file.. I'm working on an option to configure the top..

Scott McCulloch
Site Administrator
Mike PhanouUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:61

6/28/2005 2:16 AM  
Thanks Scott, i already removed it
Phil SpethUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:127

6/28/2005 6:51 AM  
Wylie would you be willing to share your template??
Chris WylieUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:99


6/29/2005 8:23 AM  
Hi Folks,

I've been swamped for the last week.

Scott - I'd be honored to be included in your featured list.

I'd also be happy to share my templates.  Let me upgrade to the latest version this weekend and then get a zip sent out.

Wylie
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/29/2005 8:25 AM  
Posted By Wylie on 6/29/2005 8:23:52 AM
Hi Folks,

I've been swamped for the last week.

Scott - I'd be honored to be included in your featured list.

I'd also be happy to share my templates.  Let me upgrade to the latest version this weekend and then get a zip sent out.

Wylie

Thanks Wylie, look forward to seeing the Zip.

Scott McCulloch
Site Administrator
Chris WylieUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:99


6/29/2005 8:28 AM  
I have found a small bug in the DNN 3.1 release. 

If you look at my Articles page:
http://idahohealthcareforall.org/Information/Articles/tabid/190/Default.aspx
You'll notice I have put categories as a listing of links to the side.  For each link I had checked the "Track Number Of Times This Link Is Clicked?" box.  In DNN 3.0.13 this worked fine. 

In DNN 3.1 I get the following error:
[FormatException: Input string was not in a correct format.]
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +0
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1630
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

So I have now unchecked the
"Track Number Of Times This Link Is Clicked?" box and the links work fine again.
Jack HoelzUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:861


6/29/2005 8:41 AM  

I think this is not isolated to this module. Have you tried it with the standard links module?

I seem to remeber having the same trouble with that, not sure at the moment.


Get The Net!!

Jack Hoelz
Chris WylieUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:99


6/29/2005 9:33 AM  
You're correct, it is not limited to the News Articls module.  Basically  you can no longer use the option "URL ( A Link To An External Resource )" and "Track Number Of Times This Link Is Clicked?" when your link acutally points to a page within your site.

This is not a problem with pages created by the framework because you can use "Page ( A Page On Your Site )" and "Track Number Of Times This Link Is Clicked?" in conjunction without any problems.  But for pages created within a module, like News Articls, you have to use "URL ( A Link To An External Resource )" to link to them. 
Chris WylieUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:99


6/30/2005 6:42 AM  
Hi Folks,

I've installed Scott's latest version of News Articles and everything works great.

I'm attaching a zip file of the template I made.  You can see it in action here:
http://idahohealthcareforall.org/Information/Articles/tabid/190/Default.aspx

Under your /DnnForge - NewsArticles/Templates directory create a new folder called /KeepItSimple.  Unzip the attached file into the /KeepItSimple directory.

You will notice at my site that I have the Category name listed at the top of the listing pages.  To do this I hacked two .ascx files.  I've included copies of them in the zip.  Look for "copy of ...".  I used <h3> tags to format the Category names, but you can use any stylesheet classes you want.

You'll also notice that I've got a Categoies list of links on the left.  That you will have to create yourself.  If you do, when you make links to the News Articles pages you'll have to us the "URL ( A Link To An External Resource )" option.  With DNN 3.1 you can no longer "Track Number Of Times This Link Is Clicked?" if your "External URL" actually links to a page within your site.  So don't select this option.

BTW - on the "home" page of the site I reference above you'll notice that I'm using Scott's Latest Articles module to great advantage.

Thanks again Scott.

Attachment: KeepItSimple.zip

Mike PhanouUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:61

7/01/2005 1:56 PM  

Scott is there any way of editing the tempates and get as a result something like:

---------------------------------------------------------------
|                                                                                             |
|                                    This is                                               |
|                                  a featured                                            |
|                                     article                                               |
|                                                                                             |
|                                                                                             |
---------------------------------------------------------------
|                                              |                                              |
|           This is not                    |        This is not                       |
|              a                              |               a                              |
|    featured article                    |      featured article                  |
|                                              |                                              |
|                                              |                                              |
---------------------------------------------------------------

I mean that the feature articles will be in 100% width (of the News Articles Module) and the non feature article in 50% width.

I really have to do that. If it is not possible by editing templates then can you please provide me some information on what i have to do?

Thanks a lot.

Mike PhanouUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:61

7/01/2005 1:59 PM  

Well  not absolutly as i wanted it to be

Something like:

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


7/01/2005 10:23 PM  
Mike, could be possible through the use 2 modules using Latest Articles.

Add a module that only shows a featured article (max1).

Add another module that shows other articles (non-featured) (max2)

Scott McCulloch
Site Administrator
Mike PhanouUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:61

7/02/2005 12:31 AM  
Posted By smcculloch on 7/1/2005 10:23:55 PM
Mike, could be possible through the use 2 modules using Latest Articles.

Add a module that only shows a featured article (max1).

Add another module that shows other articles (non-featured) (max2)


Scott, when the feature article will become non-feature will not be showned in the other module (for non-featured), that's the problem.
Mike PhanouUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:61

7/02/2005 2:08 PM  

Finally i did it!

Very very soon i will give the link to my new portal

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


7/03/2005 3:04 AM  
Posted By MikeMinsk on 7/2/2005 2:08:01 PM

Finally i did it!

Very very soon i will give the link to my new portal



Great! I look forward to it!

Scott McCulloch
Site Administrator
Mike PhanouUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:61

7/04/2005 3:22 PM  

And the url is.... http://www.newscy.com

I am currently uploading staff, there is nothing there now. Tomorrow i hope that everything will be set

Mike PhanouUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:61

7/10/2005 11:17 AM  
Scott, any idea on how i can remove the top (Current Articles | Categories | Search ? We are going live after tomorrow and this is the only think i didn't fix yet. Thanks
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


7/10/2005 5:08 PM  
I might just port that shout box (as is), I was going to make some enhancements, but I think I'll port first. I'll try to do it on the weekend.

Scott McCulloch
Site Administrator
Jack HoelzUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:861


7/19/2005 5:34 AM  

Scott,

Please change out the "Basic" template with the attached file.

Cleaned it up and added the new features.

See it here: http://www.evangelog.com

 


Attachment: Basic.zip


Get The Net!!

Jack Hoelz
David SmithUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:9

7/25/2005 2:08 PM  
So, where is this Templates Guide you have me so excited about?

Also, the link in Scott's post to which I'm replying points from this thread right back to this thread. Was it supposed to point somewhere else?
You are not authorized to post a reply.
Forums > Modules > News Articles > Templates



ActiveForums 3.7