Posts: 59
Threads: 14
Joined: Dec 2009
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.
Posts: 2,928
Threads: 195
Joined: Feb 2011
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
Posts: 59
Threads: 14
Joined: Dec 2009
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,
Posts: 524
Threads: 48
Joined: Mar 2011
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!
Posts: 2,928
Threads: 195
Joined: Feb 2011
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
Posts: 1,247
Threads: 82
Joined: Feb 2011
2011-03-21, 10:09:32
(This post was last modified: 2011-03-21, 10:13:37 by netmaster.)
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
Posts: 2,928
Threads: 195
Joined: Feb 2011
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
Posts: 59
Threads: 14
Joined: Dec 2009
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!
Posts: 1,108
Threads: 70
Joined: Aug 2009
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/
Posts: 59
Threads: 14
Joined: Dec 2009
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!
Posts: 1,247
Threads: 82
Joined: Feb 2011
2011-03-22, 19:13:12
(This post was last modified: 2011-03-22, 19:32:03 by netmaster.)
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/
Posts: 42
Threads: 8
Joined: Jan 2012
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!
Posts: 2,094
Threads: 54
Joined: Jan 2011
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.
Posts: 3,491
Threads: 106
Joined: Mar 2010
@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
Posts: 42
Threads: 8
Joined: Jan 2012
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."
Posts: 3,491
Threads: 106
Joined: Mar 2010
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.
|