---
title: "Simulate Static und sr_sendcard"
url: "https://www.typo3.net/d/10932-simulate-static-und-sr-sendcard"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage"]
created: "2004-04-27"
last_reply: "2005-10-18"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# Simulate Static und sr_sendcard

TYPO3 › TypoScript · 3 Antworten · gestartet 2004-04-27

## Eröffnungsbeitrag

**loremIpsum** · 2004-04-27 · [Beitrag #1](https://www.typo3.net/d/10932-simulate-static-und-sr-sendcard/1)

Liebe Gemeinde

Ich habe bei mir (3.6.0 RC2) mit folgendem Code das Simulate Static eingerichtet:

Setup:

```typoscript
config.simulateStaticDocuments = 1
config.simulateStaticDocuments_pEnc = md5
config.simulateStaticDocuments_addTitle = 25
```

.htaccess:

```apacheconf
RewriteEngine on
RewriteRule ^[^/]*.html$ /cms/index.php
```

Nun das Simulate Static funktioniert generell tip-top über die ganze Site, bloss bei den E-Cards (sr_sendcard) wird noch eine "hässliche" URL generiert:
<http://www.meinedomain.org/cms/Ecard.30.0.html?&tx_srsendcard_pi1%5Bcard_caption%5D=TestCard&tx_srsendcard_pi1%5Bcard_image%5D=sr_sendcard_e58fab381c.jpg&tx_srsendcard_pi1%5Bcard_image_path%5D=uploads%2Ftx_srsendcard%2F&tx_srsendcard_pi1%5Bcmd%5D=prompt&tx_srsendcard_pi1%5Bimage_height%5D=235&tx_srsendcard_pi1%5Bimage_width%5D=300>

Hat jemand eine Ahnung an was das liegen könnte?

Herzlichen Dank!
Lorem

## Antworten

### [#2](https://www.typo3.net/d/10932-simulate-static-und-sr-sendcard/2) · Mathaka · 2004-04-29

Ich habe genau das gleiche Problem ...
Bei mir funktioniert das Sendcard Modul inbesondere die Email und der generierte Link überhaupt nicht richtig. Weder als HTML Email noch all Text Email

Hat jemand dieses Script laufen und weis wie man diese Fehler beheben kann oder wie kriegt ihr das Script zum laufen?
Was habtr ihr gemacht damit das richtig funktioniert?

### [#3](https://www.typo3.net/d/10932-simulate-static-und-sr-sendcard/3) · loremIpsum · 2004-09-03

Die Lösung ist (für jene dies interessiert...):

1. Auf Typo3 3.6.2 upgraden
2. Neuste Version der sr_sendcard Extension installieren  (Vers. 1.0.1)
3. Diesen Code zusätzlich ins TS-Setup einfügen:

```typoscript
simulateStaticDocuments_pEnc_onlyP = L,tx_srsendcard_pi1[cardid],tx_srsendcard_pi1[cmd]
```

... und siehe da... Wunder geschehen  :D

Gruss
Lorem

### [#4](https://www.typo3.net/d/10932-simulate-static-und-sr-sendcard/4) · berbluesea · 2005-10-18

hallo hier noch eine bessere Lösung!!

```typoscript
# Suchmaschinenoptimierung ECards
config.simulateStaticDocuments_pEnc_onlyP = cHash,L,tx_srsendcard_pi1[cardid],tx_srsendcard_pi1[cmd],tx_srsendcard_pi1[card_caption],tx_srsendcard_pi1[card_image],tx_srsendcard_pi1[card_image_path],tx_srsendcard_pi1[image_height],tx_srsendcard_pi1[image_width],tx_srsendcard_pi1[selection_image],tx_srsendcard_pi1[selection_image_height],tx_srsendcard_pi1[selection_image_width]
```

---

Quelle: „Simulate Static und sr_sendcard“, typo3.net, https://www.typo3.net/d/10932-simulate-static-und-sr-sendcard
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
