User Fields when submitting article

For everything else related to Pro_News - tips, tricks, your new ways to use and extend it. A place to exchange ideas and explore future possibilities.
  
31 Dec '69 الجمعة ابريل 04, 2008 23:55    
Wide
Newbie  Newbie
  •  

مساهمة User Fields when submitting article

Please forgive me, I'm old LOL

While posting an article there are user fields. What and how are these used in the article?

Thanks in advance سعيد جدا



Wide please enter your server specs in your user profile! يبكي  
 
 
 
  
31 Dec '69 السبت ابريل 05, 2008 00:25    
layingback
Site Admin  
  •  

مساهمة Re: User Fields when submitting article

First off, you don't have to use them. But if you have a set of articles with a common theme, that you might place in a single Section, that require or could use a common set of keywords and information tables, then you can use these fields.

Let's go with a real estate example. If you had a Section showing listings of properties for sale, then every listing needs to display a few important characteristics in a uniform place where they are easy to find. E.g. The price! Number of bedrooms, etc. That's what you might use it for.

On this site click on one of the Headlines showing an image of a white Toyota Supra. One is a sales ad, where I've used user fields for basic car info, make, model, price, etc. The other is a demo of the new Gallery feature, which lets you display a Coppermine Gallery in a crisp modern style (more flickr than than the default Coppermine 35mm film icon ;-)) but also lets you add in an intro image - maybe the album title, a closing image - maybe the photograph's own picture, a textual introduction to the gallery, and a block of user fields, in this case for standardise info about the gallery, Album name, Photographer's name, etc.

One of my (star) beta testers has a site with How-To projects on it, and uses the user fields for an Items-You'll-Need list.

Hope this gives you an idea of a few uses. Basically is a small, simple, 'poor man's data field capability - for up to 10 shortish fields. Useful when you need it, but can be safely ignore if you don't. In fact many of the sample templates do not use User Fields at all.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
31 Dec '69 السبت ابريل 05, 2008 03:54    
Wide
Newbie  Newbie
  •  

مساهمة Re: User Fields when submitting article

Thank you very much for the fast reply.
Totally understand it now.

Could be used as ex: a common feature listing of said product or like a common feature list of reaccuring stories .

Very cool stuff, think I like this quite a bit.

Now off to find how to edit the field names سعيد جدا

EDIT::..Language/pro_news.php did the trick

ابتسامة



Wide please enter your server specs in your user profile! يبكي  
 
 
 
  
31 Dec '69 السبت ابريل 05, 2008 04:47    
Rusty_
BetaTester  BetaTester
  •  

مساهمة Re: User Fields when submitting article

Hi Wide,

EDIT::..Language/pro_news.php did the trick


This is not really the place to change the names to the users fields, although it can be done.

The way it is meant to be done is in the Pro News Administration area under Sections

When you add a new section, you assign things like the article template, forum, privileges, the Field Title and User fields names in there.

Then when you add categories you can assign a different section to different categories if you wish.

For simplicity, what I do is give a section the same name as the category that I am going to assigned it to.

But remember you should create the section first then go in and create the category .

This might help a bit as well
http://layingback.net/Pro_News/aid=17.html

HTH
Cheers


_________________

OS: Linux /Apache: 2.2.6 /MySQL: 5.0.45/PHP: 5.2.4 /Dragonfly version: (9.2.1) / Firefox: 3.0.3



Rusty_'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

Linux/2.2.14/5.0.90/5.2.11/Dragonfly (9.2.3.1 CVS)

 


عدل سابقا من قبل Rusty_ في السبت ابريل 05, 2008 04:50, عدل 1 مرة 
 
 
  
31 Dec '69 السبت ابريل 05, 2008 04:50    
layingback
Site Admin  
  •  

مساهمة Re: User Fields when submitting article

language/pro_news.php will do it, and used to be the only way. It is still the best way if your site is multilingual, as it lets you enter the text in each of the supported languages.

But for a single language site, you can now edit the user fields in the Admin > Sections entry. This approach also gives you the advantage of being able to have different field names for each Section! And avoids having to use an editor يغمز

You can of course combine these 2 methods, set up default user fields in language/pro_news.php, and then override them as necessary in specific Sections.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
  
31 Dec '69 السبت ابريل 05, 2008 23:13    
Wide
Newbie  Newbie
  •  

مساهمة Re: User Fields when submitting article

Thank you both very much!

Having a real blast poking around in the module.

Kind of set me back a bit in a good way as "more tools" to work with now.

Thanks again
سعيد جدا



Wide please enter your server specs in your user profile! يبكي  
 
 
 
  
31 Dec '69 الاحد ابريل 06, 2008 00:46    
layingback
Site Admin  
  •  

مساهمة Re: User Fields when submitting article

- Wide

Thank you both very much!


Yeah, check the times - we both typed replies at the same time!
يغمز

"more tools" to work with now.


Yep, I like my modules to adapted to the way I want to present the data, not the other way around! ابتسامة The downside is the risk of confusion, but I find that easier to deal with! سعيد جدا



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

2.6.32 / 1.3 - 2.4 / 5.5 - 5.6 / 5.4 - 5.5 / 9.4

 
 
 
 
Link  QR 
Share this صفحة للطباعة  facebook   google+   linkedin   twitthis  
Show more ...



التحكم بصلاحيات الساحة - لاتستطيع وضع مواضيع جديدة في هذا المنتدى
لاتستطيع الرد على المواضيع في هذا المنتدى
لا تستطيع تعديل مواضيعك في هذا المنتدى
لاتستطيع الغاء مواضيعك في هذا المنتدى
لاتستطيع التصويت في هذا المنتدى
You cannot attach files in this forum
You cannot download files in this forum