koop1koop
asked on
not passing parameters in custom permalinks.
Hello,
I have a datagrid that I am trying to integrate with WordPress with little success.
I have downloaded it from http://phpgrid.wordpress.com/ and have the full paid version.
The problem I have is that when I create a template for WordPress and use it on my homepage I can see the datagrid with the data filled in, when I use the same template on another page there is no data in the datagrid
If i change the permalinks to default it works on all pages but when the permalinks are set to Post name then it only works on the homepage.
I have included the jqgrid_dist.php with its full path, i dont see any errors on the page to suggest it is not seeing the included script, if I change the include location to one I know is not there the I do get an error saying unable to locate the file.
Can anyone suggest a way I can get this to work with the permalinks set to Post name.
Please let em know if you need any more info
I have a datagrid that I am trying to integrate with WordPress with little success.
I have downloaded it from http://phpgrid.wordpress.com/ and have the full paid version.
The problem I have is that when I create a template for WordPress and use it on my homepage I can see the datagrid with the data filled in, when I use the same template on another page there is no data in the datagrid
If i change the permalinks to default it works on all pages but when the permalinks are set to Post name then it only works on the homepage.
I have included the jqgrid_dist.php with its full path, i dont see any errors on the page to suggest it is not seeing the included script, if I change the include location to one I know is not there the I do get an error saying unable to locate the file.
Can anyone suggest a way I can get this to work with the permalinks set to Post name.
Please let em know if you need any more info
Seems like some type of problem within the component? Have you tried to contact their support center?
Hi,
sounds like your script is using url parameters and wordpress doesn't like that because there really is no file at the location you are going to, everything is handled by index.php, it decides what do display based on the url. In the case of the homepage, it is actually using index.php in it's actual location, I believe that is why it works on your homepage.
Check out these options:
http://wordpress.org/support/topic/passing-variables-using-the-permalink-structure
I am guessing the 2nd example is what you would need and that you would need to add in multiple possible values to the plugin.
sounds like your script is using url parameters and wordpress doesn't like that because there really is no file at the location you are going to, everything is handled by index.php, it decides what do display based on the url. In the case of the homepage, it is actually using index.php in it's actual location, I believe that is why it works on your homepage.
Check out these options:
http://wordpress.org/support/topic/passing-variables-using-the-permalink-structure
I am guessing the 2nd example is what you would need and that you would need to add in multiple possible values to the plugin.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found the problem