DSpace 6.2 Document Item View Customization - css

I am trying to customize the View Item tab on my repository and add styling.
The default style looks like this.
To one sort of like this one.
I've tried modifying the _item-lists.scss file under /[source]/dspace-xmlui-mirage2/src/main/webapp/styles/classic_mirage_color_scheme/ but there's no change.

The file responsible for these changes is the item-view.xsl file found in [source]/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/

Related

How to customize Plone-5's folder_contents

I want to customize Plone's folder_contents to add an 'edit'-link to each listed item, like show in the image below.
How would one do that?
There is a file called table.xml but I have not tried it. It is very cumbersome to change something internal in Plone.
Looks like the right way to do it is loading the module and changing it's prototype:
var structure = require('mockup-patterns-structure');
structure.prototype.defaults._default_activeColumns = ["ModificationDate","EffectiveDate","review_state","id","Type"]

How to make footer to show items from main menu automatically in Plone?

I am using Plone 4.1.4 with Doormat and Diazo in an institute I work and the Footer has to be made manually by adding each column and item that links internally to items from main menu.
What I want is that this footer, which is the site map, to change automatically every-time some user create, edite or delete an item from the main menu (content folders).
When I got the job I noticed many of those links in footer are out of date, and as there are many users in their each sections of the institute that are allowed to change the structure, I know they won't update both folders and footer.
I searched the Internet for some product or tip but I cant' find anything that resolves that problem.
If your Diazo theme was created as a Python package using mr.bob or zopeskel, you probably already have z3c.jbot, which allows you to easily override templates, available. If so, you likely have a template_overrides or similar directory in the package. If so, just drop into it a file named plone.app.layout.viewlets.footer.pt with the contents:
<div i18n:domain="plone"
id="portal-footer">
<ul id="portal-doormat"
class="navTreeLevel0 visualNoMarker">
<tal:sitemap replace="structure context/##sitemap/createSiteMap" />
</ul>
</div>
Then style away!
Alternatively, you may replace the colophon by naming the file plone.app.layout.viewlets.colophon.pt.
If you aren't using a Python package for your theme (if the Diazo theme was created through-the-web) then you may use the portal_view_customizations tool in the ZMI to make the same template override.
You may wish to also customize the depth of the site map. That may be changed via the portal_properties tool, navtree_properties property sheet. Or, just use CSS to hide unwanted depth.
An alternative and much easier way to realize your demand, can be to use portlets instead of viewlets, in combination with the addons "Products.ContentWellPortlets" and "collective.portlet.sitemap":
1.) Hide the footer-viewlets via a GenericSetup-config like in this example:
http://svn.plone.org/svn/collective/adi.simplestructure/trunk/adi/simplestructure/profiles/default/viewlets.xml
2.) Assign a sitemap-portlet in the footer-area via a GenericSetup-config, similar to this example:
http://svn.plone.org/svn/collective/adi.simplestructure/trunk/adi/simplestructure/profiles/default/portlets.xml
Tip: First assign the sitemap-portlet via the Web-UI, then go to [SITE-URL]/portal_setup, search for "portlets", check its box and click the export-button on the bottom, to get the needed xml-file.

Joomla css hide date create

I want to hide the date on this page.
I tried to change it inside joomla but I couldn't. It's not an article but a JKit page and there is no such an option.
I used the "inspect element" feature to find the corresponding css file and line (bootstrap.css #554). When I change the element through the "inspect element" menu its working but when I open the css file and change it, it doesn't work.
Any suggestions how I can hide it?
p.meta {display: none;}
That ought to do it. Granted, any other metadata will also be hidden. You should add this to a custom CSS file and not modify core Joomla or extension files.
I find it hard to believe that jKit doesn't have a setting for that. (Update: I see that jKit is very new and lacks good documentation.) Also, a template override might be more to your liking.
Most Joomla components allow you to control things like this in the options for the items and also in the menu options when creating a menu link (or setting the global options to change the default behavior. If this component does not, make either an alternate layout or a template override (depending on whether you want to always change this or just on this one page). If you go into the template manager, template view there is a system in place that will automatically create a copy of the layout and put it in the right location. Just edit that to show what you want.
Ok so I solved by editing the according .php file of the component.
I just removed the echo line of the date.
Nothing else worked.

Mageno module idea

I'm working on Magento modules.
After few guides I managed to create module that says "hellow world".
Also I have made some of css code that add simple image border around whole page.
So the problem is: how to combine them together?
I want that when I install my module, image border appears around page.
What should I be looking for? Any tips? I need right path to look for answers
T.y.
You need to to
Create a module
That modifies the global layout such that your CSS is added to the page
Re: number two, there's multiple ways to go about doing this. These days I favor the event/observer method
Add an observer for the controller_action_layout_generate_blocks_after event
Fetch the head block from the layout in your observer method
If you find a head block, add your CSS file to it programtically
The more traditional way is
Configure you module to include an additional layout update XML file
In the default handle of your new layout update XML file, add XML that tells Magento to add your CSS file
That should give you enough to google on and come back with more specific questions. Good luck!

SDL Tridion UI / Experience Manager - Modify the enable editing button

Is there a way to configure some settings around the 'SDL Tridion' button that is shown in the top left of the published website?
I'd like to go to town on it:
Change the text from 'SDL Tridion' to something like 'Edit this page'
Change the position in the page e.g. to bottom right
Change the colour etc.
You could look at concept of the skinning the Tridion CMS and apply the same for UI Experience Manager. You could find the UI themes TRIDION_HOME\web\WebUI\Editors\SiteEdit\Themes and possibly could add a new css for the placement of the button etc.
You could create a new css file like MyCustom.css and place it under the defalt Carbon. Once you have your new css file you need to update the SiteEditEditor.cfg file under TRIDION_HOME\web\WebUI\Editors\SiteEdit\Configuration to add new theme css file. Look for themefiles section in the config.
To change the default label, you need to change the EditorViewTitle data attribute value in Tridion.Web.UI.Editors.SiteEdit.Strings.resx file located under TRIDION_HOME\web\WebUI\WebRoot\App_GlobalResources.
**NOTE::***Please note that updating .resx files may not be supported and not documented*.
I played with this while back and I am quite successful with the labels and themes, but did not pursue since it is not fully meeting my needs.
Skinning the CMS is documented at : http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/task_C4C14E4D601B4BE392ACE3B067426BB7
I do not have enough rep points to make a comment, so I am using an answer instead.
Thanks Ram for the details.
I just tried to change the SDL Tridion button label, and I had to use the StartButtonLabel resource name in Tridion.Web.UI.Editors.SiteEdit.Strings.resx to make it work. The EditorViewTitle label appears as the browser page title, not on the start button.

Resources