How to create banner management in drupal 7 - view

I am using Drupal 7, I have need to make a banner management system,
user only upload image file and add image title.
Image should be display on header section and sidebar.

You can refer to the link on how to add banner http://www.bywombats.com/blog/06-08-2010/building-rotating-image-banner-views

Create a content type for banner with image field.
Using views module create 2 blocks displaying only banner content type.
Assign block regions with one in the header region and the other in the sidebar
Provide adequate css or overwrite template file to get the desired look and feel.

Related

Re-use images in an image field with drupal 8

I have created an image field and I would like to be able to select an image already used in another content.
Is there a module to do that from the "Add new file" button of the field?
Thank you for your help
https://www.drupal.org/project/imce
IMCE is an image/file uploader and browser that supports personal directories and quota.

How do I create a custom page in Joomla 1.5

I have a website here that I need to create a custom page where in I can call the header and the footer as well as the sidebar.
If you're going to do it in Wordpress its easy as this link says:
https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
However, Joomla is a bit different on this one. If I will try to add a new article I wont be able to customize the layout that I want. Let's say in the custom page I want to create I don't want the footer to show up and I want to add internal CSS on it which is possible on Wordpress custom page.
Any idea how do the same thing Joomla 1.5??
Thanks!

Multiple Image upload functionality in system configuration Magento

How can we get Magento default Multiple mage upload functionality in system configuration section ?
Currently I am using adminhtml/system_config_backend_image backend model for single image upload. But I need multiple image functionality same as available in edit product section.
You can create new product attribute with type Media Image and scope Global.
It will appear within Images tab when you edit product.

Adding Banner To Magento Product Page

Hi Everyone i am seek your expertise. I am working on a magento store and am wanting to add a banner to my product page like the image attached. This banner needs to be different on each product page so am wanting a way that i can either browse my computer for the image or add a url to the image location. I am thinking i need to create an attribute and then under Admin > Catalog > Manager Product > Images list i will be able to pull in the banner just like adding a new image product. Is this the correct way of doing it and if so, how can i specify on my template where the banner will be added (i.e at the top of the page). I have tryed to find some code where i can add so it knows that when i have this attribute to put it in that location. Any help would be much appreciated
Thanks
Ali
Sorry without the actual code there is not much help you will get. But this is an idea you can use:
Yes your thinking it correctly. Although a more elegant way to do this would be by adding an option in the image grid as (banner). This will allow you to use the power of existing image processing and handling systems in magento.
Once this is done; simply add the code in template file for product view page (I am not sure whether this is a enterprise or community version or you are using a theme. It's best to enable the developer debugger option to view the template file path).
In terms of adding this code this should be fairly simple. You just need to check any image has been flagged as "banner" or not. Then do some resize to fit in the page and it should work.
Hi you can simply create a one new attribute for a product using for banner image and you can use that attribute on product view page, and the banner will be display on product page according to each banner attribute value specify in the admin. This will be very simple in use.

How to edit magento home page via code?

Hello I'm trying to edit home page
http://www.kreatifyazilim.com/magento/
For example I want to write code on the middle part of the page, ( banner )
The dropdown boxes you can see on demo must be included in banner side.
Go to Magento admin->CMS->Pages
Select Home Page
In Content Tab, add your dropdown
Create a new template (home.phtml).
(make a copy of design/frontend/base/default/template/page/1column.phtml).
And choose this template in the CMS Page design layout.
You can freely edit the complete template (PHP+HTML)

Resources