Comments (3)
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.
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.
Ok, I found a lot of information in the decoda doc. I think I will get it !
from fmbbcodebundle.
Related Issues (20)
- [Insight] The Symfony Dependency Injection Container should not be passed as an argument - in Decoda/Hook/EmoticonHook.php, line 56 HOT 4
- How to use bbcode_clean directly in controller ? HOT 16
- Add configuration option for setMaxNewlines
- Make bundle compatible with SF3.0 HOT 11
- List of availableBBCodes HOT 3
- Disable Decoda's default emoticons HOT 2
- [code] Crash HOT 2
- Disable filters/hooks via config.yml? HOT 1
- [code] encode base64 problem
- Special spaces and emoticons
- Errors while clearing the symfony cache HOT 1
- Problem with ulr tag which contain "_" HOT 1
- Is compatible with Symfony 4? HOT 1
- problem with [img] and emoticon HOT 1
- Dependabot can't resolve your PHP dependency files
- Dependabot can't resolve your PHP dependency files
- Dependabot can't resolve your PHP dependency files
- Dependabot can't resolve your PHP dependency files
- Compatible with Symfony 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmbbcodebundle.