Is it possible ?

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

Is it possible ?

Postby Vizionz » Mon Jun 11, 2007 11:08 pm

Okay i love the way coranto works but i am pretty new to working with it so i need you .

i want to have a main categories for the news.
now is it possible. to add a custum field(Id) to the news postings

so for the main news.txt it shows all stories. but i want to call that id for stories directly about the same thing that relate to that id

so its like this

category : News within that category there is a custum field called ID

now i post news about apple computers so i put in the custum profile field Apple. now i have 4 stories i have posted that i put the custum field Apple. can i just show all the news that Has Apple in it.




so within category
Vizionz
 
Posts: 1
Joined: Mon Jun 11, 2007 11:00 pm

Postby SrNupsen » Tue Jun 12, 2007 7:13 am

Put this line on top of your style:

Code: Select all
<If: Field: CustomField_profile eq "Apple">


and this line at the bottom:

Code: Select all
</If>



This way, only news items with "Apple" in the field CustomField_profile will be processed and output.
-----------------------------------------------------------------------------------------------------
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


Return to Customization

Who is online

Users browsing this forum: No registered users and 2 guests

cron