1 (edited by nakome 2015-02-11 02:08:05)

Topic: My porfolio

Note: This plugin will not have more updates


Codes:

php

<?php echo mport::getPortfolio(); ?> 

shortcode

{Portfolio}

link: Dropbox

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

2 (edited by Aryandhani 2013-06-04 10:27:15)

Re: My porfolio

uuh.. yeah!! i will immediately try on my localhost. big_smile

I'm not like them but I can pretend.

3 (edited by nakome 2013-06-05 13:46:28)

Re: My porfolio

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

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

4 2014-08-18 21:05:16 (edited by nakome 2014-08-18 21:33:44)

Re: My porfolio

Update for new Monstra.

Download

Frontend  preview

Backend preview:

All


Add item


Settings

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: My porfolio

nakome wrote:

Update for new Monstra.

Download

Could u please add, shortcodes\phps for last items from portfolio so we can add that code to home page or to sidebar smile ?

<?php echo Mport::Last(5); ?>
 {mport list="last" count=5 }
(с) Roman Art
So far So good wink

RomanArt's Website

6 (edited by nakome 2014-10-14 19:05:21)

Re: My porfolio

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); ?>
..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

7 2014-10-20 10:20:45

Re: My porfolio

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

Re: My porfolio

Like this ? http://nakome.com/monstra/portfolio

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

9 2014-10-21 03:03:53

Re: My porfolio

Yes, how to do that?

10 2014-10-21 11:29:35 (edited by nakome 2014-10-21 11:31:19)

Re: My porfolio

szopen wrote:

Yes, how to do that?

Download custom plugin

Note: Take a  look of code to learning smile

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

11 2014-10-22 03:56:49

Re: My porfolio

nakome wrote:
szopen wrote:

Yes, how to do that?

Download custom plugin

Note: Take a  look of code to learning smile

Thanks Nakome, you are really helpful smile

Re: My porfolio

Great plugin!!! 
Nakome, it would be very cool if it were possible to create a category of works.

13 2014-11-13 14:42:00

Re: My porfolio

nakome wrote:
szopen wrote:

Yes, how to do that?

Download custom plugin

Note: Take a  look of code to learning smile

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 smile thanks

(с) Roman Art
So far So good wink

RomanArt's Website

Re: My porfolio

RomanArt wrote:
nakome wrote:
szopen wrote:

Yes, how to do that?

Download custom plugin

Note: Take a  look of code to learning smile

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 smile thanks


Now i have a Big Project of one client ,When finish i see the problem ok.
smile

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: My porfolio

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)

16 2015-03-13 09:11:26

Re: My porfolio

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.

Re: My porfolio

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('../../../../topic/378/public/assets/js/forum_subdomain/bootstrap.min.js', 'frontend', 2); ?>
<?php Javascript::load(); ?>