xoops forums

cadelite

Just popping in
Posted on: 2008/11/30 11:49
cadelite
cadelite (Show more)
Just popping in
Posts: 86
Since: 2008/1/15
#1

Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm

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!

ghia

Community Support Member
Posted on: 2008/11/30 12:05
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#2

Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm

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.

cadelite

Just popping in
Posted on: 2008/11/30 12:32
cadelite
cadelite (Show more)
Just popping in
Posts: 86
Since: 2008/1/15
#3

Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm

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.

ghia

Community Support Member
Posted on: 2008/11/30 13:12
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#4

Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm

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

cadelite

Just popping in
Posted on: 2008/11/30 16:05
cadelite
cadelite (Show more)
Just popping in
Posts: 86
Since: 2008/1/15
#5

Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm

The problem is solved. Thank you very much!

Mamba

Moderator
Posted on: 2008/11/30 16:34
Mamba
Mamba (Show more)
Moderator
Posts: 10792
Since: 2004/4/23
#6

Re: Config Front Page as http://www.mywebsite.com/smartsection-item.itemid-1.htm

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.10 | Docs | Modules | Bugs