When transferring the MySql database for Joomla 2.5 I am getting this message.
ERROR * at line * Duplicate entry '*' for key 'idx_link_old'
After a Google search I found this . Relating to doing this through Command Line Database Transfer
if you are using the command line just ad -f or --force to your import
However if you're not using command line I found that replacing my 'INSERT' commands for 'INSERT IGNORE' commands in the .sql file does the same thing.
Joomla Development Cornwall
Tuesday, 21 January 2014
Monday, 20 January 2014
Joomla Mijoshop - Swap customer email address for email links.
At first I was going to write my own Plugin for this but got into some problems with using event triggers of someone elses component ( Mijo shop ) .
Luckily I found the following Component; which after some thought on it's application I could manipulate into doing what I needed it to .
The component to install is ReReplacer
I did have a conundrum involving how I would only effect the Customer Email page that I wanted. As just using a Regular Expression to replace the emails was causing me issue in the Admin area; where I had emails in input areas.
The way I solved this was to amend the HTML output to add a 'span' wrapper with unique class.
To do this OPEN components/com_mijoshop/opencart/admin/view/template/sale/customer_list.tpl
AND on line 119 add
THEN go to your Joomla Administration.
> Admin > Components > 'NoNumber ReReplacer'
Then click on 'New'
Give the item a title like 'Email Swap'
ADD this in SEARCH
ADD this in REPLACE
And 'Use 'newline' modifier' and 'Thorough' set to NO
>>then click on the 'Search Areas' tab at the top.
Enable in area = Body (not head)
Enable in feeds = No
Enable in Admin = Yes.
And that should do it.
joomla development
Luckily I found the following Component; which after some thought on it's application I could manipulate into doing what I needed it to .
The component to install is ReReplacer
I did have a conundrum involving how I would only effect the Customer Email page that I wanted. As just using a Regular Expression to replace the emails was causing me issue in the Admin area; where I had emails in input areas.
The way I solved this was to amend the HTML output to add a 'span' wrapper with unique class.
To do this OPEN components/com_mijoshop/opencart/admin/view/template/sale/customer_list.tpl
AND on line 119 add
Around the Customer Email call up.
THEN go to your Joomla Administration.
> Admin > Components > 'NoNumber ReReplacer'
Then click on 'New'
Give the item a title like 'Email Swap'
ADD this in SEARCH
(?<=\)(.*\n?)(?=\<\/span\>)
ADD this in REPLACE
\1
And make sure 'Regular Expressions', 'Case Sensitive' and 'Published' are set to YES
And 'Use 'newline' modifier' and 'Thorough' set to NO
>>then click on the 'Search Areas' tab at the top.
Enable in area = Body (not head)
Enable in feeds = No
Enable in Admin = Yes.
And that should do it.
joomla development
Friday, 17 January 2014
Joomla Mijoshop Downloads not working - can't find the file at */index.php/*/account/download/download?order_download_id=*
Before I go on I should point out that I haven't got a resolution for the but reading this blog entry may help you with a similar issue.
The Issue: We have a website that sells MP3 Download Mix Albums; these albums come in at 330M
Testing showed that small files could be downloaded, but when the download goes over 120Mb I get this message
can't find the file at */index.php/*/account/download/download?order_download_id=*
I found this post http://forum.opencart.com/viewtopic.php?t=3310 on a similar issue regarding Opencart. The hosts however would not allow php.ini changes. So I put a fresh install of Joomla 3.2 and Mijoshop 2.2.4 on it. And even with these php.ini changes I cannot make the downloads
So for the meantime I have split the downloads into Parts; as Mijoshop does allow multi items in the download for each product.
If you know a full solution please let me know !!
The Issue: We have a website that sells MP3 Download Mix Albums; these albums come in at 330M
Testing showed that small files could be downloaded, but when the download goes over 120Mb I get this message
can't find the file at */index.php/*/account/download/download?order_download_id=*
I found this post http://forum.opencart.com/viewtopic.php?t=3310 on a similar issue regarding Opencart. The hosts however would not allow php.ini changes. So I put a fresh install of Joomla 3.2 and Mijoshop 2.2.4 on it. And even with these php.ini changes I cannot make the downloads
upload_max_filesize = 390M ; post_max_size = 400M ; memory_limit = 640M ;
So for the meantime I have split the downloads into Parts; as Mijoshop does allow multi items in the download for each product.
If you know a full solution please let me know !!
Wordpress Fashionista Theme - change Featured image size
OPEN
wp-content/themes/fashionista/formats/single-standard.php
ON Line 11 change the first value after
$img_width = (of_get_option('sidebar_layout') != 'none') ?
to the width you want.
AND save in your child theme in ;)
wp-content/themes/YOUR-CHILD-THEME-NAME/formats/single-standard.php
wp-content/themes/fashionista/formats/single-standard.php
ON Line 11 change the first value after
$img_width = (of_get_option('sidebar_layout') != 'none') ?
to the width you want.
AND save in your child theme in ;)
wp-content/themes/YOUR-CHILD-THEME-NAME/formats/single-standard.php
Wednesday, 15 January 2014
Joomla Ticketmaster RD Media - Where to change the Terms & Conditions
a Ticketmaster RD Media - Where to change the Terms & Conditions in Admin
Basically I don't know ! if you find out could you reply to this post and fill me in . Due to time restrictions and budget I've hard coded the Terms and Conditions in . Here's how in case it's helpful to you to.
OPEN
components/com_ticketmaster/views/payment/tmpl/default_bootstrap.php
Around line 279 FIND
And paste in your Terms and Conditions inbetween the Paragraph tags.
Joomla Development Cornwall
Basically I don't know ! if you find out could you reply to this post and fill me in . Due to time restrictions and budget I've hard coded the Terms and Conditions in . Here's how in case it's helpful to you to.
OPEN
components/com_ticketmaster/views/payment/tmpl/default_bootstrap.php
Around line 279 FIND
And paste in your Terms and Conditions inbetween the Paragraph tags.
Joomla Development Cornwall
Tuesday, 14 January 2014
Wordpress 3.8 cannot drag and drop menu items Admin Menu Editor
After upgrading to Wordpress 3.8 I found that I could no longer drag and drop menu items.
You need to turn off your plugins to find out which one is causing the issue. In my case it was 'Admin Menu Editor' .
You need to turn off your plugins to find out which one is causing the issue. In my case it was 'Admin Menu Editor' .
Joomla Ticketmaster - RD Media ticket design
I'm using the component > Joomla Ticketmaster by RD Media but am finding documentation on the automatic ticket design quite short.
Anyway I've found hardcoding the changes in a god send to making the tickets how I want them .
To do this the page to edit is.
administrator/components/com_ticketmaster/classes/override/createtickets.class.php
s
Anyway I've found hardcoding the changes in a god send to making the tickets how I want them .
To do this the page to edit is.
administrator/components/com_ticketmaster/classes/override/createtickets.class.php
s
Subscribe to:
Posts (Atom)