1
london
Re: Two theme.html documents in the same theme?
  • 2006/3/7 18:54

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


Apologies, probably I am not explaining myself as my first language is not English. What I want to do is the following: I want to build a different page, say test.php, which from the left blocks on any other XOOPS page I want only the login block to be displayed.

At the momenr, I know I can have all left blocks displayed by doing show['lblock']=1. The question is what code do I write in test.php so that only the login block is displayed instead of the other blocks?

Thanks,
George



2
london
Re: Two theme.html documents in the same theme?
  • 2006/3/6 17:54

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


You are perfectly right, but that is not what I wanted (I asked the question wrong).

What I want is to have control over what blocks get displayed on different pages. For example, I have a custom page - test.php - that out of the three left blocks, it only displays the login block.

How can I do that?

Thanks,
George



3
london
Two theme.html documents in the same theme?
  • 2006/3/1 16:56

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


Dear All,

I would like to be able to have two different theme pages (not too different) to use depending on which page I look at.

Is that possible?

I look forward to hearing from you soon.

Thanks,
George



4
london
Three Questions About XOOPS
  • 2006/2/5 19:15

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


Dear All,

I have three questions regarding the XOOPS project.

i) In which file is the code for the page the user sees when the site is turned off (a quick search under the language files did not reveal anything - thought a code will be used for that).

ii) Assuming a custom page is created, is there any way of specifying what blocks I want visible in that page? It is a custom XOOPS page and I would like to have some more flexibility than show[rblocks]=1 and so on.

iii) I am having problems with the Forum module. More specifically, I am fine up to the forums page (I can see forums fine, with the exception of an wbb_index.htm appearing as text at the end). However, I can not see any of the messages text when I select them - checked the database and all the information is in there (also a ]} appears at the bottom of the page). I checked the newbb_viewforum.htm and viewforum_viewtopick_flat.htm files under the templates folder with no luck. Any suggestion as to what might be wrong?

I look forward to hearing from you soon.

Thanks in advance.

George



5
london
Where is xoopsDB instatiated?
  • 2006/1/17 18:11

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


Dear All,

I have noticed that almost all XOOPS modules use a global variable $xoopsDB, which pressumably refers to the XOOPS database.

I would like to know where it is instantiated and whether somebody could declare a second database as a local variable for a certain module.

Suppose, for example, I want to select available polls from a database with tables prefix xoops12 that is different from the one that I use for the site that has the prefix xoops. Would I copy the code from databasefactory.php (if I am not wrong) and have another local variable used within that module? If so, how would I then destroy it?

I look forward to hearing from you soon.

Thanks in advance.

George



6
london
Content Interchange
  • 2005/12/8 22:28

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


Dear All,

I have a site - www.test1.com - running XOOPS and I set another site - www.test2.com - running XOOPS as well. What I want to do is when I click on Forums on www.test2.com to have the forums from www.test1.com appear but the left and right blocks should be those used in www.test2.com.

Any suggestions?

Thanks,
George



7
london
Can not redeclare class
  • 2005/12/7 14:09

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


Dear All,

I am running XOOPS on my main site and created a sub-domain that runs XOOPS as well. I copied the files over from one site to the other and when I try to run xfguestbook I get the following error message:

Fatal error: Cannot redeclare class xfguestbookmsg in /homepages/34/d125392556/htdocs/sefl/modules/xfguestbook/class/msg.php on line 28

Why is that happening? How can I overcome it?

Thanks,
George



8
london
Re: XoopsPoll Module
  • 2005/12/4 21:54

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


No, definitely not. Each site is in a different folder with a different cache and a different templates folder.

It's just the xoopspoll module that is affected, that is the strange think.

George



9
london
Re: XoopsPoll Module
  • 2005/12/2 15:41

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


Highlander,

Thanks for your prompt reply. Unfortunately, I am on shared hosting so having more databases is not an option. However, the table prefix is different which I would think is sufficient for retrieving the polls list from the right table. It is only doing it with the polls module also and that is confusing - everything else works fine so <{$xoops_url}> is not misinterpreted.

What else could possibly be wrong?

George



10
london
XoopsPoll Module
  • 2005/12/2 14:02

  • london

  • Just popping in

  • Posts: 23

  • Since: 2005/6/8 2


Dear All,

I am having problems with the xoopspoll module when I created a subdomain of my site. Say I am running www.test1.com with physical path set to /htdocs/test1 and url www.test1.com and table prefix is xoops.

I create a subdomain, www.test2.test1.com, copy the files over to a folder test2, amend mainfile so that physical path is /htdocs/test2, url is www.test2.test1.com and table prefix is xoops36 (for some reason, it was not working so I changes physical path to /htdocs/test1).

I create a new poll for test2.test1.com but then it appears on my test1.com website without even been part of the polls that I can see when I select List Polls from the Administration menu. Moreover, any change made on any of the sites is reflected to the other.

What might be the problem here?

Thanks,
George




TopTop
(1) 2 3 »



Login

Who's Online

166 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 166


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