[TYPO3-UG Dutch] Support Chat Probleem

Jeroen Vermolen jvermolen at live.nl
Sun May 27 10:35:11 CEST 2012


Hi,

Ik heb een probleem met de Support Chat module (sni_supportchat). In Chrome
en Firefox krijg ik de melding dat ik javascript en cookies in moet
schakelen. 

In Internet Explorer (9) krijg ik wel het chatscherm, met tekstbox en alles,
maar ik krijg in de Backend niks door, en ook lijkt hij de berichten niet te
versturen. 

De TS setup:

[code]
plugin.tx_snisupportchat_pi1 {
    templateFile = EXT:sni_supportchat/pi1/template.tmpl
    addPrototype = 1
    usePrototype = 1
    checkIfChatIsOnline = 1
    # "this" or list uf uids for Chat FE-Plugin Pages to check if respective
chats are online or offline
    # if this value is empty then no Online/Offline check is made in FE
    checkIfChatIsOnlinePids = this
    chatPluginPid = 14
    chatsPid = 15
    offlineLogo = EXT:sni_supportchat/pics/offline.jpg
    onlineLogo = EXT:sni_supportchat/pics/online.jpg
    chatWindowJsParams = width=450,height=570,status=0,menubar=0
    chatNotSupportedPage = 16
    timeToInactivateChatIfNoMessages = 15
    strftime = %H:%M:%S

    getMessagesInSeconds = 1

    _CSS_DEFAULT_STYLE (
.tx-snisupportchat-pi1 h2 {
    font-size: 1em;
    background: #eb1557;
    color: #ffffff;
    margin: 0.3em 0;
    padding: 0.2em 0.5em;
}
.tx-snisupportchat-pi1 p {
    margin: 0;
    padding: 0;
}
.tx-snisupportchat-pi1 #snisupportchatbox {
    background: #ffffff;
    color: #000000;
    height: 300px;    
    overflow: auto;
}
.tx-snisupportchat-pi1 textarea {
    width: 100%;
    height: 100px;
    border: none;
    border: 1px solid #cccccc;    
    margin: 0;
}
.tx-snisupportchat-pi1 p.sni-message-label {
    margin: 1em 0 0.2em 0;
    padding: 0;
}
.tx-snisupportchat-pi1 p.sni-send-message {
    text-align: right;
    margin: 0.2em 0;
    padding: 0;
}
.tx-snisupportchat-pi1 input {
    background: #ffffff;
    border: 1px solid #cccccc;
    color: #000000;
}
.tx-snisupportchat-pi1 span.date {
    font-size: 0.9em;
    color: #9c8f8f;
}
.tx-snisupportchat-pi1 span.system-message {
    color: #eb1557;
}
/* Style for Username */
.tx-snisupportchat-pi1 span {
    color: #292efb;
}
.tx-snisupportchat-pi1 span.supportler-message {
    color: #2eaf37;
}
.tx-snisupportchat-pi1 span.message {
    color: #000000;
}
.tx-snisupportchat-pi1 p.sni-close {
    float: left; 
    width: 50%;
    text-align: left;
    margin: 0.2em 0;
    padding: 0;    
}
.tx-snisupportchat-pi1 .hidden {
    display: none;
}
    )
}

[/code]

On the actual chat page I have defined the following code:

[code]
page = PAGE
page.10 < plugin.tx_snisupportchat_pi1
page.10 {
  # uid of the Chat Popup page
  chatPluginPid = 14
  # uid of the chat DB page
  chatsPid = 15
}

[/code]

Ook voor de Backend gebruiker is alles goed opgezet.

Kan iemand me helpen om te kijken wat ik verkeerd heb gedaan?

Met vriendelijke groet,

Jeroen Vermolen



More information about the TYPO3-UG-Dutch mailing list