Home Joomla
Sep 04
Saturday
Joomla
Fix for "invalid token error" with JomSocial & Affinity from RocketTheme PDF Print E-mail
Written by Chris Conrad   
Monday, 02 August 2010 14:59

RocketTheme template Affinity + JomSocial : invalid token error

If you are using RocketTheme Affinity template and Azrul Jomsocial 1.8, sometimes you get Invalid Token error due to some template overrides.

If you get invalid token error when you try to create a new album, discussion, bulletin, or album then here's an easy fix for you. You have to edit a few lines of code in the Affinity template. Specifically in the "html" directory.

To fix the invalid token error:

1. Open {YOUR_WWW_ROOT}/templates/rt_affinity_j15/html/com_community/groups.adddiscussion.php

2. Find this line:<input type="hidden" value="id; ?>" name="groupid" />

3. Insert the following line after it:

4. It should look like the following line of code:
<input type="hidden" value="id; ?>" name="groupid" />

<div class="readon-wrap1"><div class="readon1-l"></div><a class="readon-main"><span class="readon1-m"><span class="readon1-r"><input type="submit" class="button" value="" /></span></span></a></div><div class="clr"></div>

5. You will need to do the same with the "add album" and the news template overrides. Insert that line anywhere between the form tags and it will work!

6. You'll need to do the same in pretty much all overriden forms such as the following;

PATH=yourdomain/templates/rt_affinity_j15/html/com_community
groups.invitefriends.php
groups.addnews.php
groups.adddiscussion.php
Photos.newalbum.php

Adding the line of code fixes many issues, depending on which file you add it to.

 
How To Remove the default JOOMLA! 1.5 META Tag PDF Print E-mail
Written by Chris Conrad   
Thursday, 29 April 2010 16:58
For security and other reasons you should make it less obvious that your site is running Joomla. The META tag "generator" value is easy to modify or remove with one line of code, placed in one, or several files. Depending on where you put this code, you may have to re-enter it after a JOOMLA core update / upgrade.
Last Updated on Thursday, 06 May 2010 21:53
Read more... [How To Remove the default JOOMLA! 1.5 META Tag]
 
Virtuemart Not charging tax PDF Print E-mail
Written by Ron Bassett   
Monday, 16 November 2009 21:28

In the db _vm_tax_rate had to change my country from USA to US

In admin go to shopper group. Uncheck include tax with product price.

 

 
Securing Joomla!'s Administrator Logins PDF Print E-mail
Written by Ron Bassett   
Sunday, 08 November 2009 22:20

Many times you want to force https or SSL on Joomla! administrator logins so admin users passwords are always sent ecyrpted. This can be done by creating a .htaccess file in the /administrator/ directory and adding the code below.

RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://codersresource.com/administrator/$1 [R=301,NC]

Last Updated on Sunday, 08 November 2009 22:47
Read more... [Securing Joomla!'s Administrator Logins]
 
Page Peel Banner - Joomla Module Fix PDF Print E-mail
Written by Ron Bassett   
Monday, 24 August 2009 20:48

page-peel-banner-med

Some of you may have used the very cool Page Peel Banner for Joomla. http://extensions.joomla.org/extensions/ads-a-affiliates/corner-banners/3209 . The only problem I ran into was using it with SEF enabled. This made the module only display on the first page.  It came down to needing some links to files changed in the default.php file. The modified version can be downloaded here (default.php) Just download, unzip, and upload to >/modules/mod_pagepeel_banner_J15/tmpl/

Last Updated on Thursday, 27 August 2009 22:46
Read more... [Page Peel Banner - Joomla Module Fix]
 


Home Joomla