Hello,
We purchased another MD portfolio license for our new website.
Our server is running the latest Ubuntu and PHP, Ubuntu 18 and PHP 7.4. I'm currently getting errors when I install the module.
Warning: Illegal string offset 'md_row_height_flag' in template_preprocess_md_portfolio_mdp_plugin_rows() (line 348 of /var/www/html/sites/all/modules/md_portfolio/templates/mdp/theme.inc).
Same errors for lines 352 and 360.
Unfortunately, I cannot give you access to our FTP. Could you please provide me the newest version of the module? The version that I downloaded from Envato/Themeforest is from 2015.
Also, is there a way to add direct URL links for the lightbox and juicyprojects templates? For example, if someone goes to www.website.com/project1, it will automatically open the lightbox for that particular image on the page.
Thank you.
Hello
Please check your email for the update
Hello
Please follow these steps:
1: Open file: md_porfolio/templates/mdp/md-portfolio-mdp-plugin-rows.tpl, and add attribute: http://prntscr.com/kw5be4
2: Open file:md_porfolio/js/md_portfolio.js, and add the code:
after Drupal.behaviors.initPortfolio.mdr_load_scroll(context, settings, id); like this http://prntscr.com/kw5czc
Result: http://prntscr.com/kw5e8g
If you want to share porfolio item, you can add hashtag to the porfolio item's ID
For example, http://prntscr.com/kw5h8i
You should customize and style more to suit your liking
Hello
When you click on a portfolio item, the item's ajax get content will be called and added to current page without loading the whole page
We added hash tag for portfolio item without link. If you want to share portfolio item, you need to use page url with hash tag added.
Hash tag of portfolio item has format: 'portfolio-' + id of item
ex: portfolio-5
If you want to set node title to be hash tag, please open file md_portfolio/templates/mdp/md-portfolio-mdp-plugin-rows.tpl.php
and replace:
with:
Note:
+ Clear Drupal cache
+ If you add hash tag to link after the page fully loaded, then you press "enter" but the page does not re-load or doesn't show porfolio inline or popup, then just click F5 to refresh or open a new tab
+ If the portfolio item is not ready displayed on the page, the hash tag is not shown. You need to make portfolio item visible (you can increase the number of portfolio item on each page)
You can check our test video at localhost https://1drv.ms/v/s!ArRPkgVQNPYZg2-Z3faQtjZ4ZtqU
Also, please check your email for update