I installed Orangehrm System from OrnageHRM
There are two directories called themes
/symfony/web/themes
/themes
How i can change theme of system ?
If you want to change theme of OrangeHRMS than you should change in following path of themes folder
/symfony/web/webres_554af33274f2b9.68269152/themes
Here you will get two folder inside themes
1. default
2. smackgreen
Now you need to go in default folder and you will get css folder in this and there is also main.css
You need change in main.css file for change theme of OrangeHRMS.
I Hope your problem will solve.
Related
How to replace translation files located in the wp-content/languages/ folder by files located in the wp-content/themes/child-theme/ folder? I want to display the translations from the child-theme folder. Should I add something to functions.php so that the files form the wp-content/languages/ folder will be replaced by those from the wp-content/themes/child-theme/ folder?
I can't find any good solution or im to stupid with php. How can i add wordpress editor to textarea's in my code.
http://refiddle.com/m10w
Thanks
Look at this function https://codex.wordpress.org/Function_Reference/wp_editor
The editor used by Wordpress is rcalled tinyMCE.-
for texarea fetching are you using advance custome field (ACF). if you want convert these textarea into default wp-editor Please find below link of github.
Add this you can easily use this.
Download editor here- https://github.com/elliotcondon/acf-wordpress-wysiwyg-field
Install as Plugin
Download .zip
Extract .zip and rename folder to 'acf-wp-wysiwyg'
Copy the 'acf-wp-wysiwyg' folder into your plugins folder
Activate the plugin via the Plugins admin page
Include within theme
Download .zip
Extract .zip and rename folder to 'acf-wp-wysiwyg'
Copy the 'acf-wp-wysiwyg' folder into your theme folder (can use sub folders). You can place the folder anywhere inside the 'wp-content' directory
Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-wp-wysiwyg.php file)
include_once('acf-wp-wysiwyg/acf-wp_wysiwyg.php');
i create a simple wordpress plugin and wanna use get_option() in my external php file
i know that i can use this to codes to include wp-load.php and use get_option()
require_once('../../../wp-load.php');
but i wanna include wp-load.php in correct way
also i read http://ottopress.com/2010/dont-include-wp-load-please/ and coulnt find a solution
"Options" is a WordPress database table. You can use get_option() from your plugin, assuming it's installed, without manually loading wp-load.php.
<?php echo get_option( 'option_name' ); ?>
wordpres has the following structure with 3 directories and few files:
- /wp-admin
- /wp-content
- /wp-includes
- /files...
All your plugin and themes are located in wp-content directory. For all your plugin or themes files you don't need to include any extra files to use there default functions or hooks.
But in case you have extenal directory or files that is not part of the wordpress structure and you want to access the wordpress functionality then in this case you have to include the wp-load.php file. Take a look on this structure:
// Directory example
- /external_dir (Not part of WordPress Structure)
or
// File example
- /my_custom_file.php (Not part of WordPress Structure)
- /wp-admin
- /wp-content
- /wp-includes
- /files...
Below file does not need to include when you are coding in your theme folder or developing any plugin because all wordpress function and libraries are called by default.
You need to include when you are coding outside the wordpress structure i.e "wp-content" folder.
If the page you are trying to execute is reside in the same directory, use
require('./wp-blog-header.php');
If the page is not in the same directory, use
require('/the/path/to/this/wp-blog-header.php');
I tried to rename the Magento installed folder but it not load properly. Before It store in "demo" folder. At that time it was loaded nicely. I renamed the folder name from that time it shows only text while browsing the website. I have already changed the permission of "var" and "media" folder.
How can I make the website visible with templates.
change the base url from backend or from database in core_config_data table
rename it with your renamed folder.
if you change root folder name than this must be updated manually than only all things will work correctly.
change base url in core_config_data table
and don't forgot to add "/" at the end.
to load site properly with stylesheet
for example: localhost/[your_newfolder_name]/
or
http://[websitename]/[yourfolder]/
I'm currently working on a drupal theme but keep having problems with getting the theme to read the damn css file. I started off theming with the Framework theme, I tried organising the files on there for example creating a subdirectory to store the CSS file, change the setting in the .info file so it knows it's in the css folder, but it won't read the damn file.
Fast forward a few days and I've got 60% of my theme styled and layout-ed, so decided to port everything into a new theme folder rather than the Framework theme folder. Organised the folders and files, but again it won't read the CSS file whether I put it in a subdirectory or in the same directory as the .info file. It somehow worked once, but then went and hasn't worked again.
I've tried clearing the cache etc, but to no avail.
I'm working on a local wamp server. Drupal is latest version 7.
Any ideas how to fix this problem?
Thank you
Wich version of Drupal you are using? In Drupal 6 this works fine:
/* mytheme.info */
stylesheets[all][] = assets/css/master.css
stylesheets[all][] = assets/css/typo.css
This files are in my Theme folder
Folder: MYTHEME
File: mytheme.info
Folder: assets
Folder: css
File: master.css
File: typo.css
I know this is a bit late but maybe it will help someone else.
I'm using Drupal 7 and I attempted to add a javascript and stylesheet file in a custom module in the .info file.
module.always.js
and
module.always.css
It would load the first but not the second. I even put the stylesheet above the script in the info file and it would still just load the first file. Thought it was the directory and tried adding quotes around the file paths but that did nothing. Also thought it was the extra . in the file name but that didn't matter either.
The only way I could get both files to load was to remove them from the .info file and add a drupal_add_js and drupal_add_css for these files in the module_init() function.
No clue why that is the case but at least there is a work around.