Is it possible to include a link to a custom css stylesheet in the CMS at admin created particular pages in silverstipe 4.5 ?
Yes you can add custom css even custom javascript to the CMS, you can do it via YML.
SilverStripe\Admin\LeftAndMain:
extra_requirements_css:
- app/css/BookmarkedPages.css
Please check this documentation https://docs.silverstripe.org/en/4/developer_guides/customising_the_admin_interface/how_tos/extend_cms_interface/#include-custom-css-in-the-cms
Related
I am beginner to Drupal-8, I don't know how to create custom template file for particular design for particular page.
For Example,
If I have created bellow pages in Drupal-8 and I want each of the page's custom template,
Like :
Home
About Us
Services
Contact Us
So for this how can I create custom template? Please anyone help me out to how can I achieve this?
Heyo!
So, Drupal page templating is managed through TWIG templates in your theme. You should first create a custom theme, which you can do following this guide:
https://www.drupal.org/docs/8/theming
Once you have a theme, you can create .twig files that will provide you with the means to control the html structure of the pages. Specific instructions are in this guide here:
https://www.drupal.org/docs/8/theming/twig/working-with-twig-templates
For example, creating a custom front page involves creating this file page--front.html.twig in your /templates folder. Different pages will require ovverides based on their name or node which is detailed in the above guide. However, it most likely is best practice to use a page.html.twig file to set a default style for the pages of your site and not have custom overrides for each node.
If you're new to twig, here's a link to twig tutorials. It's very simple and nice-and-easy to use!
https://symfonycasts.com/screencast/twig/basics
Drupal Website Design is Theme Based. There are plenty of themes to install in the Drupal.org. Seeing the particular theming documentation you can know how to customise your design.
You can look into some theming tutorials available in youtube also.
I typically design and build using Bootstrap with a simple text editor. As far as I can see it is not possible to directly add a new HTML page to WP. Is there anyway to integrate bootstrap cleanly to WP?
Thanks
Just create a Custom Template that holds your HTML, then in the WP Backend create a new page and select the desired template. Here are the docs
This should answer your question on how to add new HTML Pages. "Integrating Bootstrap cleanly" extends to using it in the theme of course.
There is a stater theme underscores
first consider using the stater themes, there is a stater theme __tk
that is developed by extending underscores theme , so you can use this to start developing wordpress+bootstrap site, theme, templates etc.
Is their any way to add a costume css to a joomla template admin area with a css file included in template package ?
Many thanks.
Install below plug-in. It is used to remove joomla branding using css.
http://extensions.joomla.org/extensions/administration/admin-styling/23172
Go to administrator -> extensions-> plugin manager and enable it. Then edit it, remove default CSS and add your own CSS.
Hi there i'm want to override a data picker css from a hook creation.
In Liferay Documentation 6.2 they say that it's possible with hook.
http://www.liferay.com/it/documentation/liferay-portal/6.2/development/-/ai/overriding-web-resources-with-hook-liferay-portal-6-2-dev-guide-en
But in Liferay IDE, when I create a new hook, in the interface for xml liferay-hook there isn't an option for CSS.
There are:
Portal properties
Custom JSP
Service Wrappers
Filter and Mappings
Struts Action
Indexer Post Processors
Language properties
So, how to make it? Thanks ahead!
you need to create a plugin: THEME. You can see how in this page:
https://www.liferay.com/es/documentation/liferay-portal/6.2/development/-/ai/creating-themes-and-layout-templates-liferay-portal-6-2-dev-guide-09-en
In this plugin you have a folder _diffs. Everything you put here is going to overwrite liferay´s theme.
i would like to use a css file in drupal 7 for a specific page and i would like to cancel the default theme for this page.
I use the method called drupal_add_css it's working but this method doesn't permit to cancel the defautl theme
Help
You can use the Themekey module to configure which theme is displayed for which page. If you set the theme for the page you want to cancel the default theme for to Stark (the no-frills no-style theme included as part of core in D7), you will be able to use just your css via drupal_add_css().