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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
