Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrite und print ==>> HTML CP #52

Closed
robinsherwood opened this issue Oct 25, 2013 · 1 comment
Closed

rewrite und print ==>> HTML CP #52

robinsherwood opened this issue Oct 25, 2013 · 1 comment
Labels

Comments

@robinsherwood
Copy link

Wenn ich rewrite eingeschaltet habe und im Template das hier unterbringe:

<a href="[PHP]echo FE_CURRENT_URL[/PHP]&print=1" class="footer-tools-print" title="diese Seite drucken"></a>

dann bekomme ich einen Link

http://www.....trum.de/verpflegungskonzept.html&print=1

Der führt mich auf ein "not found".
Ohne rewrite geht es prima.
Mache ich was falsch oder.....

In Verbindung mit highlight und News gibt es weitere Komplikationen.
http://www.......trum.de/.html?newsdetail=20131009-7_nacht-der-lieder&highlight=lieder
Edit: es fehlte ein ID-Eintrag für die Suche in den News!!

Nun zeigt sich, dass der CP HTML & amp; abspeichert, aber & anzeigt und der Print-Link iO ist. Nochmaliges Abspeichern überschreibt dann das & amp; in der DB und der Print-Link ist kaputt (s.o.)

See also: http://forum.phpwcms.org/viewtopic.php?p=140841#p140844

==>> Also reduziert sich der Inhalt meiner Eingabe auf den Fakt, dass "etwas" mit dem CP HTML nicht iO ist...

@slackero
Copy link
Owner

slackero commented Nov 4, 2013

Falsche Nutzung

BB Code

[PRINT]Drucken[/PRINT]

PHP Funktion

<?php echo abs_url(array('print'=>1)); ?>

@slackero slackero closed this as completed Nov 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants