feinheit / feincms_gallery

Our gallery content type for FeinCMS
BSD 3-Clause "New" or "Revised" License
23 stars 18 forks source link

Loss of template tags #1

Closed bonobow closed 12 years ago

bonobow commented 12 years ago

I was trying this project out, and this error jumped out:

Template error

In template gallery\templates\content\gallery\p.classic.html, error at line 1 'feinheit_base' is not a valid tag library: Template library feinheit_base not found, tried django.templatetags.feinheit_base,django.contrib.comments.templatetags.feinheit_base,django.contrib.admin.templatetags.feinheit_base,feincms.templatetags.feinheit_base,feincms.module.page.templatetags.feinheit_base,mptt.templatetags.feinheit_base 1 {% load feincms_thumbnail feinheit_base i18n %}

matthiask commented 12 years ago

Hi bonobow,

I don't think this template tag library is used at all. Maybe you could try removing feinheit_base from the load invocation and try again? (Maybe submit a patch if it works?)

Thanks!

bonobow commented 12 years ago

Hi Matthias,

Thanks for the quick response. In fact, I have tried to remove the 'feinheit_base' tag when the error happened, and it turned into another error: Template errorIn template gallery\templates\content\gallery\p.classic.html, error at line 17 Invalid block tag: 'context_menu' 17 <div class="gallery-content" {% context_menu content.gallery %}>

So I guess that's beacause of the loss of some template tags, any idea?

Thanks,

Best Regards

Date: Tue, 11 Oct 2011 23:59:44 -0700 From: reply@reply.github.com To: wanghao_koka@hotmail.com Subject: Re: [feincms_gallery] Loss of template tags (#1)

Hi bonobow,

I don't think this template tag library is used at all. Maybe you could try removing feinheit_base from the load invocation and try again? (Maybe submit a patch if it works?)

Thanks!

Reply to this email directly or view it on GitHub: https://github.com/feinheit/feincms_gallery/issues/1#issuecomment-2376383

sbaechler commented 12 years ago

Yes, the context_menu is a tag that we use internally for our projects. It's in feinheit_base. Just remove the tag. I'll commit an update without the tag.

sbaechler commented 12 years ago

I now removed all references to our custom module.

Feinheit devs use the feinheit branch. It's still in there.

bonobow commented 12 years ago

Wow, it works now. This project is very helpful, it's great. Thanks!