Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

'Cloning' a component 22 May 2012 02:33 #2401

I'm looking for an easy way of 'cloning'/'repackaging an existing component.

We have a number of projects that have been configured/setup as components and I'm looking of 'copying' an existing component to a new component with a different name. That way I just need to modify some of the files to cater fro the new project.

Is this possible with Cook?

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

Re: 'Cloning' a component 22 May 2012 06:56 #2402

Hello Lister171254, welcome to Cook Self Service!

Short answer; No. There is no facility to 'clone/copy' a component within or as a part of Cook.

Longer answer; Yes. If you build your component with Cook Self Service you can download it (during your subscription period) and then begin the process of Copying or Cloning it. As to How To Clone a component your best bet is to search the Joomla! Forums for greater detail. I tried on your behalf but did not have much luck.

Edward.
Passionate Joomla! Developer and J-Cook pro evangelist.
www.jcombuilder.com - we build great Joomla!® Components so you don't have to.

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

Re: 'Cloning' a component 22 May 2012 21:03 #2403

Thanks for the quick response.

Will try the forums

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

Re: 'Cloning' a component 25 May 2012 16:10 #2415

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Have already done that for a fork !

If the component is well written with a good MVC structure, you can do that with a recent notepad++ or phpDesigner software.
=> change/replace the entry_name file such as comp_name.php, comp_name.xml ...
=> change/replace the classname keywords in all the files of the structure.

it could be done quicky.

Marc
The following user(s) said Thank You: edwardcox

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

Re: 'Cloning' a component 26 May 2012 04:03 #2416

Thanks. will try your suggestion.

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

  • Page:
  • 1
Time to create page: 0.062 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started