Same layout as Latest Projects MyFolio template

Business template for Joomla 3 and 2.5 ideal to create blog or personal website.
GK User
Tue Sep 18, 2012 10:53 am
Hi,

How can I get the same layout (latest project) as the MyFolio template? (see example down under this topic)

Ive installed the mod news show pro GK4 en took exact the same settings as used in the gk_myfolio_quickstart_J!25 backend.

But now I see text and read more under the image. See a example at http://pimrozendaal.nl/index.php/about-me

What do I wrong?

I use joomla 2.5.6 with a theRealdesign template.

Image

Hope to hear soon
User avatar
Senior Boarder

Konrad M
Tue Sep 18, 2012 7:36 pm
Hi,
check if you set ' gallery' suffix for this module. One thing more you have to do is copy function for // nsp gallery suffix located in js/gk.scripts.js. We didn't use it in all templates, only in myfolio so you don't have it in realdesign template.
User avatar

GK User
Wed Sep 19, 2012 8:21 am
Module suffix is set on nsp gallery and I've pasted the code into layouts/js/gk.scripts.js

Still the same layout. What to do?

Code: Select all
// nsp gallery suffix
   if($$('.gallery .nspMain')) {
      var arts = $$('.gallery .nspMain .nspArt');
      //
      arts.each(function(el, i) {
         //
         var img = el.getElement('.nspImage');
         var header = el.getElement('.nspHeader');
         var projectURL = (header.getElement('a')) ? header.getElement('a').getProperty('href') : '#';
         //
         if(header.getElement('a')) header.getElement('a').innerHTML = $GK_LANG_LANUCH_PROJECT;
         else header.innerHTML = $GK_LANG_LANUCH_PROJECT;
         //
         var text = el.getElement('.nspText');
         var info = el.getElements('.nspInfo');
         var readmore = el.getElement('.readon');
         //
         var container = new Element('div', { 'class': 'nspContainer', 'html': '<div></div>' });
         container.setStyles({'width': img.getSize().x + "px", 'height': img.getSize().y + "px" });
         container.inject(el.getElement('div'), 'bottom');
         container.setStyle('margin', container.getParent().getStyle('padding'));
         //
         container.getElement('div').addEvent('click', function() {
            window.location = projectURL;
         });
         header.addEvent('click', function() {
            window.location = projectURL;
         });
         //
         if(header) header.inject(container.getElement('div'), 'bottom');
         if(text) text.destroy();
         if(info) info.destroy();
         if(readmore) readmore.destroy();
      });
   }
});
User avatar
Senior Boarder

Konrad M
Wed Sep 19, 2012 10:17 am
Which nsp version do you have ? And please send me Private Message with access to your backend and ftp. Remember to add link to this topic too.
User avatar

Konrad M
Wed Sep 19, 2012 4:35 pm
I added some css styles to gk.stuff.css. Look at there and please paste background images to images folder. And then please add to lanugage/en-GB/en-GB.tpl_gk_the_real_design.ini this
Code: Select all
TPL_GK_LANG_LAUNCH_PROJECT="Launch project"

Should work as in myfolio.
User avatar

GK User
Thu Sep 20, 2012 4:48 pm
Alright! Thanks...

One more question...(I think)

Is there a possibility to create a option to choose at the section Data Source // source of articles in the backend for a catagory of Phoca Gallery Album?

That would be nice...

Hope to hear.

Regards.
User avatar
Senior Boarder

Konrad M
Fri Sep 21, 2012 12:24 pm
Unfortunetly no.
User avatar


cron