| | | |  |  | |  |
09.04.2004, 21:41
|
#1 (permalink)
| | Junior Mamber
Join Date: Apr 2004
Posts: 42
| generall Question on how to use parameters... HI,
iīm new, itīs my first post & olé.
itīs the first time that i had to use parameters, but itīs realy importend.
i try to use a module which was built by
Display News - Latest 1-2 [27 March 2004]
mod_display_news-latest_1-2.php
by Rey Gigataras http://mosforge.net/projects/displaynews/ mambo@utra.org.au
Now i need a way to show only the news out of a special category. there for you had to use parameters.
i know where to put them in (admin backend -> manage modules), but i donīt know the syntax.
could someone please gimme a tip or a tutorial or a link or somekind of code on how to do this.
thanks...
ciao cane. |
| |
10.04.2004, 08:47
|
#2 (permalink)
| | Professional Mamber
Join Date: Apr 2004 Location: Marikina, Manila, Philippines
Posts: 776
| Re: generall Question on how to use parameters... Its you lucky day cane, cause Rey Gigataras = stingrey
All you have to do to enter the parameters as follows: Example To show 10 items from Section id 5; show the category of the item, but not have it is a url link; show the date the item was submitted in the format month day year; have the article author visible; show the date; show the intro text, but limit it to only 150 words; and make the test scroll - you would need to enter this into the parameter field
set_count = 10
set_section_id = 3
show_category = y
link_category = n
show_date = y
format_date = %b %d %y
show_author = y
show_intro = y
limit_intro = y
length_intro = 150
scroll = y --------------------------------------------------------------
If your stilling having problems, either post what exactly you want to do and I'll post the parameters you would need to use, or Private Message (PM) me.
- rEy -
__________________ Joomla! Core Team Member
Software Coding & Design - Stability Team Leader www.joomla.org Former Mambo Core Team Member |
| |
10.04.2004, 11:43
|
#3 (permalink)
| | Mamber
Join Date: Apr 2004 Location: Flanders - Belgium
Posts: 58
| Re: generall Question on how to use parameters... nice Stingrey. But is there a way too to define "display only a section category". So when you have a section news with categories "latest news", "website", "development" and you want to show only items form "latest news" how do you do that.
PS. I haven't tested your module yet. But it looks promising to me.
__________________
Webracer
Founding member of mambobrothers.com "You have the Ideas, We have the Skills" |
| |
10.04.2004, 12:57
|
#4 (permalink)
| | Junior Mamber
Join Date: Apr 2004
Posts: 42
| Re: generall Question on how to use parameters... Hey,
what kind of fortuity that i meet you here. very nice
ok, letīs have a look on what i did put into the parameter field. (i called it "Infoīs & termine") http://www.artfullsoundproductions.de/mambo.jpg
there you can see what i have done.
and now letīs look on the website. http://www.artfullsoundproductions.de/cms/
nothing happens
whatīs wrong? Quote: |
Originally Posted by webracer nice Stingrey. But is there a way too to define "display only a section category". So when you have a section news with categories "latest news", "website", "development" and you want to show only items form "latest news" how do you do that. | @webracer, exactly what i want to do
again, thanks for your help on my little problem.
grüße, cane  |
| |
10.04.2004, 13:03
|
#5 (permalink)
| | Mamber
Join Date: Apr 2004 Location: Flanders - Belgium
Posts: 58
| Re: generall Question on how to use parameters... wow! Hot design!
__________________
Webracer
Founding member of mambobrothers.com "You have the Ideas, We have the Skills" |
| |
10.04.2004, 14:19
|
#6 (permalink)
| | Professional Mamber
Join Date: Apr 2004 Location: Marikina, Manila, Philippines
Posts: 776
| Re: generall Question on how to use parameters... Quote: |
Originally Posted by Cane wow! Hot design! | Have to agree, very cool template -------------------------------  Now back to the question, are you sure you've installed and published my Display News - Latest module. Look at the source code of your page, leads me to believe you are still using the Latest News module.
In my module I have added the comments <!-- START module 'Display News - Latest' -->
so I can tell whther the module is being used or not.
Also what exactly do you want the module to display.
You have to know the particular category id number of category name to be able to sepcify that you want it to be displayed.
You can't just plug in a an id number, it has to be valid.
Please post the parameters you have tried to use. ------------------------------- Quote: |
Originally Posted by webracer But is there a way too to define "display only a section category". So when you have a section news with categories "latest news", "website", "development" and you want to show only items form "latest news" how do you do that. | Two ways to do this:
You either specify the category id number of the category you want displayed via set_category_id = ??
Or you can enter the caetgory name set_category_name = latest news
Both will give the same results ------------------------------- I'll hopefully sit down and right a howto guide to explain what parameters you need to set to do certain things.
What of the most powerful functions it has is the auto function.
How this works is if you set_auto = y
Then the module will show the latest news depending on what page you are on. On the frontpage it will show the latest news from all sections & categories.
In a section page (e.g. Latest News) it show the latest news from only that section. When in a category page, it will only show the latest news from that category. When on an news item page, it will show the latest news from the category that the displayed news is part of.  The end objective is to produce a component that will manage all the setting of the parameters through entry fields, dropdown boxes, check boxes, etc
Anyway, just post your problems and I'll hopefully be able to help you out with them
__________________ Joomla! Core Team Member
Software Coding & Design - Stability Team Leader www.joomla.org Former Mambo Core Team Member |
| |
10.04.2004, 14:49
|
#7 (permalink)
| | Junior Mamber
Join Date: Apr 2004
Posts: 42
| Re: generall Question on how to use parameters... w0w, THANKS for your help.
i did activate the wrong module^^
now everthing works realy fine.
nice module, i like it.
well i have another problem maybe you can help me.
when somebody visit my site and did forget his pass he can get it by "forget password?"
when you enter your details and then push "send" a new massage is shown on the mainbody (you have recieved a new pass, in german -> Neues%20Benutzer%20Passwort%20generiert%20und%20ge sendet!" /> ) and in the login form, but it destroys my layout. because it becomes higher then what i did plan.
please register and try it out, i donīt know where this massage is created.
thanks again for your help
ciao, cane....
post scriptum: thanks for the positive feedback on my template...  |
| |
11.04.2004, 17:09
|
#8 (permalink)
| | Junior Mamber
Join Date: Apr 2004
Posts: 42
| Re: generall Question on how to use parameters... *hochschieb*
plz, could someone help me. itīs realy importend.
iīm not able to find the place where this massege is created.
grüße, cane  |
| |
11.04.2004, 18:05
|
#9 (permalink)
| | Professional Mamber
Join Date: Apr 2004 Location: Marikina, Manila, Philippines
Posts: 776
| Re: generall Question on how to use parameters... Cane,
noticed that when I hover my mouse over the links in the Display News - Latest module, the pop-up text still reads " Read More ->...." if you want this to come up in German, you can use the parameter. text_hover_title Quote:
*hochschieb*
plz, could someone help me. itīs realy importend.
iīm not able to find the place where this massege is created.
| Where is this appear?
What do you do that creates this message?
__________________ Joomla! Core Team Member
Software Coding & Design - Stability Team Leader www.joomla.org Former Mambo Core Team Member |
| |
12.04.2004, 04:32
|
#10 (permalink)
| | Junior Mamber
Join Date: Apr 2004
Posts: 42
| Re: generall Question on how to use parameters... olé, CLick...
on the picture you can see the problem.
itīs displayed when you first click "passwort vergessen" (forget password) and then send. text displayed in the first box: Neues%20Benutzer%20Passwort%20generiert%20und%20ge sendet!" /> (means: a new pw has been generated and will be send to your e-mail adress) text displayed in the second box: just the same as in box 1, but without "%20"
now i had to know where this massege is generated. doesnīt look nice for the template ^^
again thx for your help.
grüße, cane.
post scriptum: sorry for my english...  |
| | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT +2. The time now is 05:14. | | | |