Silverstripe issue: Duplicating Siteconfig/setting menu - css

I've made a copy of the Settings menu (siteConfig) folder to create a CMS menu for adding company Information.
The Menu functions fine, but the CSS doesn't load correctly.
Image:
http://imgur.com/Zb58KNv
LeftAndMain Extension:
http://www.sspaste.com/paste/show/5765ac082c736
Dataobject:
http://www.sspaste.com/paste/show/5765ac3ab26ce
Thanks
-helenclarko

I found an alternative solution to this.
SingleObjectAdmin uses a single data object and shows it similar to site config.
https://github.com/Little-Giant/silverstripe-singleobjectadmin

Related

mmenu wordpress plugin - can't setup position from option page

I'm using the free version of mmenu plugin for wordpress. The menu is working correctly but it opens always from the left, even if i set up another position from the option page.
If I inspect the js file "mmenu.js" it seems that the option is passed correctly as I can see it in the code this string:
extensions: { "all": ["position-top"] }
But if I inspect the HTML source there are still the classes as the menu is setup to be opened from the left: (mm-wrapper--position-left, mm-menu--position-left, ...)
I wonder if this is a known issue or just a problem of my website, and if maybe you have a possible solution.
Thanks in advance
Francesco

Divi Builder not loading saved layout

I have a problem with Divi Builder. I am using Pagely to clone one site into a staging environment. The cloning part goes well and everything is in place.
When I try to access a page on the staging in order to edit it (Via Divi builder) the structure is not there. If I go back to the public are I can see the page structure in place and also I can confirm that the data is there because I checked using inspect that the poststuff text area contains the same data.
It seems that on the staging the structure under et_pb_main_container is not loaded properly
Instead if I check the live site the structure looks like this:
Finally the frontend displays:
Instead of what I am able to see on the live site:
Have you tried saving the layout to the library? I would give that a shot then load it and see if that jogs the content.
Please try to disable all plugins and then check or try to use the updated version of Divi Theme.

Meteor xolvio:md-blog: Site title is changed to "name"

I have finally successfully installed the Meteor package md-blog from xolvio. The only thing that is bothering me, is that the title of the site is changed to "name". Where can I remove this?
Also on some blog entries my logo in the navbar disappears. Does anyone know what this could be?
If you're basing your blog on the example app (https://github.com/xolvio/md-blog/tree/master/app), the strings used in the app are defined in the internationalization directory (https://github.com/xolvio/md-blog/tree/master/app/i18n). You can edit the en.i18n.json file as you see fit. The site_title property is what you need to edit to change the title of the blog.
Without seeing your blog, I can't evaluate why your logo disappears. Inspect the page to see if it's there but not visible. It's likely a css issue.

Why is there no layout for a module loaded in my article?

So I'm using this extension for my site RokSprocket to show my articles. But my problem is when I load the module inside my article with {loadposition myposition} the module appears but with no styling or layout whatsoever like the image below.
I tried using Modules Anywherebut it's still the same. I tried loaing other modules to my article but it's the same.
Any help?
As with any type of "module in content" plugin in Joomla, you need to assign the module to a menu item/items in order for it to be displayed

Views Drupal Clone

I've purchased a theme which turned out to not being well documented or supported and after almost completing my website I came across a problem that I can't solve :(
I should start saying that I'm a newbie and this is probably really easy but I can't seem to find the answer.
I created a clone of a view which has a really nice style to it:
http://www.calaverastattoo.com/portfolio/category/
and my clone looks like this:
http://www.calaverastattoo.com/portfolio/category/angel
If someone has an idea of how to fix this I'd really appreciate your help.
Thank you
It is probably because of missing CSS styling. Make sure to copy the required CSS code in the new theme.
You need to duplicate the following files and put them in the same folder location as the originals.
So for example /sites/all/themes/YOURTHEME/templates (This is a guess) will contain the following files. I think angel is the name of your new view?
original - views-view-fields--portfolio--page.tpl.php
duplicate - views-view-fields--angel--page.tpl.php
original - views-view-fields--portfolio--items-summary.tpl.php
duplicate - views-view-fields--angel--items-summary.tpl.php
original - views-view-fields--portfolio--items-summary.tpl.php
duplicate - views-view-fields--angel--items-summary.tpl.php
original - views-view-unformatted--portfolio--items-summary.tpl.php
duplicate - views-view-unformatted--angel--items-summary.tpl.php
original - views-view-unformatted--portfolio--page.tpl.php
duplicate - views-view-unformatted--angel--page.tpl.php
original - views-view-unformatted--portfolio--page.tpl.php
duplicate - views-view-unformatted--angel--page.tpl.php
As this is a custom theme you have bought I'm not 100% of how it loads the template files the above example would work with most drupal base themes.
Cheers Dan
I'm guessing that the view that comes with template you have bought has it's own template which will be a file in the theme directory called something like this (possibly in a directory called tempaltes)
views-view-page--portfolio--portfolio.tpl.php
If you edit the original view look in the bottom right hand corner of the page there is an option called theme with a link called information. Click Information and it shows you which templates files will affect that view.
Thanks

Resources