load specific thumbnails on a "page"

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

load specific thumbnails on a "page"

mlaks
Hi,

i am trying to load specifics thumbnails on a page, so far (thanks to another post) i manage to load all the thumbanils i have again, by clicking on a "page", in this case "CASE STUDIES" (check: http://www.undogo.com/testcore/).
I want to load some specific thumbnails when you click on case studies, some thumbnails that are not showed with all the other thumbnails (that belong to GRAPHIC, ILLUSTRATION, COMMUNICATION).

I am running a modified darkthumbs version.
Any idea how to do this? or if it's possible?

Thanks!
best,
m.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

mlaks
any ideas? please?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

jyemail
In reply to this post by mlaks
Solo tienes que subir una imagen via ftp a la carpeta del proyecto con un afijo (despues del nombre)  _thumb, ejemplo
tienes una imagen llamada pic01.jpg, para convertirla en un thumb sólo tenés que agregarle el afijo pic01_thumb.jpg.
Pero tienes que rescalarla antes de subirla, Core sólo la reconoce como un thumb pero no la escala, al menos eso dicen, porque no lo he probado a ver que pasa sin reescalar.
Regads - Saludos

J. yemail
R2R · renderar.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

mlaks
hola,

No es justamente eso lo que queria lograr, es que quiero que desde una pagina, poder cargar solo 2 o 3 entradas especificas. Hasta ahora solo he podido cargar todas las entradas de nuevo, con LOAD_THUMBS...

igualmente, gracias
saludos,
m.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

load specific thumbnails on a "page"

jyemail
Hola Mlaks,

La verdad no entiendo a que te refieres con
"poder cargar solo 2 o 3 entradas especificas. Hasta ahora solo he podido cargar todas las entradas de nuevo, con LOAD_THUMBS... "

Me podrías explicar bien en que consiste eso de cargar con el load thumb
Regads - Saludos

J. yemail
R2R · renderar.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

mlaks
i finally manage to do in someway, what i needed (check www.undogo.com/testcore) you'll see that in the menu on the left, you'll find first the tags with the entries and after that the pages... in the CASE STUDIES page i manage to load just one thumbnail... that's what i wanted. :)

(lo escribo en ingles para que entienda el resto)

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

jyemail
Ah!. oka.

Could you explain me how did you do it, I'd tryed this tutorial but is really hard to me to understand it.
A jQuery Portfolio Plugin that's Interactive and Filterable
Regads - Saludos

J. yemail
R2R · renderar.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

mlaks
i manage to change the post from hallor "Exclude page from menu"

In her own words:
First, in your themes files, open the one called tag_link.php

The content in it will probably look something like follows (unless you've done some heavy editing):

<p><a class="tag-link" name="tag<? echo $tag_id; ?>" href="#tag-<? echo _encode($tag_text); ?>"><? echo $tag_text; ?></p>



Then, take tag-<? echo _encode($tag_text); ?> and copy it to the class, so it looks like this:

<p><a class="tag-link tag-<? echo _encode($tag_text); ?>" name="tag<? echo $tag_id; ?>" href="#tag-<? echo _encode($tag_text); ?>"><? echo $tag_text; ?></p>

So, what i did after that was: in index.php i added this line under <? LOAD_MENU(); ?>, like this (CASES is the tag that is hidden and i wanted to load):

<div id="pages">
    <? LOAD_MENU(); ?>
        CASE STUDIES
    </div>



Now every page link is identifiable, we can target them and hide them.
And after that in basic.css, put (CASES, in my case is the tag i wanted to hide):

#tags .tag-CASES {
        display: none;
}

i think that's all, thanks to hallor. Anyway, it's not probably the best way to do ti, but is the only one i manage to figure out so far.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

mlaks
where you read CASE STUDIES it should say:

<a class="link-active" href="#tag-CASES">CASE STUDIES</a>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

jyemail
In reply to this post by mlaks
I'll try ready now!..

Thanks che!
Regads - Saludos

J. yemail
R2R · renderar.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

jyemail
Oka. I understand now, but how do you toogle the
style"display: block"
 to
style"display: none;"
to display & hidden the thumbnails when you clicking the tags menu.
Regads - Saludos

J. yemail
R2R · renderar.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

mlaks
ok, i actually had to recall how i did this, i am starting to forget all i did till now
i changed 2 lines in the jquery.corefunctions.js file, in lines 87/88, where it says:
                        if(ex) $(this).fadeTo(200,1.0);
			else $(this).fadeTo(200,0.25);

i changed to:
                        if(ex) $(this).show();
			else $(this).hide();

so it shows me only the tagged thumbnails and listed entries.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

jyemail
Hi Mlaks,

I did it, but nothing happen, looks like the same!..

You could see it here!
Regads - Saludos

J. yemail
R2R · renderar.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

mlaks
hi, i look into your jquery.corefunctions.js throught "view / page source" in firefox and those lines i told you aren't modified...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

jyemail
Ho Mlaks,

Sorry, I did it, but for some reason I send other files.. now is ready..
thanks so much che!...

Now I have a little bug, a target the home page (renderar.com) to Info (renderar.com/#Info), but when I click the Todo (/#) it go to the Info, so I need to reload the page for clean the filter, but I don't know how, I have found some javascript but are a input (buttons), and I need some code that I could embed in a text.
I'd tryed somes like this:
<a href="#" unClick="window.location.reload( true );">Reload</a>
<a href="/#Portafolio"unClick="window.location.reload( true );">Ver todos</a>
The problem is the filters have url, so if you try to reload the /#Portafolio how you're ready in there but with the filter url, nothing happen..... could you help me with this problem.
Regads - Saludos

J. yemail
R2R · renderar.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

jyemail
Sorry today I'm really exhaust .... and really dummy.

just create a tag and tag all entries!.... más claro no lo canta un gallo!...

Now just need:
- watermark (I'm talking with mark grahamdunn about this)
- switch styles css ( for using like a multilingual site, could you help me about this? )
- Clean url ( this is really hard I could see, because all corecms gurus have no clean url, no one is interested)
Regads - Saludos

J. yemail
R2R · renderar.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

mlaks
hi,

no idea about all that, for what i red mark is the expert, so, he'll know.

if you have to figure out the switch styles for the multilingual site, let me know.

As for clean urls, for what i know, by changing htaccess to .htaccess

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: load specific thumbnails on a "page"

jyemail
Thanks Mlaks,
Don't worry if I could run the multilingual css site, I send you how to do it!..

The clean url that I talking about is to take off #, at least in the pages, because in this moment the Core site is not indexed at all with it ( # ). I admint that I don't have any idea how to do it, I cannot help with that, and no one is talking about.....
And if you check or uncheck the nice permalinks or active the .htaccess, nothing happen...

Thanks again Che!..
Regads - Saludos

J. yemail
R2R · renderar.com
Loading...