Archive for the ‘CMS’ Category

Joomla: Modules In Content

posted by Timmy Skwirl
Mar 28

Modules are Cheap Jordan Shoes typically displayed on the left and right sides of the page. It’s not uncommon to also find 5 modules on the top or bottom of a page. The display location for a module is controlled by the site administrator through the Joomla administrator panel.

The cheap nfl jerseys module management screen Cheap Jordans provides several options as possible locations for a published ray ban sunglasses sale cheap nfl jerseys module. But Joomla does not provide an easy discount oakley way cheap oakleys if you want to display these modules in the main content area of the site.

Fortunately Joomla provides a way to get around this limitation through nfl jerseys shop the NFL Jerseys China use of a built-in plugin. The plugin allows authors to insert the “load module” command at any point in their content. Contact The author simply has to include the text

in their content at the ray ban outlet location where hockey jerseys they want the You modules to appear. Including this text will instruct Joomla to load all of the modules cheap jerseys wholesale designated as belonging to position “user9” into the content. Of course wholesale jerseys any position identifier can be Cheap Jordans Sale used here.

This handy trick allows the insertion of author profiles, related articles, or any other interesting information into the main body cheap fake oakleys of any article.

Joomla fix for JCE popup lightbox

posted by Timmy Skwirl
Jan 3

We are using the JCE popup lightbox effect to present content items, as well as images. I oakley outlet have been racking my brain trying to figure out why the popup lightbox feature keeps using my template.css file. Yes, I am using a different, more simpler css file for my JCE editor and I have changed the parameters in the JCE configuration accordingly; cheap oakleys the admin JCE WYSIWYG is taking orders from the simpler css file, nfl jerseys cheap however the popup lightbox effect does not!

Unfortunately, I searched high and cheap oakleys low for a solution but still no Oakleys Outlet luck. Therefore, I had khung to turn to my template.css file and make some fixes and changes, i.e. simply strip the body element from any background images and/or problematic background colors and connect these attributes to a different element, like a 100% width table or a container div.mens club 24

Another annoying problem occured Cheap Jerseys when I was wholesale football jerseys checking the Cheap NFL Jerseys popup lightbox effect on Explorer 6.0. The fix I kills told you jordan retro Magna 11 about is still working, however the text is showing extremely wholesale football jerseys china cheap nfl jerseys large. Again, cheap jerseys china I was looking for an answer only to come up with my own small fix:

Simply place this ray ban sunglasses sale code Wholesale NFL Jerseys in your template.css file

Explorer 6.0 Cheap Football Jerseys uses the font-size attribute for the td and the text size goes back to normal. IE 8 has rewritten the event handler to display this in a more stable fashion with other browsers.

Jan 3

Joomla default menu (homepage), cheap football jerseys view, option variables in

// if a section set background body Prosox type cheap nfl jerseys for background image
$menu = &JSite::getMenu();

if ( JRequest::getCmd(‘view’) === “section” ) {<br cheap ray ban sungalsses />
$db = &JFactory::getDBO();
$temp   Cheap Jerseys cheap nfl jerseys = JRequest::getString(‘id’);
$temp   = explode(‘:’, $temp);
$id   = cheap jordans for sale $temp[0];

$db->setQuery(‘SELECT title FROM #__sections WHERE id=’.$id);
$sname=$db->loadResult();<br wholesale nfl jerseys />
$sname=str_replace(” “,”_”,$sname);
echo “_”.strtolower($sname);

if ( ($menu->getActive() == $menu->getDefault()) || nfl jerseys shop ( and JRequest::getCmd(‘view’) fake ray bans === nba jerseys sales “frontpage” Ремни ) ) {
echo “_homepage”;


Joomla countModules function

<div id=”imageFlick”>
<jdoc:include nfl jerseys cheap type=”modules” name=”slider_image” style=”xhtml” />


<span cheap China Jerseys Cheap Jordan Shoes style=”color: #ffff00″>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<jdoc:include type=”component” />


var Cheap Jerseys $error_reporting = ‘-1’; // oakley sunglasses cheap NONE

var $error_reporting = ‘2048’; // FULL

Joomla MYSQL loadResult

Jan 3

Sidebars are great because oakley sunglasses outlet they allow you to display a lot of useful info, such as related posts, author info, a blog roll, 125×125-pixel ad spaces and cheap nfl jerseys so on. But sidebars can quickly become very cheap nfl jerseys busy, and readers may be hard-pressed to find what they’re looking for. So, what Oakleys Outlet about having different sidebars available and displaying the most appropriate one for the post?

To apply this hack, duplicate your sidebar.php file and fill it with whatever information you would like to appear. cheap ray bans Save the file as sidebar-whatever.php.

Once that’s done, open your single.php* file and find the call to the get_sidebar() function:

1    <?php get_sidebar(); ?>

Replace it with:

1    <?php $sidebar Blizzard = get_post_meta($post->ID, “sidebar”, true);
2    get_sidebar($sidebar);
3    ?>

Now when you write a post, create a custom field named sidebar. ray ban sunglasses Set its value as the name of the sidebar that you want to include. For example, if its cheap jordans online value is right, WordPress will automatically include sidebar-right.php as a sidebar.

If no custom sidebar field is found, WordPress automatically includes cheap China Jerseys wholesale jerseys the default sidebar.

<span style="color: cheap oakleys #ffff00″>*The same can be done with page.php.

This trick is quite simple. The first thing videu we did was look for a custom field named sidebar and get its value as a Fake Ray Bans variable. Then, the wholesale nfl jerseys variable cheap jerseys wholesale is Cheap Jerseys used as a parameter for Cheap Jordans the WordPress function get_sidebar(), which allows us to specify a particular file to use as a sidebar.

Jan 6

A denial of service (DoS) attack is an incident in which a user or organization is deprived of the services of a jordan retro 11 resource they would normally expect to have. In a distributed denial-of-service, large numbers of compromised systems (sometimes called a botnet) attack a single target.

Although a DoS attack does not usually result in the theft of information or other security loss, it can cost the target person or company a great deal of time and money. Typically, the loss of ray ban sunglasses service is the inability of a particular network service, such as e-mail, to be available or the temporary loss of all network connectivity and services. A denial of service attack can also destroy programming and files in affected computer systems. In some cases, DoS attacks have forced Web sites accessed by millions of people to temporarily cease operation.

<span Böyle style=”font-family: arial,helvetica,sans-serif”>Common forms of denial of service attacks are: Read More…