Hello :)
i want create similar "Featured Projects Home block (it's for portfolio ) " for my "Blog", how can i create same view for blog posts ?
please help me to create this view.
thank you so much;
(image attach in comment )
The portfolio views is created with a views and custom template.
So if you want to create a blog view similar to that portfolio views, you have to create a views like that and create custom template for your views.
Thanks!
can u help a little more? i want to find tpl.php for "Featured Projects Home" and edit this for blog. it's seem a module and i can't find it in template file;
please tell me steps to create this view for blog;
Thanks!
1. To create the views for blog, you can clone the portfolio views then change views "Filter criteria" > Content: Type (= Article)
2. The custom template file of portfolio views is "node--dexp_portfolio--portfolio_bxslider.tpl.php" under templates/node folder. You can clone this template file then change name to node--article--portfolio_bxslider.tpl.php and put your cuatom code.
Clear cache.
Cheers.
Hi jimmy
i disappointed to create this view :(
i do this steps :
1.create the views for blog, you can clone the portfolio views then change views "Filter criteria" > Content: Type (= Article) ;
2.clone node--dexp_portfolio--dexp_portfolio.tpl.php and rename to node--article--dexp_portfolio.tpl.php and trying edit code ;
i editng this part of code :
$lightboxrel = 'article'.$nid;
$portfolio_images = field_get_items('node', $node, 'field_media');
<?php print render($content['field_media']); ?>
i know this is wrong, i cant work with media module in code, but anything change with my code and i got this error :
Notice: Undefined index: uri in include() (line 14 of C:\xampp\htdocs\siavash\sites\all\themes\evolve\templates\node\node--article--dexp_portfolio.tpl.php).
Notice: Undefined index: uri in include() (line 16 of C:\xampp\htdocs\siavash\sites\all\themes\evolve\templates\node\node--article--dexp_portfolio.tpl.php).
Thank you for your help jemmy :)
Hi I would like to do something similar. I want to use the client content type and create a 4 column portfolio page. What template do I need to update to do that? also Is it possible to create a block instead of a page?
$lightboxrel = 'article'.$nid; $portfolio_images = field_get_items('node', $node, 'field_media'); <?php print render($content['field_media']); ?>
i know this is wrong, i cant work with media module in code, but anything change with my code and i got this error : Notice: Undefined index: uri in include() (line 14 of C:\xampp\htdocs\siavash\sites\all\themes\evolve\templates\node\node--article--dexp_portfolio.tpl.php). Notice: Undefined index: uri in include() (line 16 of C:\xampp\htdocs\siavash\sites\all\themes\evolve\templates\node\node--article--dexp_portfolio.tpl.php). Thank you for your help jemmy :)Hi I would like to do something similar. I want to use the client content type and create a 4 column portfolio page. What template do I need to update to do that? also Is it possible to create a block instead of a page?
hi
file "node--dexp_portfolio--portfolio_bxslider.tpl.php" is not in templates/node folder.
Regards
Fatso