Back to Work Support

web.shepel13572
web.shepel13572

Hi, I added a component to the page, as well as {% framework extras %} in default layout, created jobs, but on the page, an error occurs:

Unknown "_" filter. Did you mean "url_encode", "time_tense", "time_since", "json_encode", "date_modify", "number_format", "convert_encoding"?

/home/vladimir/Dropbox/october/plugins/individuart/work/components/worklist/default.htm line 6

Last updated

individuart
individuart

Hi. It seems like the error is associated with the twig filter. {{ 'all categories' |_}}

This twig filter is placed for evaluate the string for translation.

I've used the translate plugin and I've forgotten to delete all the twig tags related with that plugin.

https://octobercms.com/plugin/rainlab-translate

Yoy have two options. Install the plugin or remove that twig tag and replace the tag for plain text. I will try to remove them from frontend templates and update the plugin.

Thanks for your comments

web.shepel13572
web.shepel13572

Thanks for the quick reply, but now I have another problem :D

The works are displayed, but the links do not work (after clicking the page does not change), just added to the address: #view-work/1/test-ui-design

Category filter too (Just words are not links).. Maybe I do not connect? Look at the screenshots

Page with works

Backend

Thanks for the support!

individuart
individuart

Hi. This is an AJAX portfolio. So links don't work as usual. When you click on a project a div is loaded via AJAX with the info of the project.

You can view an example of how it works in my personal portfolio page http://individuart.net.

I have also update the default file of my component in github.

Regards!!

web.shepel13572
web.shepel13572

Thank you very much! The mistake was that I forgot to add to the layout tags

{% styles %} and {% scripts %}

)

individuart
individuart

Ok. I hope the plugin will help you with your project. ;-)

1-6 of 6