281
jfmoore
How to include topic name with article title in "Recent News"
  • 2004/12/19 19:12

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


I think I misposted this in the "Module Troubleshooting" forum. Am therefore reposting here. Sorry for the redundancy:

What want to do is to modify News module's "Recent News" block (which shows articles in ALL topics), to display the topic along with the article title like so:

|==========================================|
| Recent News |
|------------------------------------------|
| * NATIONAL :: Godzilla Eats Baltimore! |
| * LOCAL :: Mayor Resigns & Opens Casino |
|==========================================|

It would seem that the thing to do would be to modify the block template, but I don't know if this is correct nor what to put where. I would appreciate any suggestions as to how to do this.

Thanks,
JFM



282
jfmoore
Re: Recent News titles to include topic?
  • 2004/12/19 17:23

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Okay, I'm going to risk a double post, but my last entry is not appearing here, so here it is again, as well as I can remember:

Mowaffak,

Thanks for your input, but I don't think we are talking about the same thing. Lykos Blocks, like Topics Blocks, just show 1 topic at a time. That's not what I want.

What I want is a block, like the News module's "Recent News" block (which shows articles in ALL topics), to display the topic along with the article title like so:

==========================================
Recent News
------------------------------------------
* NATIONAL :: Godzilla Eats Baltimore!
* LOCAL :: Mayor Resigns & Opens Casino
==========================================

etc.

So, what I assume I need to do is modify the "Recent News" block template. The question is how? Any suggestion on this?

JFM



283
jfmoore
Re: Recent News titles to include topic?
  • 2004/12/18 16:38

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Okay, got Lykos Blocks working on another site where Topics Blocks were not installed. Probably cannot have both. Anyway, the block looks just like any other recent news block--no topic in the title.

I am curious, though, why did you think that the topic would be included in the Lykos block with the article title? Is there an option, perhaps, that I have overlooked?

JFM



284
jfmoore
Re: Recent News titles to include topic?
  • 2004/12/18 16:11

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

Mowaffak wrote:
Try Lykos Blocks Module


Thanks for the suggestion. Installed the blocks, but, when I set one to visible on the top page, all I get is a blank page.
Maybe they won't work with News 1.21?

JFM



285
jfmoore
Recent News titles to include topic?
  • 2004/12/18 15:07

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Hope this is the right place to ask this:

I would like the topic to be displayed along with the titles in the "Recent News" block. Is there a relatively easy way to do this, and, if so, how?

Thanks,

JFM



286
jfmoore
Re: Search only one module
  • 2004/11/12 4:55

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Useful information. Thanks!

JFM



287
jfmoore
Search only one module
  • 2004/11/11 15:31

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


I would like to have a version of search.php which would search only one module--or, when the search box comes up, it would have only the one module checked. Then, you could invoke whatever search_xx.php from whatever module if you wanted to search only that module.

The other modules should be available, also, just in case, but unchecked.

Would this be hard to do?

JFM



288
jfmoore
Re:Install Xoops in sub-directory?
  • 2004/11/9 17:25

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Thanks for both replies. Great information!

Question re using php: Apparently the .htaccess method is ok with search engines. What about the php method? Seems efficient and easy.

Question re using .htaccess: There is already an .htaccess file in my public_html directory, apparently set up when domain was created. If I were to use this method, would I just add the redirect line to the end?

Question re both: Is there an advantage to using one method over another?

Thanks again.

JFM



289
jfmoore
Re: Install Xoops in sub-directory?
  • 2004/11/9 15:28

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Thanks for the reply, but that's not the same question at all. I am already running multiple test sites and have no problem with that.

The question is:

1. When I get ready for a live site, and I am nearly there, where should it go? I would like to install it in /site, but then would have to redirect xyz.com to xyz.com/site.

2. Can this redirection be done without confusing search engines, and, if so, how would it best be accomplished? Someone already doing this maybe?

Or, should it just be installed in the root directory and be done with it?

I want to do it the right way the first time.

JFM



290
jfmoore
Install Xoops in sub-directory?
  • 2004/11/9 13:01

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


I would like to install XOOPS in a sub-dir, say xyz.com/site and then have xyz.com redirected to xyz.com/site.

Is this a good thing to do?

Is there a way to accomplish this redirection so as not to mess up search engine indexing?

JFM




TopTop
« 1 ... 26 27 28 (29) 30 31 32 »



Login

Who's Online

233 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

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

Latest GitHub Commits