On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi there!
    I’m uploaded 2 Extras, for example http://modx.com/extras/package/uncosnews but OMG, Description is not what I expected!

    [tt]
    Snippet: -----------------------
    instead of
    Snippet: [[!UncosNews]]

    and
    Params:&tpl=`rowTpl` - Chunk for news lists&fulltpl=`fullTpl` - Chunk for one full news item&sort=`id` - Which field to sort news(id:By ordinal, title: By title, desc: By short desc, text: By text, createdon: By creation date, editedon: By date editing)&dir=`DESC` - Sort direction (ASC or DESC)&limit=`0` - Number of news from news list (0 - no limit)&newsPage=`` - ID News page, where is show full newsitem (default current page)&expand=`true` - if set `0` - disables display the full news in this snippet call (useful if on the same page present news list and full news)
    instead of
    Params:
    &tpl=`rowTpl` - Chunk for news lists
    &fulltpl=`fullTpl` - Chunk for one full news item
    &sort=`id` - Which field to sort news
    (id:By ordinal, title: By title, desc: By short desc, text: By text, createdon: By creation date, editedon: By date editing)
    &dir=`DESC` - Sort direction (ASC or DESC)
    &limit=`0` - Number of news from news list (0 - no limit)
    &newsPage=`` - ID News page, where is show full newsitem (default current page)
    &expand=`true` - if set `0` - disables display the full news in this snippet call (useful if on the same page present news list and full news)


    etc.
    [/tt]

    It’s very bad and awful! How can I fix that?
    Thank u.
      for($i=0; $i<100; $i++) echo &#39;Why is it not working?&#39;;
    • splittingred Reply #2, 10 years ago
      Go to the package, make sure you’re logged in, and look on the left-side nav - you should see Update Package or Update Version (whichever you’d like to edit, click on).
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • Oh, its realy funny, why I don’t see it before smiley) Thank you!
          for($i=0; $i<100; $i++) echo &#39;Why is it not working?&#39;;
        • Also... I think I broke your site smiley
          If in description write "[[", then instead of desc text will be bottom of the site.
          Check it out http://modx.com/extras/package/includesnippet

          Does this mean, that I can call snippets from descriptions?!
            for($i=0; $i<100; $i++) echo &#39;Why is it not working?&#39;;
          • splittingred Reply #5, 10 years ago
            Not anymore! Thanks smiley
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • Hooray! Now I can use [[ and ]] in desc! Thanks!
                for($i=0; $i<100; $i++) echo &#39;Why is it not working?&#39;;
              • No! Its not over!
                I’m sure you can enter to this page http://modx.com/extras/update-version/4d8a2359f2455466de000012
                (if not, then edit version of this http://modx.com/extras/package/includesnippet)
                Symbols [[ still somehow processed as a result there is no button Update Version on the bottom of the screen.
                  for($i=0; $i<100; $i++) echo &#39;Why is it not working?&#39;;
                • splittingred Reply #8, 10 years ago
                  I’m confused, where are you entering the data, what are you entering, and what page does it break?
                    shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                  • So, I enter to http://modx.com/extras/package/includesnippet, click to "Update version", and in field Description of Version I see normal text before [[. After [[ there part of bottom of page. Look to creenshot (I kicked categories on left side to show u bootom of the screen. )
                      for($i=0; $i<100; $i++) echo &#39;Why is it not working?&#39;;
                    • Try now.
                        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com