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"]
Related
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/
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.
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!
How to add simple tool bar in silverstripe in content like heading h1,h2 etc. I want to add a simple css class there.?
Any help is accepted. Thank you
Supposing you want to configure the TineMCE HTMLEditorfield have a look at the tinytidy module. You'll have to copy the configuration example to your mysite/_config.php to make it working.
I have a block view called: "MYVIEW"
And I have a region on my template called: "right".
What must I call the template file to edit this?
The following does not work.
block-MYVIEW.tpl.php
block-right--MYVIEW.tpl.php
When you are editing a view in Drupal's administration, you have something like "Thème: Informations" (my install is in french, so it might be a bit different for yours) in the section of the screen that correspond to "base parameters" (same remark) ; it's the section of the left of the screen, and that entry is near the bottom of the options you can configure.
If you click on the "informations" link, it will display a list of all names you can use for templates files related to that view ; you mimght way to try using one of those ;-)
The module Theme developper might also help you with that kind of stuff, btw.