+1, but in this case we should recommend the php-redirect on page:Holger wrote:But we should start to collect Martins snippets to provide some little HowTo's...
Code: Select all
#CMSimple header('Location:http://www.anotherpage.com'); #
+1, but in this case we should recommend the php-redirect on page:Holger wrote:But we should start to collect Martins snippets to provide some little HowTo's...
Code: Select all
#CMSimple header('Location:http://www.anotherpage.com'); #
I often redirect within one CMSimple installation. By the way when I have a menu level wich I would redirect to another for different reasons. I use it often due to costumer requirements. OK, redirects to external pages is perhaps not often done. But IMHO we should let the user decide what he does with a redirect possibility.Martin wrote:But anyway, for what purposes do you use redirections?
I agree with this and as I described it is not the goal of my feature proposition.Gert wrote:Martin, you are right. The toc is an internal navigation, there should not be external Links in it.
IMHO page_params was coded to prevent that users has to play with CMSimple scripting. And it works really good. So if Martin could code this small feature in ± 15 minutes, why not include it and give page_params / CMSimple_XH an other nice feature who could be used by all users in a simple and smart way?Gert wrote:+1, but in this case we should recommend the php-redirect on page:Holger wrote:But we should start to collect Martins snippets to provide some little HowTo's...
Code: Select all
#CMSimple header('Location:http://www.anotherpage.com'); #
@johnjdoe: I can't get what you mean with that? A navigation entry that redirects to another internal page?Gert wrote:OK, as an internal link solution it could be useful,
I could have many of such ideas, but the menu of page_params would cause vertical scrolling, if I would realise all that ideas ...Martin wrote:It's really no big deal to add additional "page params". Maybe some variable for an header image that can be used in the template?
Because I often use Tills toc function.Holger wrote:why don't you use / recommend Jens' advancedtoc.php,
Small example: You have these menu entries:Holger wrote:@johnjdoe: I can't get what you mean with that? A navigation entry that redirects to another internal page?Gert wrote:OK, as an internal link solution it could be useful,
That's a nice alternative too!Torsten.Behrens wrote:My wish: CMSimple scripting from content.htm transferred to the pagedata.php. An extra box for scripting in Page Data.