1
invertigo7
News Archive Block and Modifying Ecal Blocks
  • 2005/7/1 20:50

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Hello all! I'm very new to XOOPS. So far I'm very happy with what I have done. I have a couple questions so far, and I hope this is the right place to post it.

Here is my first situation:

I use the default News module that installs with XOOPS. When I log in to my site as the webmaster, in the Main Menu, there is a News link. Under the News link there is an Archive link. This takes me to a page where I can view old topics. The page is a list of hyperlinked months that take me to another page that displays all the news items from that month.

I have it set up so that users on my site do not display the main menu. All they get is the user menu. However, I'd still like them to access the archive page so they can look at old posts. Ideally what I'd like is to have a block called "News Archive" or something underneath the User Menu. This block would look like the archive page with the all the hyperlinked months listed. Then when they click on a month, it opens up the news item list on the main news screen.

I hope what I'm trying to ask makes sense. Is this possible? Is there something I need to download and install to make this possible? I'm fairly comfortable installing new modules, and I've tinkered a bit with templates.

My second question is about an Ecal block. I like the 7 Day Event Forecast block, but I'd like the header of the block on my page to just say "Upcoming Event" instead of "7 Day Event Forecast" I found two files in the module directory that had that line of text in it, but when I modify them and upload them the text does not change. The files were block.php and modinfo.php in the modules/eCal/language/english directory. Are there other places I need to change this, or is there something I'm doing incorrectly? It doesn't seem like it should be too difficult.

Any help anyone can provide will be very much appreciated! Thank you in advance!

2
wcrwcr
Re: News Archive Block and Modifying Ecal Blocks
  • 2005/7/2 1:00

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi

Quote:
I have it set up so that users on my site do not display the main menu. All they get is the user menu. However, I'd still like them to access the archive page so they can look at old posts. Ideally what I'd like is to have a block called "News Archive" or something underneath the User Menu. This block would look like the archive page with the all the hyperlinked months listed. Then when they click on a month, it opens up the news item list on the main news screen.


You can easylly get what you want using a module called Multimenu
I allows you to create a block/menu and to point to every link you might want.

Quote:
My second question is about an Ecal block. I like the 7 Day Event Forecast block, but I'd like the header of the block on my page to just say "Upcoming Event" instead of "7 Day Event Forecast" I found two files in the module directory that had that line of text in it, but when I modify them and upload them the text does not change. The files were block.php and modinfo.php in the modules/eCal/language/english directory. Are there other places I need to change this, or is there something I'm doing incorrectly? It doesn't seem like it should be too difficult.


Did you update the mod after the changes?
Another try could be to look in the templates folder and do a search for the text you want.

Just in case you can also delete all the contents, except the index.html file inside your templates_c folder at your XOOPS root.

Hope that helps a bit

3
invertigo7
Re: News Archive Block and Modifying Ecal Blocks
  • 2005/7/2 16:56

  • invertigo7

  • Just popping in

  • Posts: 14

  • Since: 2005/7/1 1


Thank you! Clicking on update for the Module did take care of my problem! I will check out Multimenu and see if it does what I need. Thank you!

You mentioned that I can delete all the stuff in templates_c. I have a question about that. When I started using XOOPS, I copied the default theme and renamed it to something else. I then started modifying the theme to look how I wanted. I did this by modifying the CopiedThemeName^theme.html file in that folder. Should I have done that a different way? Or is that how it intended to be updated?

Login

Who's Online

210 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits