Jump to content
  • 0

Just Can't Stay Out Of This Forum! (Interworx Issue)


hostingboss

Question

Hello,

 

It appears for active account on interworx none of the details are shown within the billing.

 

https://s3.amazonaws.com/HostingBoss/images/interworx-issue-23423403294.png

https://s3.amazonaws.com/HostingBoss/images/interworx-issue-23423403295.png

 

 

As far I I know this is suppose to be showing:

	<table class="table">
		<tr class="heading_row">
			<td class="fixed_small center border_none"><span class="paymnt_arrow"></span></td>
			<td class="border_left"><?php $this->_("Interworx.service_info.email");?></td>
			<td><?php $this->_("Interworx.service_info.password");?></td>
			<td><?php $this->_("Interworx.service_info.server");?></td>
			<td class="last"><?php $this->_("Interworx.service_info.options");?></td>
		</tr>
		<tr>
			<td></td>
			<td><?php $this->Html->_($service_fields->interworx_email);?></td>
			<td><?php $this->Html->_($service_fields->interworx_password);?></td>
			<td><?php $this->Html->_($module_row->meta->host_name);?></td>
			<td><a href="<?php echo $this->Html->safe("http" . (isset($module_row->meta->use_ssl) && $module_row->meta->use_ssl == "false" ? "" : "s") . "://" . $this->Html->ifSet($module_row->meta->host_name) . ":" . $module_row->meta->port . "/siteworx/?domain=" . $service_fields->interworx_domain);?>" target="_blank"><?php $this->_("Interworx.service_info.option_login");?></a></td>
		</tr>
	</table>

Sorry about all these support requests. Can be a bit lazy at times when I know I can hop in here and get the answer.

 

Thanks!

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

Modules can add additional management features on that page, but not all do. If you want to see some specific features for Interworx, please start a thread in the Feature Requests section with details.

 

We are planning to add some extended features to Interworx, but your feedback and specifics on what features you'd like to see will help drive development.

Link to comment
Share on other sites

  • 0

I can code the features I want myself I just need to know what file displays that if its in the interworx module dir or if it uses the generic theme dir.

 

Everything for a module is in the module file :) I think you're looking for the views /components/modules/interworx/views/ mate.

Link to comment
Share on other sites

  • 0

Anyways from what I looked at there is not a file for the client manage link. The only file for clients is what controls this: https://s3.amazonaws.com/HostingBoss/images/interworx-issue-23423403294.png

 

You need to edit this file to edit the service row section: /components/modules/interworx/views/default/client_service_info.pdt

	<table class="table">
		<tr class="heading_row">
			<td class="fixed_small center border_none"><span class="paymnt_arrow"></span></td>
			<td class="border_left"><?php $this->_("Interworx.service_info.email");?></td>
			<td><?php $this->_("Interworx.service_info.password");?></td>
			<td><?php $this->_("Interworx.service_info.server");?></td>
			<td class="last"><?php $this->_("Interworx.service_info.options");?></td>
		</tr>
		<tr>
			<td></td>
			<td><?php $this->Html->_($service_fields->interworx_email);?></td>
			<td><?php $this->Html->_($service_fields->interworx_password);?></td>
			<td><?php $this->Html->_($module_row->meta->host_name);?></td>
			<td><a href="<?php echo $this->Html->safe("http" . (isset($module_row->meta->use_ssl) && $module_row->meta->use_ssl == "false" ? "" : "s") . "://" . $this->Html->ifSet($module_row->meta->host_name) . ":" . $module_row->meta->port . "/siteworx/?domain=" . $service_fields->interworx_domain);?>" target="_blank"><?php $this->_("Interworx.service_info.option_login");?></a></td>
		</tr>
	</table>

Link to comment
Share on other sites

  • 0

As you see in the original post that's what my question was about. And that is the code I am talking about in the post you quoted. What I am trying to do is add interworx options to the mange page which has the cancel button.

 

Sorry you need /components/modules/interworx/views/default/manage.pdt

Link to comment
Share on other sites

  • 0

Almost 100% sure that is for the admin area. I don't believe there is a file for interworx to edit the customer page.

 

From what I understand when you click manage it will bring you to the generic page for blesta located at:

 

/app/views/client/default/client_services_manage.pdt

 

 

Now the problem is when you add info to that it will add it for every single product you have regardless if its relevant. I need to find a way to call the code when the service uses a certain module. Right now I am looking at module_id.

Link to comment
Share on other sites

  • 0

Alright, all I need to do is call a variable in the interworx module lang file and use it in php. I can display the variables with:

echo $this->_("Interworx.variable");

I just need to use that in php using "if" The only problem I have is no matter what I do I can't get the if statement to work. Mind helping me with the one single line I need.

Link to comment
Share on other sites

  • 0

Alright, all I need to do is call a variable in the interworx module lang file and use it in php. I can display the variables with:

echo $this->_("Interworx.variable");

I just need to use that in php using "if" The only problem I have is no matter what I do I can't get the if statement to work. Mind helping me with the one single line I need.

 

I believe you are looking for this file: /components/modules/interworx/views/default/tab_stats.pdt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...