Topic: My porfolio
Note: This plugin will not have more updates
Codes:
php
<?php echo mport::getPortfolio(); ?>
shortcode
{Portfolio}
link: Dropbox
You are not logged in. Please login or register.
Note: This plugin will not have more updates
Codes:
php
<?php echo mport::getPortfolio(); ?>
shortcode
{Portfolio}
link: Dropbox
uuh.. yeah!! i will immediately try on my localhost.
I modified the script, I remove random picture and I've also modified the scroll to 700px, if you do not need (do not have slides like me) put it in 0
file least.min.js line 38 view in Github
Update for new Monstra.
Could u please add, shortcodes\phps for last items from portfolio so we can add that code to home page or to sidebar ?
<?php echo Mport::Last(5); ?>
{mport list="last" count=5 }
You can get last 5 for example with this ( File mport.plugin.php line 53 )
Normal code
public static function getPortfolio(){ $table = new Table('mport'); $items = $table->select(null,'all'); return view::factory('mport/views/frontend/index')->assign('items',$items)->display(); }
And call with
<?php echo mport::getPortfolio; ?>
with last 5 for example
public static function getPortfolio($num='all'){ $table = new Table('mport'); $items = $table->select(null,$num); return view::factory('mport/views/frontend/index')->assign('items',$items)->display(); }
And call with
<?php echo mport::getPortfolio(5); ?>
Hi, I want to ask how to create 'slug' in this plugin? is it possible?
because I don't want to showing pop up when I click on the image, but i want it will go to another related page
Thanks anyway
Like this ? http://nakome.com/monstra/portfolio
Yes, how to do that?
Yes, how to do that?
Download custom plugin
Note: Take a look of code to learning
szopen wrote:Yes, how to do that?
Download custom plugin
Note: Take a look of code to learning
Thanks Nakome, you are really helpful
Great plugin!!!
Nakome, it would be very cool if it were possible to create a category of works.
szopen wrote:Yes, how to do that?
Download custom plugin
Note: Take a look of code to learning
i download it but its does not work as well as urs http://nakome.com/monstra/portfolio
it look the same in front website.ru/portfolio but when i click on image it move me to /portfolio?item=1 and there is the same size of image, no description and i can click again on image and it will move me to this link again /portfolio?item=1 could u please check the archive with plugin u upload i think u upload a wrong one thanks
nakome wrote:szopen wrote:Yes, how to do that?
Download custom plugin
Note: Take a look of code to learning
i download it but its does not work as well as urs http://nakome.com/monstra/portfolio
it look the same in front website.ru/portfolio but when i click on image it move me to /portfolio?item=1 and there is the same size of image, no description and i can click again on image and it will move me to this link again /portfolio?item=1 could u please check the archive with plugin u upload i think u upload a wrong one thanks
Now i have a Big Project of one client ,When finish i see the problem ok.
Hi nakome! how are You? have You done Your job for client?
I am also interested in Your plugin, but please tell me if You are able to create each page for each added work (as it is on Your page), and are You able to add categories into?
I was also thinking of ability to link them (previous work / next work from its category)
does it need to be used with bootstrap css ? because right now I am having problems with it. Seems like jquery functionality don't work for me. More going to portfolio page via frontend page I see large image not the thumbnail, also I see the "x close", clicking on it nothing change. I am wondering what's wrong... other scripts using jquery works ok on my new theme.
Ok I figured out. It needs to add to new theme header this lines:
<link rel="stylesheet" href="<?php echo Site::url(); ?>/public/assets/css/bootstrap.css" type="text/css" /> <!-- JavaScripts --> <script type="text/javascript" src="<?php echo Option::get('siteurl'); ?>/public/assets/js/jquery.min.js"></script> <?php Javascript::add('../../../post/3599/public/assets/js/forum_subdomain/bootstrap.min.js', 'frontend', 2); ?> <?php Javascript::load(); ?>