Coder Social home page Coder Social logo

Comments (3)

helios-ag avatar helios-ag commented on June 14, 2024

As you can see on https://github.com/helios-ag/FMBbCodeBundle/blob/master/DependencyInjection/Configuration.php#L68
there is a path option, which accepts path to template, that can be set with option something like: "%kernel.root_dir%<template_path.php>"

from fmbbcodebundle.

QuentinPi avatar QuentinPi commented on June 14, 2024

Thanks for your quick answer ! Is it possible to overwrite an existing template and is it possible to link template and tag ? I tried to add a template path with "video.php" name like that :
"fm_bbcode:
config:
templates:
- path: @PlatformBundle/Resources/views/templates/video.php"

But it doesn't seem to overwrite the existing one.

EDIT :
And I have a problem when I try to overwrite the VideoFilter in services.yml :
"platformbundle.decoda.filter.video:
class: PlatformBundle\Filter\VideoFilter
tags:
- { name: fm_bbcode.decoda.filter, id: video }"
The hook identifier "video" must be uniq, is already set on "platformbundle.decoda.filter.video" service.

from fmbbcodebundle.

QuentinPi avatar QuentinPi commented on June 14, 2024

Ok, I found a lot of information in the decoda doc. I think I will get it !

from fmbbcodebundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.