Posts Tagged ‘module’

Fedora 14 Tips and Tricks

After having some issues with Ubuntu 10.10 (blackscreen after an update) I decided to try Fedora 14. I was not real happy with Fedora 12 but thought I would give this disto another try. Like always Fedora leaves out some stuff your really need, like CODECS! The codec search tool that comes with Fedora has never worked, never. So here is how to load all the stuff you need or want in your Fedora 14 Distro. You need to get some other repositories that have the codecs and programs that Fedora does not supply. I like RPM Fusion and try to stay to the stable releases.


Add Repos:

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Installing Google Chrome Browser:

To add the google repository edit the file.

gedit /etc /yum.repos.d/google.repo (remove space after etc)

for 32 bit OS Version

[google]

name=Google - i386ff

baseurl=http://dl.google.com/linux/rpm/stable/i386

enabled=1

gpgcheck=1

 

gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

for 64-bit OS Version

[google64]

name=Google - x86_64

baseurl=http://dl.google.com/linux/rpm/stable/x86_64

enabled=1

gpgcheck=1

 

gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Install Google Chrome Stable Version on Fedora 14

Just type this line on the root terminal

yum install google-chrome-stable

Pidgin Chat Client

yum install pidgin

Autoten installer for all kinds of stuff! Including your Codecs, thanks to dnmmouse.org for this nice little installer.

 

su -c 'yum -y --nogpgcheck install http://dnmouse.org/autoplus-1.2-4.noarch.rpm'


su -c 'rpm --import http://dnmouse.org/RPM-GPG-KEY-dnmouse'

This should have put an Autoten icon on your desktop use that to install all the other codecs you need!

Skype

You need to install some x86 libraries for skype to work on X64 (catch up skype!)

yum install libXScrnSaver.i?86 libX11.i?86 libv4l.i?86 alsa-plugins-pulseaudio.i?86 qt-x11.i?86

Of course install Yumex one of my favorites.

yum install yumex

Flash-plugin 64bit

Download it from here: http://labs.adobe.com/downloads/flashplayer10.html

Then select the 64 bit tar.

Unpack it then move the .so file to

/usr/lib64/mozilla/plugins/ or ~/.mozilla/plugins/

Restart your browser and you got it. This also causes the Chrome browser to flash to work.


How to add a Joomla module position to the header of a Artisteer 2 template

I have just recently purchased Artisteer 2 for designing Joomla templates and so far I have been very impressed. However, one shortcoming I have found is that Artisteer does not allow for a Joomla module position in the header of the template.  I think this will eventually become a standard functionality in the product, but in the meantime I have found a fairly simple workaround that involves editing a few of the template files.
Let’s say for example that we have the following design for a template in Artisteer and want to add a Joomla module position as indicated in red:

I have just recently purchased Artisteer 2 for designing Joomla templates and so far I have been very impressed. However, one shortcoming I have found is that Artisteer does not allow for a Joomla module position in the header of the template.  I think this will eventually become a standard functionality in the product, but in the meantime I have found a fairly simple workaround that involves editing a few of the template files.

Let’s say for example that we have the following design for a template in Artisteer and want to add a Joomla module position as indicated in red:

Artisteer Template

Artisteer template

This can be done through the following steps:

  1. Export template from Artisteer
  2. Add module position to template details XML file
  3. Add “div” and module position to the main template file
  4. Add “div” positioning and formatting to CSS definition
  5. Zip template folder and contents
  6. Install template in Joomla
  7. Select new module position for the Joomla module that you want to put in the header

Details:

Step 1:

Export the Artisteer template for Joomla, selecting the option “Export as folder”.

Step 2:

Open the templateDetails.xml file in any text editor. Add the line

<position>header</position>

beneath the other position definitions

Step 3:

Open the file index.php in any text editor. Add the line

<div><jdoc:include type=”modules”  name=”header” style=”artstyle” artstyle=”art-block” /></div>

directly under the line

<div class=”art-Header”>

Note: Choose the module class suffix that you want to be the default for this module position and enter it as the value for “artstyle”. In this example I chose to have it default to the art-block style.

Step 4:

Open the file /css/template.css in any text editor.  Add the following block of text to the document:

/* begin custom header content */
div.art-Header-content
{
margin: 0 auto;
position: absolute;
z-index:1;
top: 20px;  /* enter the number of pixels down from the top of the header to position the upper left corner of your module area */

left: 425px; /* enter the number of pixels in from the left of the header to position the upper left corner of your module area */

width: 400px; /* enter the width of your module area */

height: 180px; /* enter the height of your module area */

}

/* end custom header content */

Step 5:

Zip up template folder and all contents

Step 6:

Install template in Joomla

Step 7:

Change module position to “header” for your selected module

Here is the final result for my example:

Joomla module in header

I have just recently purchased Artisteer 2 for designing Joomla templates and so far I have been very impressed. However, one shortcoming I have found is that Artisteer does not allow for a Joomla module position in the header of the template.  I think this will eventually become a standard functionality in the product, but in the meantime I have found a fairly simple workaround that involves editing a few of the template files.Let’s say for example that we have the following design for a template in Artisteer and want to add a Joomla module position as indicated in red:

Get Adobe Flash player