New Files Advanced 1.0

All new Coranto Addons, updates and patches to addons, will be released here...also, get support for addons within!

Moderators: Spunkmeyer, Dale Ray, SrNupsen, Bluetooth, Jackanape

Postby SrNupsen » Sun May 22, 2005 9:45 pm

Hm... about creating additional files, I don't really understand: That profile would fetch the 5 newest items directly from your news database (newsdat.txt), and so it wouldn't matter where your other profiles store their outputs. This profile would give you one single text file with the 5 latest news items, regardless of category.

As for design, you can easily tailor design to suit your category. Couple of clues:

If you have image files named after your categories (news.jpg, sports,jpg etc.), you can easily insert an image corresponding to the category by using <img src="<Field: Category>.jpg"> somewhere in your style (NB about case sensitivity)

For more advanced use, you can even create CSS classes using your category names:

.sports_maintext { blah blah }
.news_maintext { slightly different blah }

And then put <span class="<Field: Category>_maintext">TEXT</span>



If you're a little familiar with CSS.

Hope this gave you some pointers. There are many other ways to do it too, but my main point is that making category-specific styling to be used in the same profile isn't difficult at all.

SrNupsen
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Postby Gilbert » Sun May 22, 2005 10:00 pm

SrNupsen wrote:Hope this gave you some pointers. There are many other ways to do it too, but my main point is that making category-specific styling to be used in the same profile isn't difficult at all.

SrNupsen


Got you. Plenty of stuff never thought about. many thanks. Just realising I have still a good learning curve. Will start working on it asap. Thanks
Gilbert
 
Posts: 121
Joined: Tue Jan 09, 2007 10:03 am

Postby Parahead » Tue May 24, 2005 7:43 pm

Gilbert wrote:Small issue. Really more to do with Maginot.

To explain

When deleting a news item as Maginot does not delete the file from the server New Files keep displaying the link.

I am using New Files to display the latest 5 news title irrespective of their profile/catgory
Yes, not being able to delete files through Maginot is a known issue (or more of a conscious choice not to implement this feature yet). Search the forum for more info on the subject...
Yes, I am still around...
www.parahead.com/coranto/
User avatar
Parahead
 
Posts: 4837
Joined: Fri Jan 12, 2007 8:54 pm
Location: Stockholm - Sweden

Postby Gilbert » Tue May 24, 2005 8:10 pm

Thanks. I am already aware of this thread, I was just stressing the point ;)

SrNupsen implemented your pointers. Worked extremely well.
Gilbert
 
Posts: 121
Joined: Tue Jan 09, 2007 10:03 am

Postby Dale Ray » Fri Feb 22, 2008 1:50 am

Download Link below

New Files Advanced
Dale Ray
User avatar
Dale Ray
 
Posts: 1004
Joined: Sun Jan 19, 2003 6:02 pm
Location: NW Indiana

Previous

Return to Addon Release and Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron