I'm using Drupal for the first time and I'm hoping to move my existing website over to it. We've successfully imported our existing articles (in our own, custom format, stored in MySQL, moved over to Drupal's article system) and we're looking to get the site going. I tried installing the Colorbox module (I believe it was this one) but it doesn't seem to apply to all previous articles (the ones we imported). I've used WordPress before, and plugins (Colorbox, at least) had the ability to apply themselves to previous posts. Is this possible in Drupal?
Welcome to Drupal rar!
Colorbox module in Drupal may have different needs (probably attributes on the images) than the similar plugin in Wordpress. Although both are using the same js plugin this does not mean that they work the same way.
From the Drupal Colorbox documentation:
Load images from custom links in a Colorbox
Add the class "colorbox" to the link and point the src to the image
you want to display in the Colorbox.
Are the images set like this in your website? What is the code now for the images you want to display in a colorbox popup?
Did you follow the installation instructions for the Drupal Colorbox module?
Related
I'm very new to WordPress (tbh, it's my first time working with it). And I need to make a website as my school project using CMS. Creating pages with templates is alright, but I have a lot of troubles with buttons. I found this website, and I can see it using WordPress. I need such buttons as on this page https://movie-chooser.co.ua/random-movie-2/ (they appear when you hover over the image). Is this a default option for buttons in WordPress? If not, is there a plugin for this or what is the way to add them on my images?
First Install Elementor plugin https://wordpress.org/plugins/elementor/
and go to page when you add button and open page with elementor
and do drag and drop any element like button, space, text editor etc.
You have several ways to achieve that:
Overwritting Wordpress CSS
Using a plugin
Create your own shortcode
1 - Overwriting Wordpress CSS
If you manage to display all the elements using wordpress template, and your only issue is to display buttons over the images, then it should only be a matter of CSS
2 - Using a plugin
The idea here is to find a plugin that help you to create/display the informations you need (maybe you'll need to add functionnality to basic post though custom fields or using a custom post type).
Once you find the right plugin, again if the plugin dosen't directly offert some settings on the design then you'll have to overwrite the plugin's CSS rules to display the elements as you want.
3 - Create your own shortcode
If you're new to Wordpress I wouldn't recommend this method as it is kind of advanced, unless you're comfortable with PHP/HTML/CSS (optionaly JS).
This is the more flexible solution as you can basically control anything, but it will require you to understand some core concepts of Wordpress like WP Query and how custom queries works.
The idea here is to create a shortcode.
THis shortcode refere to a custom made PHP function, in which you can create a custom request to fetch the informations you need to display from Wordpress database, and display it in an HTML structure that you decide.
THen angain, you'll just have to customize it though CSS.
Note : no need to create a whole plugin if you decide to create a shortcode, you can use the template functions.php file for that.
I'm converting an existing site to use Timber. Here's what I've done so far:
Installed Timber.
Manually installed the Timber Starter Theme and copied over some custom functions from the old theme.
The issue is that page templates from plugins don't seem to be working at all. Specifically, the calendar page from The Events Calendar and the built in templates from Elementor (Elementor Full Width and Elementor Canvas). All I get is a completely blank screen. Here's the calendar page.
I thought this would work automatically because of the functions in header.php and footer.php. Is there something else I need to do to get plugin pages to display?
There's an article on a method to integrate The Events Calendar with Timber here:
https://theeventscalendar.com/support/forums/topic/events-pages-not-showing-up-in-timber-based-theme/
I've used this myself and it works well, one caveat however is that in more recent version of TEC you need to make sure Use updated calendar designs is not selected otherwise there is a mismatch between the enqueued CSS and the rendered views.
Im quite new to drupal, At the moment ive been trying to install a commerce theme but i dont get the correct appearance of it
the original theme
how it looks in my localhost
i have alreay installed drupal commerce, panels, ctoold, views etc... can sosmebody tell me what has gone wrong and how do i get the original look of the theme
There is a lot of things you need to do after installing the theme.
After installing new theme you should do the following:
Change default logo to your site logo.
Check what menu items are displayed and manage them in your structure>>menus
Add slider images by checking where to add the images (Read your theme readme.txt)
Add content so as to display in appropriate areas.
Add Products to your site.
Configure home page link.
Configure your categories / popular categories tags blocks.
Configure special offers block. May be you need to create a view with block display.
Place search block in appropriate region.
I am listing few and you can figure out rest if anything is not at its position.
Note: Generally the theme provides you basic regions, templates, css and icons structure, and you have to manage your site content so as to get the look and feel.
Quickinfo:
I am using wordpress 3.5.1 with the latest version of the "FancyBox
for WordPress" -Plugin.
I use the more-Tag for all articles, making
only excerpts of them beeing shown on the start-page.
Facts:
In wordpress image-thumbnails included in the article are enclosed
in a link pointing to the image-url by default.
The Fancybox-Plugin makes such Links open the image in a jQuery Fancybox.
My Problem:
Sometimes I show images in the excerpts, too.
At this time theres happening an usability-flaw:
When clicking on the Image a fancybox will open, but people expect to get redirected to the full article instead.
Is anyone aware of a solution how to overcome this issue, maybee by using an other plugin, changing the structure of my articles or editing some php-files?
I don't know about the plugin you are using but I've always used colorbox. There's a plugin for it designed for wordpress and it allows you to specify which images you want to open in a jquery window.
Is it possible to create an image gallery in wordpress that is managed by the admin via it's own page / panel. I am not talking about creating a new post and adding custom html for each image. I mean actually having a page in the admin that has the ability to upload and manage your images?
If it is possible how do you go about creating a custom page like this? I understand the PHP side of uploading and manipulating images, but I don't know how to integrate it with wordpress. I don't need a full blow tutorial on how to do this, but if you could just point me in the right direction that would be great.
One issue that comes to mind right away, is if this is possible would upgrading wordpress break the code? Since I assume you have to edit the admin files directly and you can't just do it from your own custom template?
From playing around I found NextGEN Gallery (http://wordpress.org/extend/plugins/nextgen-gallery/) that has a tab in your admin panel. It looks like it would meet your needs.
You can manage all your media from the WordPress Media Library using tags if you install Tag Gallery
It requires the Media Tags plugin but it makes managing galleries so much easier and your using the built in media facilities of WordPress so it's not disjoint from the experience. There is a new version in the works that will offer much more impressive functionality as well.
Hope that helps.
There are a huge amount of image galleries for wordpress already made. Have a quick google for some (search "wordpress image gallery") and see if any of them are suitable (I'll be surprised if one of them isn't).
Failing that, you'll need to create yourself a Wordpress Plugin.
I've integrated ZenPhoto into my wordpress blog. It was pretty easy, would probably take you a few hours. The admin pages are completely separate from the wordpress admin pages, so you can easily give access to only one person.
You can create a custom post type called Gallery to manage create and manage image galleries. The post will have its own "Gallery" panel in the admin section and from there you can add new galleries just as you describe. There are lost of tutorials for creating gallery custom post types.