1

enter image description here

{crmButton p='drupal/event-workflow/$uid/$gid' q="action=browse&reset=1&gid=$gid" icon="th-list"}{ts}Request for Approval{/ts}{/crmButton}

Where I have defined $uid and $gid variables in smarty template, How can I fix the the Unable to reach the server error, I checked the logs but there is no error with regards to this request,so I guess its something to do with button's q and p attributes

  • Make sure $uid and $gid are properly evaluated in the above line. For eg, I see the p assignment is done in single quotes. Try changing it to use double quote. eg p="drupal/event-workflow/$uid/$gid" – jitendra - fuzion Jan 16 at 5:22
  • Yes they are correct – harshal Jan 16 at 5:29
  • Opening it on new tab works – harshal Jan 16 at 5:29
  • Try adding class="action-item" attribute to the crmButton. – jitendra - fuzion Jan 16 at 5:33
  • ok, what does that do? can you elaborate it in an answer, what can we do to open it in a new tab? incase it does not help ? @jitendra-fuzion – harshal Jan 16 at 6:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.