Fork me on GitHub

Pagemaster goto when using executecommand  Bottom

  • Hi,

    Pagemaster is great module but there are few things makes that I cant benefit new features in full let me tell you about my experience with this module maybe it will be useful for the creators.

    goto it is really nice feature but what is going to happens when you will pass another pagemaster URL as URL to redirect?
    Why I would like to pass pagemaster URL?
    Normally it may be ok, but let say that I have list of pubs and there are categorised and I have like 1000 of them... Now some of them need to be deleted so Im using delete link in list template(other great feature execute command by URL) I am going to the category then go through pages and there Im finding one pub to be deleted and Im deleting it and I want to be redirected to the same place where I clicked delete...

    So what would be perfect hmm get the current URL pass to goto and that's all but its not so ease.

    First lets pass a pagemaster URL like index.php?module=pagemaster&tid=9 to goto; what is happening the tid and pid from goto URL will overwrite ones from main URL so It will redirect me to the list but nothing will happen apart from that... and I want to delete a pub...

    Solution which I used is serialze and base64_encode the URL then in executecommad function add decoding and it works!

    But I want to be redirected to the current page so pngetcurrenturl. Now encode it then decode then redirect and Im ending up with double ampersand thats because the pngetcurrenturl returning URL with ampersands already changed why?I can do that in Smarty...
    I had to copy plugin remove htmlspecialchars part... save as a new plugin and then everything work properly.

    This is small thing but it makes live much easier and this post is for developers so you know what kind of problems users like me are facing with.

    If you know other solution let me know

    Apart from that zikula and pagemaster are great and thank you for you work.

    --
    rgfdgafgaf

This list is based on users active over the last 60 minutes.