WFChannel has a way to select one of its page as the index and if I set WFchannel as the top page then that page becomes the home page (as is in my case right now).
However - the home URL become site.com\modules\wfchannel
I've recently seen people typing in the full URL as the website address (instead of typing in www.albanycc.org.nz, they type in www.albanycc.org.nz\modules\wfchannel)
Can't blame them, most are not IT literate users.
I've tried the short URL hack, both hacks didn't work. I've also tried doing some fancy things with htaccess modrewrite but that didn't work either.
So I am thinking the only way is to extract the channel page in a PHP Block and enable it in the top page which do not load any module as its default.
The record I am after is xoops_wfschannel's CID=1. The fields are index image, page title, page
I know the SQL statement will be
SELECT CID, indeximage, pagetitle, page
FROM wfschannel
WHERE CID=1
How do I get the result (in this case wfschannel.page to display in a php block?
I'm not much of a PHP programmer unfortunately, trying to get there though.
Thanks for any help.