Joomla

Add the website name to the page title in Joomla!

Change Page Title in Website
Here are some instructions on changing the page title in Joomla! CMS to display both the actual page title and other stuff. As I like doing this for this particular website (my personal one) in every version of Joomla it's been upgraded to, I've noticed some differences that I've noted down below.

Specific Joomla Template Providers

Everytime I update this article, Joomla seems to come out with a new version. If you have installed Joomla 2.5, this is now a setting in the global configuration... The only problem is that your landing page becomes "HOME - SITENAME.COM" which is ridiculous and I'm sure Joomla will release a new version addressing this.

Basically the gist of http://docs.joomla.org/Security_Checkli … omla_Setup is as follows: 

Security Checklist 4 - Joomla Setup 
1. Install official versions of Joomla 
2. Change the default administrator username 
3. Protect directories and files 
4. Adjust file and directory permissions 
5. Remove unneeded files 
6. Turn Register Globals Emulation OFF 
7. Check for extension vulnerabilities 
8. Remove junk files 

Source: http://docs.joomla.org/Security_Checkli … omla_Setup

Hide Menu Item from Registered and Special

Refer to this link if you want to clean out a front-end admin interface with your website's style.  The following is from http://forum.joomla.org/viewtopic.php?f=32&t=252258&start=0 at this date/time.

Can't simply hide an item but can hide a menu (of course the menu could have been created with just one item with no title and positioned at the bottom of another menu; this would look like it was all part of one menu).

toubkal wrote:
This cannot be done by joomla administration but can be done by template code, you can have a module position in the template that is set to only show when the visitor is not logged in e.g. Code:

<?php if ( !$my->id ) {?> 
     <div id="topmod"><?php mosLoadModules ( 'top', -2 ); ?> </div>
<?php } ?>

 

Joomla extension disable menu link for registered users but not for public 

More Information: not so great, lot of text: 
http://help.joomla.org/content/view/476/146/


How to redirect the visitor after the contact page: 


Open Contact.php and go to line 473 - 475 and change the line:

$link = ‘index.php?option=com_contact&task=view&contact_id=’. $contact[0]->id .’&Itemid=’. $Itemid; 
mosRedirect( $link, _THANK_MESSAGE ) 

replace that code with the URL for the contact Thank-you page as defined as follows:

$link = sefRelToAbs( 'index.php?option=com_contact&task=view&contact_id='. $contact[0]->id .'&Itemid='. $Itemid );
mosRedirect( 'index.php?option=com_content&task=view&id=28&Itemid=102' );

 

Create thankyou page and menu item for ID, change this in the code to redirect to the item ID - remove menu item

 

You can probably find this information of the rocket theme forum but I thought I'd put how I resolved this here.

 The issue is basically that you want the background to stay in its position in the browser while the rest of the elements scroll about.

  1.  Go to Extensions -> Template Manager> Edit the CSS for the template
  2. You should be given an option of css files, select styles.css and click on the Edit button 
  3. Look for these lines:
             body.bgstyle1 #main-background {background: url(../images/backgrounds/bgstyle1/bgimage.jpg) 50% 0 no-repeat;}
        
  4. where 1 is the number of the style of the template I am setting the background for and I add the "fixed" attribute to this id.  This will yield the following:
    body.bgstyle1 #main-background {background: url(../images/backgrounds/bgstyle1/bgimage.jpg) 50% 0 no-repeat fixed;} 
        
  5.  Click on the 'Save' button.
  6. The theme is getting it from a generated php file.  Look in the CSS folder of the template.
  7. You should find a PHP file in this folder with the body.bgstyle# line you need to change as in steps 3 and 4.

This issue happened with a friend who was trying to upload extensions.  You should find that the configuration file is unwriteable (and that you can't change it using the joomla interface).

In the end to resolve this, he had to do a fresh install and double-checked the server settings for a subdomain. 


Image RokStories has been overhauled to provide the spectacular display that you see on this demo. The module adapts depending on your image size, so no need to manually create rounded corners on your images, RokStories will do the rest.

The custom features are also available in the standalone version.

RokStories Affinity is the July 2009 release from RocketTheme and features extensive third party support for powerful and popular community products, such as JomSocial, K2 and phpBB3.

The template's core feature is Sortable Elements, which allows for the movement of modular rows, individual positions and stacks of modules

Credit where Credit is Due:


Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.

Disclaimer: Please note that the information provided on this website is intended for informational purposes only and does not represent a warranty. The opinions expressed are those of the author only. We recommend testing any solutions in a development environment before implementing them in production. The articles are based on our good faith efforts and were current at the time of writing, reflecting our practical experience in a commercial setting.

Thank you for visiting and, as always, we hope this website was of some use to you!

Kind Regards,

Joel Lipman
www.joellipman.com