We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31053
    • 31 Posts
    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;;
      • 28215
      • 4,149 Posts
      splittingred Reply #2, 13 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
        • 31053
        • 31 Posts
        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;;
          • 31053
          • 31 Posts
          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;;
            • 28215
            • 4,149 Posts
            splittingred Reply #5, 13 years ago
            Not anymore! Thanks smiley
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 31053
              • 31 Posts
              Hooray! Now I can use [[ and ]] in desc! Thanks!
                for($i=0; $i<100; $i++) echo &#39;Why is it not working?&#39;;
                • 31053
                • 31 Posts
                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;;
                  • 28215
                  • 4,149 Posts
                  splittingred Reply #8, 13 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
                    • 31053
                    • 31 Posts
                    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;;
                      • 28215
                      • 4,149 Posts
                      Try now.
                        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com