Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need a little explaining..
#1
Okay so this here gets to me, I keep thinking and just can't think how it works lmao.

Okay, so, say I am making a portfolio website with GS, or anything else in that matter.
I have my home page, with whatever I need on it. Maybe a couple of 'Latest Work' articles.
Then we have the portfolio page.
If i say, have my work shown as thumbnails on the page. How do i get it to then, show it's own page when the image / thumbnail is clicked.
With a larger image, the brief i was given and any other info, what i did and if its a layout Visit Site.

I know that the Portfolio page would have a different theme to the thumbnail clicked link. But how do i do this? Do i have to make a new page for every piece of work i put up?

If you don't get what i mean, because i'm just confusing you, here is something i mean.
http://www.designmatic.co.uk/web-design/
If you click the image, it takes you to the project.

Any help appreciated, just to clear my head tbh lmao.
Visit my portfolio website: http://graphixant.com
Reply
#2
oToom Wrote:With a larger image, the brief i was given and any other info, what i did and if its a layout Visit Site.
what you are looking for is something like a lightbox with more than images in it

you could check here whether you find something fitting to your ideas:

http://planetozh.com/projects/lightbox-clones/


Facebox for example allows you to add other content than images or Highslide

than you create a template which loads the respective JS-file and add your content in the way these scripts need it

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
Hmm, only had a quick glance over that website as i'm in a little rush.
But you said lightbox, i know what lightbox is, that's not what i need.

Like i say i haven't proply looked over the website so it may be on there.
Check out the link i posted,
Visit my portfolio website: http://graphixant.com
Reply
#4
oToom Wrote:If i say, have my work shown as thumbnails on the page. How do i get it to then, show it's own page when the image / thumbnail is clicked.
I guess the manual way would be to place your images (inside a container, by themselves - however you want to do it with markup/css) and link to the respective individual pages with more info.

Maybe check out the gallery plugins (you can find a section on this forum or check out the Extend section of the website) and see if they provide the requested functionality.

Good luck!
Reply
#5
oToom Wrote:Hmm, only had a quick glance over that website as i'm in a little rush.
But you said lightbox, i know what lightbox is, that's not what i need.

Like i say i haven't proply looked over the website so it may be on there.
Check out the link i posted,


Well, you did just a short look.

There are scripts which include not only images, but text, videos, mp3 etc. in the same way as Lightbox.
I thought that that was what you whished
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#6
oToom Wrote:Okay so this here gets to me, I keep thinking and just can't think how it works lmao.

Okay, so, say I am making a portfolio website with GS, or anything else in that matter.
I have my home page, with whatever I need on it. Maybe a couple of 'Latest Work' articles.
Then we have the portfolio page.
If i say, have my work shown as thumbnails on the page. How do i get it to then, show it's own page when the image / thumbnail is clicked.
With a larger image, the brief i was given and any other info, what i did and if its a layout Visit Site.

I know that the Portfolio page would have a different theme to the thumbnail clicked link. But how do i do this? Do i have to make a new page for every piece of work i put up?

If you don't get what i mean, because i'm just confusing you, here is something i mean.
http://www.designmatic.co.uk/web-design/
If you click the image, it takes you to the project.

Any help appreciated, just to clear my head tbh lmao.

Ehm, I think you mean something like shown on this test page I created:

http://wouterb.be/getsimple-beta/index.php?id=test
  • You need to make a page for every portfolio
  • You put a thumbnail of an image on your site then also add link on it. See attachment
  • I'm not sure what's the best way to do the template thing, but you can put another themplate.php file (with a different name) in your specific theme folder. Then add the other coupled theme-files. Now you have for example template.php which links to style.css (and maybe some other theme files, like footer.php, etc.) and let's say template2.php (with links to other theme-files). In your page-editting screen you can then select a different theme for the Portfoliosite.

    Or is this a realy stupid way to do it?

btw. I use v3.0B
Reply
#7
here is a very easy Slider which takes all kind of content

http://cssglobe.com/post/3783/jquery-plu...ent-slider

you can integrate it using a different template where you load the JS in the header
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#8
datiswous, that explained it or more of cleared it out.
Just needed to know if it was a task of, create a new page for the portfolio links, set a different theme for them then link to them from a thumbnail.

Btw, the link was broken. Thanks again!
Visit my portfolio website: http://graphixant.com
Reply
#9
The way I'd do this is.

o - install my customfields and pages plugins (shameless plug I know )
o - Add a custom field and call it "image"
o - Create your base page - call it 'portfolio' and leave it blank.
o - Now create each of your pages and make the parent "portfolio"
o - add the following function to your themes functions.php

Code:
function getPortfolio(){
    $subpages=getChildren('portfolio');
    foreach ($subpages as $page){
        $title=returnPageField($page,'title');
$image=returnPageField($page,'image');
        echo '<li>';
        echo "<a href='index.php?id=".$page."'><img src='".$image."' alt='".$title."' /></a><br/>";
        echo "</li>";
    }    
}

o - then in your main template just call "getPortfolio();" where you want to display the list of images....

Hope it helps....

Mike

Plugins are here:
http://get-simple.info/extend/plugin/customfields/22/
http://get-simple.info/extend/plugin/page-caching/65/
My Github Repos: Github
Website: DigiMute
Reply
#10
Ahhh i get what that does i think noodles haha, You create the pages, then the function just calls the image and link to link to the child portfolio pages?

Thanks a bunch!
Visit my portfolio website: http://graphixant.com
Reply
#11
oToom Wrote:Btw, the link was broken. Thanks again!

Sorry I changed some things yesterday. The link works again now. You can also somewhat see it here:

http://wouterb.be/getsimple-beta/
Reply
#12
n00dles101 Wrote:The way I'd do this is.

o - install my customfields and pages plugins (shameless plug I know )
o - Add a custom field and call it "image"
o - Create your base page - call it 'portfolio' and leave it blank.
o - Now create each of your pages and make the parent "portfolio"
o - add the following function to your themes functions.php

Code:
function getPortfolio(){
    $subpages=getChildren('portfolio');
    foreach ($subpages as $page){
        $title=returnPageField($page,'title');
$image=returnPageField($page,'image');
        echo '<li>';
        echo "<a href='index.php?id=".$page."'><img src='".$image."' alt='".$title."' /></a><br/>";
        echo "</li>";
    }    
}

o - then in your main template just call "getPortfolio();" where you want to display the list of images....

Hope it helps....

Mike

Plugins are here:
http://get-simple.info/extend/plugin/customfields/22/
http://get-simple.info/extend/plugin/page-caching/65/


I've been searching for something like this, and it sounds like the simplest solution to what I want to do which is similar to what otoom wanted. I do have a question. How would I get this to work with multiple portfolios other than make a different function for each portfolio? "getPortfolio1();", "getPortfolio2(), "getPortfolo3();" etc etc.

Also, will this work if i already have the i18N custom fields plugin installed?

Thanks!
Reply
#13
Dominic Wrote:I've been searching for something like this, and it sounds like the simplest solution to what I want to do which is similar to what otoom wanted. I do have a question. How would I get this to work with multiple portfolios other than make a different function for each portfolio? "getPortfolio1();", "getPortfolio2(), "getPortfolo3();" etc etc.

Just add a parameter to the function and call it with getPortfolio('portfolio1') (portfolio1 being the parent page):
Code:
function getPortfolio($parentpage){
    $subpages=getChildren($parentpage);
    ...

Dominic Wrote:Also, will this work if i already have the i18N custom fields plugin installed?

I18N Custom Fields is an extension of Mike's Custom Fields, so it should work.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#14
@Dominic

mvlcek Wrote:I18N Custom Fields is an extension of Mike's Custom Fields, so it should work.

Mike's Pages plugin does not support I18N custom fields, but you can easily fix this by patching it like:
http://get-simple.info/forum/post/21170/#p21170
Reply
#15
Carlos Wrote:@Dominic

mvlcek Wrote:I18N Custom Fields is an extension of Mike's Custom Fields, so it should work.

Mike's Pages plugin does not support I18N custom fields, but you can easily fix this by patching it like:
http://get-simple.info/forum/post/21170/#p21170

Patched the pages plugin per instructions, but I am getting an internal server error 500. Getting it even without the patch.

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@newenglanddrawings.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."
Reply
#16
Dominic Wrote:Patched the pages plugin per instructions, but I am getting an internal server error 500. Getting it even without the patch.

That was very strange... Did you use a plain text editor for patching the file?
I have tested a fresh GS 3.0 install with debug mode on and latest I18N customfields and Pages plugin, and have no errors.
Anway, it seems the patch I suggested doesn't work (custom fields are not indexed). :-( Sorry.
Reply




Users browsing this thread: 1 Guest(s)