Home arrow Forum

Remository Forum

 


<< Start < Previous 1 2 Next > End >>
Excalibur!

Karma: 0  
Module request: Newest Glossary items - 2006/02/15 12:42 It would be very nice...
  | | Sorry, you do not currently have permission to write here.
Excalibur!

Karma: 0  
Re:Module request: Newest Glossary items - 2006/10/03 10:52 I made one...
File Attachment:
File name: mod_latestglos.zip
File size:1565 bytes
  | | Sorry, you do not currently have permission to write here.
matc

Karma: 0  
Re:Module request: Newest Glossary items - 2006/12/26 10:35 Hi! Wow, great mod, thank you!

Is it possible to extend it a little so that it is possible to change the number of items displayed? btw it shows 10, not 5 latest entries!
How can I change the code so the link points directly to the entry? at the moment it links to the letter but there is no entry listed...!? bug?

this one should be added in the download-section i guess...

Post edited by: matc, at: 2006/12/26 05:43
  | | Sorry, you do not currently have permission to write here.
matc

Karma: 0  
Re:Module request: Newest Glossary items - 2006/12/26 11:21 ok, solved the problem myself:
in mod_latestglos.php replace the existing line 55 with the following:

Code:

     echo '<li><a href="'sefRelToAbs'index.php?option=com_glossary&func=view&Itemid='.$row->id.'&catid=14&term='.$row->tterm.'') .'">'$row->tterm .'</a></li>';



"catid" must be the catid of your glossary. You can find this, when you view a linked item in the glossary.

Now entries are directly linked to an item.
  | | Sorry, you do not currently have permission to write here.
Excalibur!

Karma: 0  
Re:Module request: Newest Glossary items - 2006/12/26 13:27 Thanks matc!
  | | Sorry, you do not currently have permission to write here.
matc

Karma: 0  
Re:Module request: Newest Glossary items - 2006/12/26 13:37 np. I also added the function to change the number of entries in the module-config.
simply add in the mod_latestglos.xml the following code after
Code:

 </files>

:
Code:

 <params> <param name="count" type="text" size="20" default="5" label="number of items" description="number of items to be shown" /> </params>


then insert in mod_latestglos.php after
Code:

 global $mosConfig_offset$mosConfig_live_site$mainframe;


the following code:
Code:

 $count intval$params->get'count') );

  | | Sorry, you do not currently have permission to write here.
<< Start < Previous 1 2 Next > End >>

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 10 guest online