1
cadelite
Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm
  • 2008/11/30 11:49

  • cadelite

  • Just popping in

  • Posts: 86

  • Since: 2008/1/15


My website uses XOOPS 2.3.2a and SmartSection 2.14. Besides, it also use Simplified_URL 1.51 to rewrite URL as "http://www.mywebsite.com/smartsection-item.itemid-?.htm".

I would like to set the front page of visiting "http://www.mywebsite.com" as "http://www.mywebsite.com/smartsection-item.itemid-1.htm", instead of setting startup module as "SmartSection". By setting "SmartSection" as startup module, only category list is shown (I do not want viewer has the right to read the category/article list).

How can I config "http://www.mywebsite.com/smartsection-item.itemid-1.htm" as the front page?

My server config:

XOOPS Version - XOOPS 2.3.2a
PHP Version - 5.2.2
MySQL Version - 5.0.24a-log
Server API Version - cgi
OS Version - FreeBSD

Thanks a lot!

2
ghia
Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm
  • 2008/11/30 12:05

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


If there are blocks in Smartsection, where you can highlight a specific article, then you could display this block in the center column at the home page only.
Adding a rewrite rule is also a possibility.

3
cadelite
Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm
  • 2008/11/30 12:32

  • cadelite

  • Just popping in

  • Posts: 86

  • Since: 2008/1/15


Thank you very much, ghia!

I use the "block" method but it will display a list of articles, which I do not want it to be seen.

For the rewrite rule, can you tell me how to set the RewriteRule to have this effect?

Thank you very much.

4
ghia
Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm
  • 2008/11/30 13:12

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try
RewriteRule ^$ /modules/smartsection/item.php?itemid=[L]

5
cadelite
Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm
  • 2008/11/30 16:05

  • cadelite

  • Just popping in

  • Posts: 86

  • Since: 2008/1/15


The problem is solved. Thank you very much!

6
Mamba
Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm
  • 2008/11/30 16:34

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Let us know, how, so if somebody searches for it and finds this thread, will also see the solution! Thanks!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

358 user(s) are online (313 user(s) are browsing Support Forums)


Members: 0


Guests: 358


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