Converting Portfolio to the Event

semargl's picture
semargl
Thu, 07/23/2015 - 09:40
#1
Converting Portfolio to the Event

In the site I'm building portfolio items are rather presented as events, which will display in the calendar.

I'm curious if it is possible to add the slide down effect, as it is in Default Portfolio page, to the calendar when visitor clicks on the node title. Pretty much, I want to achieve the same result as if visitor clicks on the Portfolio thumbnail in the "Default Portfolio" page.

phuonght's picture
phuonght
Sat, 07/25/2015 - 00:21

Hi,

We do not understand clearly. Could you describe more?

semargl's picture
semargl
Tue, 07/28/2015 - 13:44

Basically I want to create an effect of sliding down overlay when I click on Portfolio URL in other views besides "Default Portfolio".

phuonght's picture
phuonght
Tue, 07/28/2015 - 23:12

By more detailed way,

you would like to create in which view and when you click on which button?

semargl's picture
semargl
Wed, 07/29/2015 - 08:54

Calendar

/calendar-node-field-date/month

Clicking on the node title in the calendar.

phuonght's picture
phuonght
Thu, 07/30/2015 - 22:12

Because you are using Calendar module that has content displayed inside so if you would like to click on one content then having a slidedown effect, you need to write more code. It means that you need to hook into calendar module and edit. It will be so much complicated.

And about code of Portfolio part in our theme, it is in the below place:

1. Module custom/portfolio

2. File js/front/custom.js. Search

function portfolio_loadajax(nodeid){

   $.ajax({

   type : 'POST',

   url : "portfolio",

   dataType : 'html',

   data: {

    node_id : nodeid

   },

   success : function(data){

      $('.ajax-loader').fadeOut();

      $(".overlay-section").html(data);

      $('.overlay-close img').tooltip();

   }

   });

 }

semargl's picture
semargl
Thu, 07/30/2015 - 11:47

I see.

Thank you.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.