sergeyklay / breadcrumbs Goto Github PK
View Code? Open in Web Editor NEWPowerful and flexible component for building site breadcrumbs.
Home Page: https://packagist.org/packages/sergeyklay/breadcrumbs
License: Other
Powerful and flexible component for building site breadcrumbs.
Home Page: https://packagist.org/packages/sergeyklay/breadcrumbs
License: Other
Our project will be upgraded to php7.3, and phalcon extension will also be passively upgraded to 4.0, but there is no breadcrumbs package available, so please ask when you will update
any plans for this?
Uncaught Error: Class 'Phalcon\Breadcrumbs' not found in F:\htdocs\phalcon\app\config\services_web.php for module backend. For module frontend no error.
Hello,
When I try to put two or more nulls linked, breadcrumbs only show the last one. In this I can't see $nameEvent but I can see $city because is the last one with no linked. My code:
// breadcrumbs
$this->Breadcrumbs->add('Home', '/');
$this->Breadcrumbs->add('Eventos', '/eventos');
$this->Breadcrumbs->add($nameEvent, null, ['linked' => false]);
$this->Breadcrumbs->add($city, null, ['linked' => false]);
$this->Breadcrumbs->add($evento->nombre_evento, '/eventos/' . $evento->slug);
Any ideas?
Thank you!
@sergeyklay я напишу на русском, чтобы точнее выразить мысль)
Я хочу доработать хлебные крошки, добавив возможность внедрить микроразметку, той же Scheme.org, например.
Для этого мне нужно добавить папку Microdata с адаптерами микроразметки и использовать их уже непосредственно в классе Breadcrumbs, но проблема в том, что namespace у пакета идет Phalcon, что затрудняет использовать что-то внутри пакета, помимо главного класса.
Как временный костыль, чтобы иметь возможность доработать пакет я в composer.json прописал
"autoload": {
"psr-4": {
...
"Phalcon\\Breadcrumbs\\": "vendor/sergeyklay/breadcrumbs/src/"
}
}
Вот хотел уточнить не планируется ли изменить namespace пакета на Phalcon\Breadcrumbs или может как-то по-другому выйти из такой ситуации?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.