Skip to content

Tag: template

Minimal Portfolio WordPress Theme

minimal-portfolio-wordpress-theme-preview-590-300

Featuring the new theme by us called Minimal Portfolio. It’s nice and responsive.

See DEMO of Minimal Portfolio WordPress Theme

Features:

  • Fully responsive (mobile ready);
  • Fast – no additional frameworks and plugins used in this demo;
  • Clean quality code;
  • Social media icons included in the theme;
  • Multi-browser support – tested on most browsers out there;
  • Logo uploader in the theme customizer (if no logo is uploaded you site title from the general settings will be used like in this demo);
  • Documentation, installation and usage instructions in the theme readme.txt file;
  • Easy to customize – if you are a developer you will find it very easy to customize;
  • Submenu items support included in the theme;
  • HTML5 & CSS3 ready.

Email us if you want this theme for free.

Minimal – Multipurpose, Responsive Joomla Template

template_preview_590_300

>> DEMO

Features:
– responsible or fixed;
– sortable portfolio;
– custom contact page;
– multibrowser support;
– quickstart packages for Joomla 2.5 and Joomla 3;
– PDF documentation.

This is a clean, multipurpose, responsive, easy to customize template for Joomla 2.5 and Joomla 3.

Everything on this template is very standard and you can use it for very different kinds of websites.

Pretty basic code, so if you are a developer you will find it very easy for customization.

Please check the demo to see all features.

Tested on all modern browsers and different mobile phones. Works pretty well even on the old IE6.

Only one additional plugin used for the demo and quickstart packages and it is the slideshow on the front page by JS Flexslider – http://extensions.joomla.org/extensions/photos-a-images/slideshow/image-jquery-slideshow/22409

All images on the template photographed and edited by me.

Expect more nice templates from me soon…

Please contact me if you have any questions.

Send me an email to info@kavdesign.net if you want this theme for free.

Joomla! 3.0 and loading jQuery / Migrate Joomla template from 2.5 to 3.1

If you need to migrate yout Joomla template from Joomla 2.5 to Joomla 3.0 or 3.1 maybe you will need this info as I did.

The Joomla! 3.0 core ships with jQuery, and previous Joomla! versions did not. Extension developers like us therefor included a custom call to load jQuery in the past, whenever it was needed. However this standard needs updating. Here’s our proposal.

Loading jQuery only once

Because jQuery could be loaded in the past more than 1 time (and loading jQuery twice leads to unwanted errors, plus it makes no sense to load it twice), extension developers more or less agreed to use a flag in the Joomla! application-class:

$loaded = JFactory::getApplication()->get('jquery');

If the flag was not yet loaded, it could simply be loaded by your own extension, after which the flag needed to be set for other extensions to pick up on:

JFactory::getApplication()->set('jquery', true);

Joomla! 3.0 changes this

The Joomla! 3.0 core changes the JApplication-class in such a way that the get() and set() methods can no longer be used – the class no longer extends the JObject class which provided these methods. Simply put: Using the code above under Joomla! 3.0 throws a PHP Fatal Error.

But Joomla! 3.0 has also introduced jQuery as a core feature. Third party extensions no longer require to load jQuery, because it is already shipped with Joomla!. The only thing that extensions require is a simple call to the JHtml-class:

JHtml::_('jquery.framework');

Code proposal

So what is our proposal? Simple: Use the old method for Joomla! 2.5 and older, and use the new method for Joomla! 3.0. The version of Joomla! can be checked using framework-calls as well, so the code would look a bit like this:

JLoader::import( 'joomla.version' );
$version = new JVersion();
if (version_compare( $version->RELEASE, '2.5', '<=')) {
    if(JFactory::getApplication()->get('jquery') !== true) {
        // load jQuery here
        JFactory::getApplication()->set('jquery', true);
    }
} else {
    JHtml::_('jquery.framework');
}

Original article – http://www.yireo.com/blog/1556-joomla-30-and-loading-jquery

Full list of possible conflicts between Joomla 2.5 and Joomla 3.x here – http://docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_3_and_Joomla_Platform_12.2

Probably there are more things to know when migrating Joomla Templates from 2.5 to 3.x and if somebody get something please post a comment to this article.

Modifying the Tags Results Page for Joomla K2 + Creating a K2 Template Over Ride

This is a handy little guide, if you want to change the way that your Tag Results page is displayed.
As default, when you click on a Tag Link in a K2 Item, it will produce a page showing all full items which have that particular tag.

Now, if you Items contain a lot of information or you have a lot of Items with the same Tag, you will end up with quite a long list.

This little guide will explain how to reduce the displayed data to show just a snippet of the Item information plus add a bit of extra information.

Firstly, we are going to have to modify the generic.php file, this is located on components/com_k2/templates/
Now, If you do not want to modify this core file, then you can create a new K2 template first.

How to convert joomla 1.0 templates to 1.5 template

Open index.php of you remplate:

1. Check the top of your index.php file, it should be changed like this one or just use this code:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>” dir=”<?php echo $this->direction; ?>” >

<head>
<jdoc:include type=”head” />
<link rel=”stylesheet” href=”<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css” type=”text/css” />
</head>

2. Replace all php codes relating to modules.
This is an example of an old code <?php mosLoadModules ( ‘header’, -3 ); ?>
Replace with this <jdoc:include type=”modules” name=”header” style=”xhtml” />

3. Replace the mainbody code from <?php mosMainBody(); ?> to <jdoc:include type=”component” style=”xhtml” />

4. Rename the template_css.css file in your /css folder to template.css

5. If there is stuff like this one on yout code:

<?php if (mosCountModules(‘user1’)) : ?>

Chenge ot to look like this: <?php if($this->countModules(‘user1’)) : ?>

6. Check if there are anouther external files like footer.php for example. If there are just open and remove some source code starting with MOS

This should be it 🙂

How to style the Joomla search module and component?

If you want to change the look of the Joomla search module and Joomla search component:

Copy the file:

/components/com_search/views/search/tmpl/default.php

to

/templates/my_template/html/com_search/search/default.php

Now make a few changes in that file and refresh your site.

In a similar fashion, you can also override the Search Module layout file. Copy the file:

/modules/mod_search/tmpl/default.php

to

/templates/my_template/html/mod_search/default.php