Hi everbody!
I have this url:
index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DAM_ProjectTemplates%26offset%3D1%26stamp%3D1497458300002154800%26return_module%3DAM_ProjectTemplates%26action%3Dview_GanttChart%26record%3D878f54bc-3daa-8308-b4d1-5862c32e6fa4
but one parameter is wrong cause not works, show me “There is no action by that name.”
how can i change the parameter called ‘view_GanttChart’ to DetailView
using Detail View work fine!, but how could i change that parameter for each record showed on the list module?
URL:
Not Work:
Works:
I’m not sure I understand what you’re trying to do… it seems you’re not clicking URL’s, but trying to construct them programmatically, is that right?
You don’t have to use Ajax for this, probably. Try the simpler URL’s like
http://domain.no-ip.org/index.php?module=Meetings&action=DetailView&record=2280703d-df91-5751-fae9-56461d328bfa
Just fill in the module, the action, the record id. You can look at the browser address when you’re navigating the module to learn how it’s called.
Hi!! @pgr, how are you?
mm yeah I understand, but how can i change the url manually? i want to say, what code i could to use for that?..
for example:
Record one: on mouse over show the url on the list view:
index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DAM_ProjectTemplates%26offset%3D1%26stamp%3D1497458300002154800%26return_module%3DAM_ProjectTemplates%26action%3Dview_GanttChart%26record%3D878f54bc-3daa-8308-b4d1-5862c32e6fa4
how can i change to:
http://domain.no-ip.org/index.php?module=Meetings&action=DetailView&record=2280703d-df91-5751-fae9-56461d328bfa
the module is project templates…
I was watching the folder on /opt/bitnami/apps/suitecrm/htdocs/custom/modules/AM_ProjectTemplates - but just have a controller.php
Instead of hovering your mouse over a link to get it’s content, try clicking on the link, it will take you to a specific record. When you are there, catch the URL from the browser address bar.
This way you’ll get the simpler links, not the Ajax links.