Skip to Content Skip to Menu

PlugIn twice for a duplicated componet

  • maceved23
  • maceved23
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
17 years 8 months ago #32665 by maceved23
Replied by maceved23 on topic Re:PlugIn twice for a duplicated componet
Hi p9939068

Thanks for the repply. I do all the changes that you tell me to do.

1. I change on the file adsmanager.plugin.xml the <tab>

[code:1]
<tab name="Ads 22" description="" class="getAdsTab22" fields="0" position="cb_tabmain" displaytype="tab">
[/code:1]

on class="getAdsTab" to class="getAdsTab22"

Then on the file adsmanager22.plugin.php
[code:1]
class getAdsTab22 extends cbTabHandler {
[/code:1]

on class="getAdsTab" to class="getAdsTab22"

The plugIn installs witout any problem but on the CB area this new TAB does not show.

I don't know what I'm doing wrong.

Help.

Mario

Please Log in or Create an account to join the conversation.

  • maceved23
  • maceved23
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
17 years 8 months ago #32705 by maceved23
Replied by maceved23 on topic Re:PlugIn twice for a duplicated componet
Hi,
All

Can someone please take a look to my post.

It's really important for me to finish that issue.

Best Regards

Mario

Please Log in or Create an account to join the conversation.

  • p9939068
  • p9939068
  • OFFLINE
  • Posts: 186
  • Thanks: 0
  • Karma: 117
17 years 8 months ago #32710 by p9939068
Replied by p9939068 on topic Re:PlugIn twice for a duplicated componet
function getAdsTab22() {
$this->cbTabHandler();
}


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in or Create an account to join the conversation.

  • maceved23
  • maceved23
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
17 years 8 months ago #32719 by maceved23
Replied by maceved23 on topic Re:PlugIn twice for a duplicated componet
Hi,
All

Thanks p9939068 for all your help.

I do all the changes that you tell me and still facing the same problem.

I'm going to explain from the begin the project I'm doing

I have a portal where I need to have more than one copy of AdsManager component. I already do that and it works finally it's not that hard to do that.

I have at this moment 2 AdsManager component's installed and runing with all the features. The problem I'm facing right now is that I use CB and I use for my AdsManager component the PlugIn for it. The original CB PlugIn for AdsManager component is runing without any problem.
I then start the setup of the same PlugIn but for the copy I install of AdsManager component.

I need some help 'cause I change all the code that I thisnk I need to change and also the code sugestion that p9939068 tell me to do.
At this moment I can install the PlugIn without any error but when I try to work with it at front end on my Community area the TAB of my PlugIn is not there.

I'm going to post here the original files of the PlugIn and also the files that are modified.

Thanks for the help and please take a small minustes to check my issue.

Best Regards.

Mario

Please Log in or Create an account to join the conversation.

  • maceved23
  • maceved23
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
17 years 8 months ago #32720 by maceved23
Replied by maceved23 on topic Re:PlugIn twice for a duplicated componet
Sorry Here are the files.

Attachment ADS_PLUGIN.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

  • p9939068
  • p9939068
  • OFFLINE
  • Posts: 186
  • Thanks: 0
  • Karma: 117
17 years 8 months ago #32732 by p9939068
Replied by p9939068 on topic Re:PlugIn twice for a duplicated componet
You need to change the filename of the modified .xml to adsmanager22.plugin.xml as well.


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum