1
nmshah
clone mastop publish
  • 2008/1/30 23:37

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


Is there a way to clone mastop publish module? What should i do?

2
mr-reda04_fr
Re: clone mastop publish

Hello,

Are you try with the smartclone module ?

a+

3
nmshah
Re: clone mastop publish
  • 2008/1/31 10:03

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


what is smartclone module and where can i find it?

4
mr-reda04_fr
Re: clone mastop publish


5
nmshah
Re: clone mastop publish
  • 2008/1/31 11:12

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


well i'll need a plugin for mastop publish to be cloned by smartclone module. I have no idea of php as of now, so is there anyother way?

6
mr-reda04_fr
Re: clone mastop publish

It's very easy to create plugin for a module, for example the mastop module: you creat a new file ( mastop.php), copy and paste this php code in the file:

$i 0;

$pluginPatterns[$i]['key'] = '_MTP_';
$pluginPatterns[$i]['replacement'] = 'CONSTANT';
$pluginPatterns[$i]['prefix'] = '_';
$pluginPatterns[$i]['suffix'] = '_';
$i++;

$pluginPatterns[$i]['key'] = 'mastop';
$pluginPatterns[$i]['replacement'] = 'modulename';
$i++;

$pluginPatterns[$i]['key'] = 'MASTOP';
$pluginPatterns[$i]['replacement'] = 'MODULENAME';
$i++;

?>


And, save the file in /modules/smartclone/plugins

You can now clone the mastop module easily.

A+

7
nmshah
Re: clone mastop publish
  • 2008/1/31 11:30

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


thanks a lot will try it and get back to let you know of the result.

8
mr-reda04_fr
Re: clone mastop publish

Okey !

9
nmshah
Re: clone mastop publish
  • 2008/1/31 16:15

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


i get the following message on trying to clone

"It was not possible to change permissions for creating the clone module."

10
mr-reda04_fr
Re: clone mastop publish

mmm... Are you installed the smartobjet module ?

Login

Who's Online

193 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits