We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 585
    • 24 Posts
    Hello,
    I am taking 2 pieces (1 snippet and 1 plugin) and making something more like I need.
    The snippets I am using is tagcloud and plugin is the pagebreak plugin.
    I am trying to create links to other documents within the content based on key word
    frequency. Kinda like a Wikipedia document linking to other wikipedia docs.
    My questions are:
    1) Can I mix snippet code and plugin code in a plugin? Or do I need to only do certain things
    in a plugin - or is a plugin the highest level and can accept any calls (php, snippet, chunk)
    2) How can I create an array of words and have the array remain available after the call.
    I don’t want to have to query the database for word freq each time an article is called.
    Can I do that with TVs?
    3) Has anyone written this already and I am just doing an exercise?

    Thanks - afewtips.com
      • 36592
      • 970 Posts
      Quote from: afewtips.com at Feb 25, 2008, 06:16 PM

      3) Has anyone written this already and I am just doing an exercise?
      Personally I don’t have used it, but this plugin can do something simillar to what you want ?
      http://modxcms.com/forums/index.php/topic,22271.0.html