Learn html,php,javascript,computer and software fixes, css fixes, website designing,phpbb, computer troubleshooting, hosting




Archive for the ‘PHP SCRIPT INSTALLATION AND CUSTOMISATION’ Category

Joomla 1.5 templates – 1.6,1.7 templates Installation Problem

Saturday, November 26th, 2011

We find that most people usually like to stick to the stable platform of joomla version  they are using as upgrading to a new version  usually pose serious problems or you would like to use your 1.5 version template on the new upgraded version of 1.6 or 1.7,  for the brave ones  here is a little tip. Mostly please pay attention to the difference in  headers in your templateDetails.xml.

Firstly you may wish to visit these links to learn how to adapt your 1.5 version template to 1.6,1.7 versions. Visit Joomla Documentation and then here also. These would help you with ideas on what to do , there are not much documentations available for 1.6, 1.7 templates as at the time of this writing and the 1.5 versions of joomla would not be supported anymore in some months time.

One of the major problems is not  being able to find the 1.5 converted template when it has been installed on a 1.7 Joomla version.  It appears automatically on 1.5 version but not the same in 1.7 version. if you experience these problems please visit your admin and then follow Extensions manager > click on Discover > then  Discover on top close to purge cache.  If you have done everything right, your template should appear .

Have fun.

REMOVING INFOBOX ROUNDED IMAGES IN OSCOMMERCE

Wednesday, April 20th, 2011

Let us call your attention once again to an issue with Oscommerce, especially those using the old versions. I had a client recently having problems with removing the rounded corner images on his shop based on Oscommerce.

I actually found this a bit challenging since i hadn’t used it for a while but lets get down to details.;

To remove the rounded images on the infoboxes  please find the file in your includes/classes/boxes.php and do the modifications there. One of the major problems is finding where the named images are embedded in the codes , you would find it in the above file. All you have to do is comment out the statement or remove the image link itself inside the quotes and leave the quotes there .

Example =

if ($left_corner == true) {
// $left_corner = tep_image(DIR_WS_IMAGES . ‘infobox/corner_left.gif’);
} else {
// $left_corner = tep_image(DIR_WS_IMAGES . ‘infobox/corner_right_left.gif’);
}

You can see from the above that it has been commented out.

Also find this line in the same file

$info_box_contents[] = array(array(‘params’ => ‘height=”14″‘,
‘text’ => tep_image(DIR_WS_IMAGES . ‘I removed the image here ‘)),
array(‘params’ => ‘height=”14″ width=”100%”‘,
‘text’ => $contents[0]['text']),
array(‘params’ => ‘height=”14″‘,
‘text’ => tep_image(DIR_WS_IMAGES . ‘I removed the image here‘)));

Please see the highlighted.

One other thing is that after you have done this, you will see the number “1″ appearing in the info boxes, please  remove this by visiting includes/boxes/categories.php and  edit this line by changing all to “false”

$info_box_contents = array();
$info_box_contents[] = array(‘text’ => BOX_HEADING_CATEGORIES);

new infoBoxHeading($info_box_contents, false, false);

Also visit includes/boxes/shopping_cart.php edit this line and make it false.

new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SHOPPING_CART));

Please see highlighted.

Hope this helps, you may visit this page here for more info

A CASE FOR WORDPRESS ECOMMERCE SOLUTION

Friday, November 19th, 2010

Recently i had an arguement with a friend concerning the best open source  ecommerce softwares  to use , at the end of the day we agreed that they all serve different purposes but he actually made a case for wordpress ecommerce solution which i have never really been convinced about. After reading his wonderful article, i decided to publish it here as he has made a strong case for wordpress.

“Building Successful Store is very difficult Process But with wordpress its become easy. Recently the wordpress market folded with Free and premium E-commerce plugins and templates with quality function and easy management.  Today I will write about some of quality Plugins and wordpress that’s can help you to start up your online store not only this but also some premium service provided by E-commerce experts Like Shopfiy and Others.”

You can read from his personal  blog here .

Problem loading scripts in Drupal custom template

Monday, September 20th, 2010

Hello all,

It’s me again, i just want to quickly call your attention to issue in drupal custom template where the new custom templates does not load javascripts. One little mistake to make when creating a new drupal custom template is to forget some little codes that call things up on your template. i would advice most people to look at the structure and codes in the original default templates that ships with drupal and take examples from there.

Recently i worked on a new template and found that when i installed a code editor module to my client’s site , it refused to load but after some few research i found that i forgot to include <?php print $scripts ?>" in the head section of the template, once this was done, i was able to view it, now there may be some complex problems that would arise with this even if the code is visible in the header, please refer to this thread in the drupal forum and see if it will solve your problem.


SETTING UP THE LOGIN PAGE AS A MENU LINK IN JOOMLA

Sunday, June 13th, 2010

Hello all, i just can’t explain why i am  so lazy to blog these days, there are so many things to blog about but let’s get down to business right away.

I know many people who run their sites on joomla would like to have a separate login page set up as a menu link as opposed to the normal login form appearing as a module, especially when you are using virtuemart. Well to do this is very simple.

Just login into your joomla admin > click on menu manager and try to set up a menu under the menu section you want > then afterwards choose type to link the menu to a type > choose “user” in the list and then choose “default login layout”  > Just publish your menu and you should be done by now.

Normally this works with virtuemart because by default, virtuemart is linked to joomla user database if you opted to make it the same.

FIXING ROUNDING UP PRICES PROBLEM IN OSCOMMERCE DEFAULT CURRENCY

Wednesday, May 26th, 2010

Hello All,

There is no  other excuse for not blogging daily these days other than laziness. I have loads of useful articles to publish but i am sure i would pick up in the coming days.

Now lets get down to business;

Problem: After installing Oscommerce and selecting your default currency, you might find that the prices are rounded up to the nearest highest figure.

ie. if you set item price to £2.99, it rounds up to £3.00. Now, we do not want our customers to see our items as being too expensive.

Solution: Go to your admin > then go to Localization > then click on the default currency > click on edit > set the parameter “Decimal Places : 2″, make sure it is set to 2 decimal places. You can use this to adjust the other currencies also.

Please note that this applies to Oscommerce2 and may be different in Oscommerce3.

Hope this helps out!

REMOVING BOONEX DOLPHIN NEWS FEED FROM HOME PAGE

Monday, May 10th, 2010

Actually i just got back into dolphin community script again after abandoning it for a while, the latest version is dolphin 7 as at the time of this post. Though i am really impressed with all that has been done on the new version but there are still some bugs here and there that needs addressing but all the same it should serve it’s purpose to the full if you know how to work your way around it. One of the reasons i have decided to write more on Dolphin is due to information availability problem associated with it when compared to other community softwares.

For just a quick one, i know it might seem stupid but a lot of people who successfully install dolphin usually wonder how to manipulate the front page and especially to remove the news feed placed in the frontpage after installation.

Solution: After installation , simply log into your admin, then > click on  ”Builders” in the left hand menu > When it loads, click “Page Blocks” >  then select “home Page” > Once it opens , you would see active and inactive Blocks> Just drag “Boonex News” down to the inactive block and you are done. You can also use this system to modify your home page.

NEW TEMPLATE SHOWING RESTRICTED ACCESS IN JOOMLA

Sunday, April 11th, 2010

When a new template had been uploaded to joomla admin and set as a default, when you try to view the new template, it produces a blank page with “Restricted Access” written on it.  I know this can be a pain as you would be  lost on what the issue and the solution is.

Cause of Problem: This means that you were using a template built for the older version of joomla.

Solution: In this case you would have to log into your joomla admin panel, Go to Extensions on the top menu > Go to Plugin Manager > and then when the list of plugins open up. Look for this plugin “SYSTEM-LEGACY”. Just enable this plugin and then refresh your front page. i think you should be okay then.

Hope this helps!