A HREF TITLE Field in the Category Tree...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imagecrafting
    Mivite

    • Aug 2011
    • 125

    #16
    Re: A HREF TITLE Field in the Category Tree...

    I Did that and it works fine... that's why I'm thinking I need to escape the ampersand...

    Comment

    • nottheusual1
      Mega Mivite


      • Jul 2008
      • 1124

      #17
      Re: A HREF TITLE Field in the Category Tree...

      Yep. That should do it. Glad you got it figured out. Don't forget to turn off the KSE module. I don't remove the code from the templates and unassign the item until I'm completely done dev'ing. It's a marvelous tool.

      Comment

      • imagecrafting
        Mivite

        • Aug 2011
        • 125

        #18
        Re: A HREF TITLE Field in the Category Tree...

        I DIDn't get it figured out, I said putting a standard string like "boo" works, STILL CAN'T get my variable to show up... Anybody else want to chime in, I really have to get this fixed...

        Cheers,

        Michael

        Comment

        • gsam
          Mighty Mivite


          • Dec 2006
          • 677

          #19
          Re: A HREF TITLE Field in the Category Tree...

          I think nottheusual1 is saying that you want to assign the toolkit to each page that the category tree is displayed on. From the Admin menu click Page and then to the right click Items, find the toolkit and click Edit. On the Edit Item : Toolkit page click Pages and select all. This should assign the toolkit module to every page in your store.

          I'm not sure you can add your custom field to category tree. Notice the first line of the toolkit description for the customcategory function, "Use customcategory to insert a custom category field value on the CTGY page template." The toolkit developer is usually very specific about things. If he says "on the CTGY page" that usually means it will work on the category page only. He does talk about the productcount but notice how he uses the standard miva syntax to place the productcount value in the category tree.

          Just for testing try placing this in your category tree just inside the foreach loop:
          &mvt:cattree_category:customfield_values:customfie lds:FullCatTitle;

          If the FullCatTitle is available it will show up.

          Maybe William will chime in as say if it's possible to use the customcategory function to add information to the category tree.
          Gary

          [email protected]
          www.icCommerce.com

          Comment

          • imagecrafting
            Mivite

            • Aug 2011
            • 125

            #20
            Re: A HREF TITLE Field in the Category Tree...

            Thanks Gary For The Input,

            I have already assigned the toolkit to every page on the site. I then inserted your code in the foreach loop and all I got back was this:

            lds:FullCatTitle;

            for each entry meaning I think you are right about it not working in the category tree. Is that how you see it?

            William: Any Input? Is Gary correct? Better Yet, is there a way to make it work?

            Cheers,

            Michael

            Comment

            • imagecrafting
              Mivite

              • Aug 2011
              • 125

              #21
              Re: A HREF TITLE Field in the Category Tree...

              Hold the phone! When I copied from the forum it inserted a space. I AM NOW Seeing the values I want. IT WORKS! Thank you SOOOO much GARY!

              Cheers,

              Michael

              Comment

              • gsam
                Mighty Mivite


                • Dec 2006
                • 677

                #22
                Re: A HREF TITLE Field in the Category Tree...

                Forgot to say, when your are editing your category tree don't forget to check (enable) your custom category field.
                Gary

                [email protected]
                www.icCommerce.com

                Comment

                • nottheusual1
                  Mega Mivite


                  • Jul 2008
                  • 1124

                  #23
                  Re: A HREF TITLE Field in the Category Tree...

                  You noted that the g.fulltitle variable was now showing up in KSE and was available via "&mvt:global:fulltitle;"

                  I suggested that you replace the string with the ampersand in the custom field with a single word like "test" to see if it would show up.

                  I'd gathered from your reply that it did - "I Did that and it works fine... that's why I'm thinking I need to escape the ampersand."

                  So I'm confused - did replacing the string in the custom field with a single word work or not? If changing the contents of he custom field worked, then you've got a problem with the ampersand. If that didn't work yet the variable is shown as available, then I'm really confused.

                  Can you clarify?

                  Comment

                  • imagecrafting
                    Mivite

                    • Aug 2011
                    • 125

                    #24
                    Re: A HREF TITLE Field in the Category Tree...

                    yes, reread posts. Gary, suggestion was the one that fixed it.

                    Comment

                    Working...
                    X