|
Auto Pages (Outdated)
|
|
10-Mar-2011, 05:37 PM
Post: #11
|
|||
|
|||
|
RE: Auto Pages
By the way I am re-writing the next version of Commentics so that automatic page creation is built-in.
For that reason I won't be developing this add-on any further but I will still provide support for it. Have you completed the interview? |
|||
|
15-Mar-2011, 10:59 AM
Post: #12
|
|||
|
|||
|
RE: Auto Pages
Steven,
Thanks for providing this add-on. It looks like it's working great. One suggestion I have though is the way it's handling URL's. I have it set for the parameters to ignore everything except for "ref". So when a page is created it's: http://www.demu.org/pages/view.php?ref=936 This is perfect. However, the URL that is created keeps all of the search query junk that user has at the moment. For example for this record it is: http://www.demu.org/pages/view.php?ref=9...chive=0&k= Not a huge deal - but it would be really nice if we could set a option somewhere to also have the URL "cleaned" to keep only the parameters we want. |
|||
|
15-Mar-2011, 01:32 PM
Post: #13
|
|||
|
|||
|
RE: Auto Pages
Hi,
Thanks for this suggestion. I actually designed it like that on purpose. My reasoning was that the "search query junk" may be important in some way, for example it may control the page layout or the language of the text. So if the URL that the administrator clicks on were to only contain the "ref" parameter then there could be cases where the URL would not load the desired page properly. If that's not a problem to you then it's a very simple change in the code: On line 106 there is a mysql_query. Simply change "$url2" to "$url". Have you completed the interview? |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Auto populate your pages table | corculator | 0 | 554 |
25-Feb-2012 02:12 PM Last Post: corculator |
|
| Auto populate your comments table | corculator | 0 | 364 |
25-Feb-2012 01:25 PM Last Post: corculator |
|
| link to wrong pages | Norbs | 0 | 276 |
05-Dec-2011 04:05 PM Last Post: Norbs |
|
| Arbitrary ID (Outdated) | Static | 18 | 5,230 |
20-Jan-2011 02:55 AM Last Post: Static |
|
| cmtx_latest_box (Outdated) | utaka | 3 | 1,480 |
31-Dec-2010 09:09 AM Last Post: Static |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help


