AbanteCart Community

AbanteCart Development => Customization help => Topic started by: macat on August 12, 2013, 03:03:57 PM

Title: Not Add Content Page To Menu But Have It Work
Post by: macat on August 12, 2013, 03:03:57 PM
Hello,
I have created a content page I want to use but I do not want it to be added to the menu at the bottom.  I have created a block I am going to add these pages to, there will be many.  If I turn it off then it doesn't show at all, I get a "Information Page Not Found" error, see here:

http://fostermamas.com/store/index.php?rt=content/content&content_id=6

But if I turn it on it automatically gets added to the bottom menu, I don't want it to get added but do want it to be published, is there a way to do this?

I am going to have lots of stories so my bottom menu would look ridiculous if all the links have to be there, that is why I created a menu for these links only.  You can see the menu block I have created for these stories on the home page:

http://fostermamas.com/store/

Thank you for your help.
Title: Re: Not Add Content Page To Menu But Have It Work
Post by: abantecart on August 12, 2013, 06:04:32 PM
You need to edit  template file to filter what you want to show: /storefront/view/default_html5/template/blocks/menu_bottom.tpl

You can disable it in layout as well if you do not want it at all.
Title: Re: Not Add Content Page To Menu But Have It Work
Post by: macat on August 12, 2013, 08:43:25 PM
   Hi,
   I do want the ones that are there so I came up with a work around that will work for me.

I made a category called Foster & Adoption Stories and have it turned on but am not adding products to it.  Instead I changed the wording for the "You have no products listed" to something generic (the clients tag line), since there won't be any categories with no products, it doesn't matter what that say's.  I couldn't leave it empty because it kept putting text_empty, even when I deleted that it would put it back.

So now I added a block I created with links on it to the center as my content and the links on the page go to pdf's I created and uploaded for the stories.  I think that will work fine for me.

Just thought I document what I did in case anyone else is in need.

Since I have you here, I can't find where to edit the layout of the contact us page, can it not be edited for layout?  What I mean can it not be edited individually for layout?


Thank you for your help, I must say I am really liking this cart, it is a very nice program and I will be using it exclusively for any client wanting a shopping cart.  Nice work AbanteCart people!!

New page for the stories is:

http://fostermamas.com/store/index.php?rt=product/category&path=6 (http://fostermamas.com/store/index.php?rt=product/category&path=6)

You need to edit  template file to filter what you want to show: /storefront/view/default_html5/template/blocks/menu_bottom.tpl

You can disable it in layout as well if you do not want it at all.
Title: Re: Not Add Content Page To Menu But Have It Work
Post by: macat on August 16, 2013, 10:54:20 PM
All's well. I made my own contact page to use with a custom form.


   Hi,
   I do want the ones that are there so I came up with a work around that will work for me.

I made a category called Foster & Adoption Stories and have it turned on but am not adding products to it.  Instead I changed the wording for the "You have no products listed" to something generic (the clients tag line), since there won't be any categories with no products, it doesn't matter what that say's.  I couldn't leave it empty because it kept putting text_empty, even when I deleted that it would put it back.

So now I added a block I created with links on it to the center as my content and the links on the page go to pdf's I created and uploaded for the stories.  I think that will work fine for me.

Just thought I document what I did in case anyone else is in need.

Since I have you here, I can't find where to edit the layout of the contact us page, can it not be edited for layout?  What I mean can it not be edited individually for layout?


Thank you for your help, I must say I am really liking this cart, it is a very nice program and I will be using it exclusively for any client wanting a shopping cart.  Nice work AbanteCart people!!

New page for the stories is:

http://fostermamas.com/store/index.php?rt=product/category&path=6 (http://fostermamas.com/store/index.php?rt=product/category&path=6)

You need to edit  template file to filter what you want to show: /storefront/view/default_html5/template/blocks/menu_bottom.tpl

You can disable it in layout as well if you do not want it at all.