Just started with concrete5 but the documentation needs a lot of work.
I am trying to make a theme from scratch and testing it locally with XAMPP. This is my folder structure:
/
/application
/concrete
/packages
/themes (wasn't there when I installed concrete, made the dir myself)
/updates
I placed my theme inside the themes folder. Its structure is as follows:
/css
/fonts
/img
/includes
/js
/default.php
/description.txt
/view.php
/main.css
/thumbnail.png
/typography.css
Yet still the theme is not visible in the options. I'm lost. I'm using version 7.2.1.
You need a description.txt in your theme folder.
In the description.txt should be something like:
My theme
This is a description of my theme
Where 'My theme' is the title of your theme and the line below the description of the theme.
Theming has not changed much between version 5.6 and 5.7 .
Source: http://www.concrete5.org/documentation/developers/5.7/designing-for-concrete5/building-a-concrete5-theme/converting-an-html-template-to-a-concrete5-theme/
EDIT
Don't forget, with the new version of concrete5, you place your custom themes in:
application/themes/
quote from source:
Create a directory for your theme in the webroot/application/themes/
directory. In your theme's directory (e.g.
webroot/application/themes/urbanic/)
Related
I have installed DSpace on my PC. I am using Mirage as a default theme and now I want to customize it for my DSpace. I want to change CSS files (redesign it), but I don't know the steps to properly set my customizations. I can edit my CSS files in [dspace]/webapps/themes/Mirage/lib/css/ folder, but after rebuilding DSpace they will be removed. What is the correct way doing customizations over already installed theme? Should I edit CSS files and add them to [dspace-source]/dspace/modules/src/main/ folder and then rebuild my webapps? I have read official documentation about that, but I couldn't find proper answer to my question.
Create a folder for your theme in [dspace-src]/dspace/modules/xmlui/src/main/webapps/theme/[yourTheme]
Copy the CSS (or js or xsl) files you wish to modify into that directory - you can find a copy of the source files in [dspace-install] as you have referenced, or you can find them on the project github page
Edit your changes
Run the maven build in [dspace-src]/dspace: "dspace package" - this command will pull the source files for the theme and overlay your customizations. The results are built into the "target" folder.
cd into [dspace-src]/dspace/target/dspace-installer
Run "ant update" - this command will take the built files and install them into [dspace-install]
Restart tomcat
The following page has some resources that might be useful.
https://wiki.duraspace.org/display/DSDOC5x/XMLUI+Configuration+and+Customization
Install Drupal 8 Theme Simple Process I want to install a new theme in Drupal 8, but at the end of the installation it gives me an error saying:
does not contain any .info.yml files
even though it is a Drupal 8 theme.
Is there a way that I manually can create .info.yml file or any other solution?
You don't need to create an info.yml file.
The method you followed export the zip file that contains the theme and let Drupal handle the rest.
The zip file you downloaded does not contain directly the theme, but also some other files.
Solution: Extract your zip file, and upload just the zip that contains your theme, in your case "zircon_d8-8.1.1".
You have the info.yml file though, at themes/zircon/ you have the theme file: zircon.info.yml
Check that your files installed properly. I tried to look at the Zip file from the Zircon site but it was a bit odd and had two sub folders each compressed (the theme itself zircon_d8-8.0.0.zip which I couldn't open and zircon_d8-demo-8.0.0.zip which has a full drupal install). If you look in the folder zircon_d8-demo-8.0.0.zip\zircon_d8\themes you'll see the folder zircon. That's probably the file you need. For what it's worth The zircon.info.yml file begins:
name: Zircon
type: theme
base theme: classy
description: 'A flexible, recolorable theme with many regions and a responsive, mobile-first layout.'
package: Core
version: 8.0.0
core: 8.x
...
Which looks fine to me. Don't know why they messed up.
I am trying to setup GitIgnore to work with Git Tower (www.git-tower.com) and WordPress.
I want to have the repository in the root directory with the option to include just specific themes and plugins.
I will start with including just one theme sub directory.
Tower is not showing me the single theme directory. Instead it shows all of the wp-content folder. I expect this to be ignored as I have specified this in the ignore file.
So.. root: /
Directory to include: /wp-content/themes/raison-winetrust/
I tried the following:
/*
!.gitignore
!/wp-content/
/wp-content/*
!/wp-content/themes
/wp-content/themes/*
!/wp-content/themes/raison-winetrust/
Screenshot: https://www.dropbox.com/s/9lajg1h89n2jwkr/Screenshot%202015-01-23%2013.53.48.png?dl=0
Any advice appreciated.
Thanks
If you are only tracking that theme (not any of the other wordpress gubbins) why not initialise the git repo in the theme folder?
The other option is that you just do a git add of that folder and only add that folder when there are changes.
I'm cleaning up my development workflow and I was wondering if it is at all possible for Git to ignore a containing folder, but allow folders within?
Allow me to clarify.
I'm currently working on my website and I'm theming my new Wordpress blog - Obviously I have a local installation of Wordpress and a remote installation. I want to be able to ignore the main folders and only allow the themes folder. The structure is as follows.
Blog
wp-content
wp-includes
themes
modules
[...]
I want to ignore absolutely everything except the themes and modules folder - how would I do this in my .gitignore?
How about this:
# Ignore everything in the top-most directory
/*
# Except the wp-includes directory
!wp-includes/
# Exclude everything in the wp-includes directory
wp-includes/*
# Except the folders themes and modules
!wp-includes/themes/
!wp-includes/modules/
I installed wp to a server for the first time. The basic theme works and I can change the settings but I bought a new wordpress theme and was trying to upload it from the dashboard:
But it gives me an error each time:
These were suggestions I found online but didn't work:
So I tried to change the permissions of all of the folders to 755. And then I changed the permissions of the file update.php to 755 also but I still get the same error. I also tried editing the .htaccess of the folder 'AALimo' (folder which contains the wp dir) but that didn't work either. I'm not sure if I edited the .htaccess properly.
I just manually uploaded the theme into the theme directory using ftp instead of the theme uploader from dashboard and that worked.
I did it using C-Panel. I had to upload zip file in WordPress theme folder in public html. extract the zip file and you can install it easily .