I have a joomla 3.6 with a Helix 3 template and i downloaded a SP smart slider, I have inserted 4 images. My problem are that the "slider" shows the article name on all images.
How can I remove this "caption"?
you can try to change 'Title Type' to 'Custom Title' and left it empty
you can hide it by adding css display:none; for this element
Create overwrite sp smart slide module view
https://docs.joomla.org/J3.x:How_to_use_the_Template_Manager#Creating_Overrides
then you need to edit file template file in (for example)
/templates/your_active_template/html/mod_sp_smart_slider/nivo_slider/view.php
if you use nivo_slider theme you can remove only image title attribute:
title="#sp-smart-caption-<?php echo $index ?>"
Related
In wagtail, I need to make a Struct/Stream Block
There is a dropdown on the top of the block(Image/Video)
If editor choose Image, VideoChooserBlock should be hidden.
And if editor choose Video, ImageChooserBlock should be hidden.
class MyBlock(StruckBlock):
category = ChoiceBlock(choices=(("image", "image"),("video", "video")))
image = ImageChooserBlock()
video = videoChooserBlock()
Here, editor should be able to choose only image or video depending on category.
Any help is appriciated.
Thanks
You may find it useful to review the code of wagtail-link-block which does something similar.
Main files to focus on:
blocks.py for displaying fields conditionally based on a ChoiceBlock
static/link_block/link_block.js and static/link_block/link_block.css to handle the DOM manipulation and styling with JavaScript and CSS
wagtail_hooks.py to insert JS and CSS
I want to create a clickable URL in hue as shown in below image :
I found it in a blog :
https://blog.cloudera.com/blog/2016/05/how-to-process-and-index-medical-images-with-apache-hadoop-and-apache-solr/
They have not explained how they did it.
Can anyone tell me how can it be done in hue?
To summarize the video,
Drag the HTML results panel onto the dashboard, go to the HTML tab of the Editor, add a field for
text you want to display
Where url is the field of the collection (the {{ }} marks are to be included to render the field)
I am using Joomla 3.x and K2 extension. I'd like to hide the attached image of the item in intro text, and show another image instead in the content page (full page). (The image that shown in the main page replaced by another image in the article/content page). How can I do that?
In K2, you can associate an image with an item by uploading it to the Image tag for that item. You can also add images within the content of the item as well. To accomplish what you are trying to do it would probably be easiest to do this -
Configure the category view to display the image from the image tab
Configure the detail view to NOT display the image from the image tab
Use a template override for the category item view that strips out any images in the intro text
This way you will have the image tab image display in the category and the content image shown on the detail page.
Under the category, go to "Item view options" (on the right), and select "hide" for "image".
Make sure if your category inherits from another one, you make this change in the top category
I want to add image slider in home page which is user editable and I am using Drupal7 for this.
I have used view_slideshow module and then created new content type as featured_slider and created view and added custom region in .info file and then configured the block.
But still I am not getting Image slider on homepage.
Is that possible to put slider in header region.
Did you put the region to render in your template files? if not, make sure to print it where you want it to show up inside page.tpl.php or any other template file at your theme templates folder as follows: print render($page['name_of_your_region']);
Can it be done? I did a lot of research and couldn't find anything.
Thanks
It seems that there isn't any settings for that in the Chart API, but what when I inspected Telerik ASP.NET MVC demo page I found out the text element that is used on the title.
With some JavaScript you could change the title font size and color easily.
This is a jQuery example:
$('#chart').find('text:nth(0)').css('font-size', '30px').css('text', 'red')
First I'll get the chart control with id and then find the title which is the first text element. Then I'll place my own css styling.
This isn't the optimal way to do this and it is basically a hack, but if nothing else cannot be done then this might be your solution.
Have a different approach to this since we ran into the same thing but with trying to bold the title... Kendo MVC Chart API now gives you access to the font tag which it pushes into the style tag. Well what we did was just close that element and add our own element(s) to the style tag:
.Title(t => t.Text("My Chart Title").Font(";font-weight:bolder;"))
As you can see below it renders the style and in turn bolds the title text.
in razor page add this code for the category in chart
.CategoryAxis(axis => axis.Categories(model => model.MonthName)
.Labels(labels => labels.Font("tahoma").Color("red").Margin(15))
.Labels(labels => labels.Rotation(-90))
.MajorGridLines(lines => lines.Visible(true)))
))