create new tag
, view all tags

ParentRefactorAddOnDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on ParentRefactorAddOn contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on ParentRefactorAddOn

-- VictorHugoGermano - 2009-11-18

Thank you Victor for contributing this add-on!

For now I set the TopicClassification to IncompletePackage. Once you have the first .zip package available you can set it to AddOnPackage.

Possibly choose a different name for the package? Wiki page refactor sounds like page content refactoring (someone might post an extension to do that in the future), whereas your add-on does page re-parenting in a usable way. Possible names: ParentRefactorAddOn, ReParentAddOn, PageReParentAddOn, ...

You can use TWikiVariables to make the script portable. For example, use "%SCRIPTURL{save}%/%WEB%/" instead of "http://localhost/twiki4.2/bin/save/Sandbox/"

-- PeterThoeny - 2009-11-18

Nice! thanks Peter. You are right, I'll change the name and put more TWikiVariables.

-- VictorHugoGermano - 2009-11-18

AdvancedManageContrib might help too

-- OlivierThompson - 2009-11-18

added the codebase to make addon work

-- VictorHugoGermano - 2009-11-19

I moved the discussion from the ParentRefactorAddOn topic to this new dev topic.

Some more feedback for suggested enhancements:

  • It is not clear where to copy the parentRefactorAddon.txt content. Into a topic? Possibly ship complete topic containing the Javascript, such as a data/TWiki/ParentRefactor.txt file
  • Package the add-on as zip file ParentRefactorAddOn.zip, content:
    • data/TWiki/ParentRefactorAddOn.txt -- add-on documentation topic
    • data/TWiki/ParentRefactor.txt -- refactor topic
  • Attach this zip file to ParentRefactorAddOn (the queries with download link in the Plugins web assume that package name)
  • Suggestions for plugin documentation topic:
    • This topic is meant to be distributed with the package, therefore avoid links to Plugins web. Use inter-wiki links to point back to TWiki.org, escape links (with preceding <nop>), or link normally if topic exists in any TWiki where where add-on is installed.
    • Instead of "I did" voice use neutral voice
  • Consider requesting SVN access to maintain add-on in Subversion. See ReadmeFirst and linked topics for details.

-- PeterThoeny - 2009-11-20

The location of the "jqueryui" packages has changed and so this Add-on package does not work now. To make it work, in the downloaded file "parentRefactorAddon.txt", replace the following lines -

<script type="text/javascript"	src="http://jqueryui.com/latest/jquery-1.3.2.js"></script>
<script type="text/javascript"	src="http://jqueryui.com/latest/ui/ui.core.js"></script>
<script type="text/javascript" 	src="http://jqueryui.com/latest/ui/ui.draggable.js"></script>
<script type="text/javascript"	src="http://jqueryui.com/latest/ui/ui.droppable.js"></script>


<script type="text/javascript"	src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
<script type="text/javascript"	src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/jquery-ui.js"></script>

This should fix this Add-on and make it work.

-- SreeNemani - 2010-08-15

Thanks Sree.

The add-on package should be updated accordingly.

-- PeterThoeny - 2010-08-15

I changed the ModificationPolicy of this extension from ContactAuthorFirst to PleaseFeelFreeToModify due to inactivity. Anyone please feel free to work on this extension.

-- PeterThoeny - 2012-12-03

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-12-03 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.