Webpage Help

Below are some great resources for Joomla 1.5, currently I am using 3.0 and a few things things have changed, but if you are still using 1.5 check below.



How to Recover the Admin Password
If you forget your main, admin password this is how to get into the site:


How to Edit Code on Your Site
Here is a great tutorial on how to add a Paypal button or any time you need to have access to the code. This idea is really helpful if you are adding video code. You can turn off the editor inside the article also.


How to Install or Change a Module
This is a great tutorial on the Module Manager. Be aware, while you are watching the video, you will probably want to add a "Custom Module". This allows you to put in text and photos into a module position.


Installing an Extension


How to Add an Article


How to Change Allowing User Registration
For my clients your set up already does not allow user registration, unless you specifically requested that feature. If you want to change that though, and have now decide you want to allow people to register for your website, just follow this tutorial and click the "Yes" button on Allow User Registration.



Frequently Asked Questions:

  • Whey I try to insert a Google map or calendar from the front-end, it disappears.
The answer is here . But try this part first: on the backend go to Content/Parameters/Filtering Options/ and in Filter Groups select "Registered" then check "Blacklist" then click save and try it again.
(Advanced explanation: when trying to insert an iframe, or saving a page with an iframe on it, in Joomla 1.5.8 to 1.5.14 the iframe disappears upon saving the page. This only happens during a front-end edit. Changing the filtering options will eliminate this problem.)

  • When trying to login on the front-end nothing happens. I just get returned to the main page.
Use ftp or joomlaXplorer (ninja Xplorer in 1.5) to go to your main folder for your website (top level) and click to edit the configuration.php file. Find the reference to your website.
If it says http://vac.golgota.hu change that to http://www.vac.golgota.hu.
That should solve the problem.

  • I want to add pictures using the Simple Image Gallery, how do i do that in 1.0?
On the backend go to Mambots/Site Mambots/Simple Image Gallery there you will find the instructions on how to do this.

"If you want to create a gallery from subfolders inside images/stories/, simple add them like this: {gallery}folder/subfolder/othersubfolder{/gallery}. In other words, write the path to your target folder without any slashes at the beginning or the end of your path (it's added automagically!)."

You create the folders and upload the pictures by using ftp or Media Manager or JoomlaXplorer.

  • I want to add some special code to our webpage and the joomla page keeps taking out or messing up the code.
There is an extension called html plugin that you can use to put code into a module area. You can't put it in the mainbody area (without the use of another extension). After you install it go to the module and click on it. Then paste in the code you want to use.

  • My site got hacked, now what?
If your Joomla 1.5 site got hacked check this link.
You will probably need to reupload your index.php file from a fresh install and ensure your file permissions are 644 and folder permissions are 755.

Here is a tool for diagnosing the damage and getting help on the forum.

How to upgrade your joomla install:
If you don't have cPanel or you feel more comfortable using an FTP client, then you can simply extract the Joomla 1.5 patch package to your computer and then upload the extracted files to your Joomla folder using your favorite FTP client.


VirtueMart Tips

These are notes from my first venture into shopping carts, and it was a steep learning curve for me back in 2006. Lots of new concepts.
Below are some tips, most of which were very hard to find online help for.


Tweaks:

In Admin Config
Global: turn off Enable the Cookie Check? until you are done working on the site.
...
Site: in "Select the theme for your Shop" click "Configuration" for more settings. (there you can set it so the customer can buy nothing from the product list (browse) page).
...
To be sure that the quantity shows 1 and not 0:
IN display options choose List: Display Child Description only.
...
To not show Featured items on front page of virtue mart, on the backend, in the component, go to the product, choose Product Status and uncheck (or check) "On Special".
...
All product images need to be the same size to look good, probably 110x110.
...
To change how many items show per row go to Admin Config Site and set there, but it also is set in individual categories.
Products / List Categories click on Category and scroll to bottom.
There you can also change how the page is layed out. There are many versions already to choose from, start with the name browse.
Those files are in components/com_virtuemart/themes/default/templates/browse,
browse3 and 5 are good, can tweak those files.
...
When displaying products with attributes (small, medium, large) you can do it two ways.
You can create a separate product for each item, that gives you stock control (Called "Items", and is for counting on your online inventory) or just define the attributes for each product. "Items" would make it very difficult for dabase imports.
http://virtuemart.net/documentation/User_Manual/Product_Attributes.html
...
To edit the template layout of Item pages you must edit flypage-ask.tpl.php in \components\com_virtuemart\themes\default\templates\product_details.
...
To hide "Recently Viewed Products" go to
\components\com_virtuemart\themes\default\templates\product_details\ and open flypage.tpl.php.
In that file you will find a variable named $recent_products which you need to hide.
That works but it still shows sometimes, so
inside: components/com_virtuemart/themes/default/templates/common/
edit recent.tpl.php and take out most of the info in that file.
...
To eliminate " «« Start « Prev 1 Next » End »» " on default Browse pages that have just 1 page of results, make a copy of, then edit this file:
components/com_virtuemart/themes/default/templates/browse/includes/browse_pagenav.tpl.php.
Find this line:
writePagesLinks( $search_string ); ?>
and replace with these lines:
limitstart+1 == 1) && ($pagenav->limitstart + $pagenav->limit >= $pagenav->total) )) {
	$pagenav->writePagesLinks( $search_string );
};
?>

But if you take out the entire code it will get rid of the nav completely.
...
If the product has any attributes you can't order it from the front browse page.
This was a design decsion by Virtuemart and would be very difficult to modify.
...
In product list area you can click by a product and then click "list prices" then New and add a discounted price for certain shoppers (gold card members for example) or a discount for purchasing more.
...
Add to cart image is here: components/com_virtuemart/themes/default/images/add-to-cart_blue.gif
...
Added back button code taken from one of the other files to flypage.tpl.php in just the right place.
...
Change color around box in Item order selection in theme.css (which is inside themes/default) in vmCartContainer and two other places (get code of current color, and do a search in that file for all entries).
...
When adding new articles to sell (ones that do not have Items), under "Display Options" choose List: Display Child Description, that way the order box looks nice and the quantity begins with 1.
...
To line products up nicely on the browse page, create a new div in your browse php.
Located here: components/com_virtuemart/themes/default/templates/browse/
that sets the height of the parts that need to be adjusted.
I used <div style="height:34px;"> for the title and price, because all the products on that page had no descriptions and all had the same size image. That gave a 3 row title+price on my heavily edited browse_3.php.
When you set this up for real you will need to make lots of dupes of the browse_ files for each section.
...


CREDIT CARD INFO:

When you buy SSL may need to wait for DNS to propogate.
...
Shared security at Siteground works:
https://siteground158.com/~sitegroundprofilename (the viewer has to do exception in webpage when you hit it though) you don't have to signup for anything, just use https at your dns computer name. (this is good for testing purposes only, you need to buy SSL).
...
You need an online Merchant account to accept credit cards. Using an offline processor for online purchases is risky and probably a violation of the terms.
...
To test: signup with https://www.sandbox.paypal.com then:
change the URL in the PayPal payment module. You can find this in the configuration tab, and at the bottom, under "Payment Extra Info" If you are testing with the PayPal Sandbox then you need to change the default URL (the real PayPal site) to the Sandbox URL:-

$url = "https://www.sandbox.paypal.com/cgi-bin/webscr";
From: https://www.paypal.com/cgi-bin/webscr.
AND leave the setting at top at: Use html-form based
AND enter the paypal email address you got at sandbox (that is referred to above)
...
Then test with the buyer account you set up at sandbox. You can go all the way through the process without having to login at Paypal (during the payment process) if you set it up right.
But you have to be logged in to the paypal sandbox account you set up.
...

EXPORTING AND IMPORTING DB FILES:

There is an addon component for handling csv imports and exports, it costs $30 per year. But this can be done also via phpmyadmin and a few tables. (this is for if you want to add lots of products at once, or edit a lot of products at once)
...
You will go to phpmyadmin, to the database and click on each table individually. Click on Export and choose MS Excell and choose with header row.
Insert a row between the header row and the ones below it (this way you can use both the header row as a guide, and the rows below.)
When you are done delete out all the other rows, including the header row and save as a csv file. (if one of the columns is text formatted numbers you need to be sure you format the cells that way, you will see the note in the excel doc if it is).
Open the csv in Notepad and be sure the header rows are gone and that there are no extra rows at the bottom.
Then import back into the table as a csv file.
...
If you do not create any "items" that is, product with children (attributes are okay) then here are the tables you need to edit:
#1. product_category xref - Puts each product_id into a category_id and then in product_list it puts the item in list order
#2. category - creates unique id for each category, name, description , thumbnail image, whether the category is published, cdate and mdate, the browsepage, products per row, flypage and list order
#3. product - where most of the info about products are stored
#4. product_price - where price is stored
....
In database table for product, correct child_options is N,N,N,N,N,N,,,
that will insure you have 1 selected in the order box.
...
To do database addition of products you would need to create all thumbnails and full sized images and put them in: components/com_virtuemart/shop_image/product/
then place the name of the image in the product table.
...
Can use http://www.unixtimestamp.com/index.php to create correct date for cdate and mdate database entries (but you can copy and old one if you don't care if the dates are exact).
...

SHIPPING:

Shipping Rates checks zip codes and countries mailing to. It will be based on the geographic location of your store.
You need different shipping rates for express shipping.
You need to edit the shipping rates that come with the program to make them up-to-date.
...
You can set up your own Shipper with your own rates.
You can set up shipping based on total price.
You can set up shipping based on books (but that would affect all products)
...
You can modify the shipping rates, and you need to add your handling charge to each rate as it will only choose one rate to ship with.
...
You can change the order of checkout so that shipping costs come up just after they log in. (in Admin/Configuration/Checkout).
It would be a good idea to put the shipping costs on a side custom module.
....
Adding in the shipping cost to the price of the product will only work if the shipping cost does not get less as the amount ordered goes up.



Joomla 1.0 tips


(below are my notes for Joomla 1.0 installs. These are notes for the Calvary Chapel churches in Hungary and Poland but these notes will work for anyone with a 1.0 install)

Here is my basic video tutorial showing you have to make changes to your website. It shows you:
How to edit the text on your website
How to add or change pictures
How to add your mp3 Bible studies
Part One and Part Two
or you can just watch parts of the above How to add links to your webpage
How to add or edit pictures on your webpage
How to add Bible Study mp3s to your webpage

To do the following things you need to log into the "backend" of your website. To do so, go to http://the complete name of your site/administrator and log in with the same user and password you use on the front-end. (example: http://pecs.golgota.hu/administrator)
How to add a page to your website
How to change the order of your new page on the menu
How to create a submenu item (a link that shows on the menu after you click one of the other menu links)


If you have problems viewing these files, right click on them and choose "save target as" and save them to your computer, then view them there. After the video starts to play, double click on the screen to view it full size.
There are more video tutorials at the bottom of this page


These are the excellent tutorials from the guys at www.calvaryweb.com:

Here you will find help on how to do most things you need to do

Read those tutorials, they are very good. Just find the tutorial on the above link for what you are trying to do, it should help you out.


Here is how to use your Datso Photo Gallery tool:

On the back end example: http://esztergom.golgota.hu/administrator :

Go to Components/Datso Gallery
and choose either Normal Upload or Batch Upload
Normal Upload - upload one picture a time (all go to the same place)
Batch Upload - if you zip a folder of pictures you can upload them all at the same time
(batch upload instructions: Browse to zipped folder of pictures, choose Category, have to make that first, then add title, description and author if wanted. Click Upload.)
Note: pictures should be 1024 or 800 wide, not bigger.
To zip a folder of pictures, right click in the window that contains the pictures you resized, then hit "New" and choose "Compressed Zipped Folder". Then drag all the pictures into that folder.


After pictures are uploaded go to Modules/Site Modules
(if you want to use the random thumbnail images shown on your page somewhere. If you do not want to use this feature skip the Module configuration)

Click on DatsoGallery Ultimate
and set position, page, number of pictures, etc. (Image Filter grays the picture and then clears it when you mouse over the picture)

Click on DatsoGallery Random Thumbnail
and set postion, page, number of pictures, etc.

These will not show up yet because first you have to go to:

Components/DatsoGallery and
hit Categories and create a category name,
you can make it a sub-category by choosing "Parent Category"
Leave that blank if you want it to be a main category.
Choose Save.

Then in Category Manager click on the red X for the category you just created under "Published"
and go back to
Components/Datso Gallery/Pictures and choose "Sort by Category" and pick the category you just created.

Then click "New".
Then down on the bottom, click on "List of Originals" and choose the first picture you want to add to this category.
Select the same image in "list of Mediums" and "list of thumbs".
Fill in Title, choose category, and type in Description if you want one, then hit Save
this returns you to the Images Manager.
Hit "new" again and repeat the process,
Be sure to click the red X under "published" in "Images Manager".

To add a link for a Photo Gallery using this tool go to the menu you want to add it to and click on Component to add DatsoGallery to the menu.

Settings are under Components/DatsoGallery/Configuration

Lightbox works, need to set Public download option to yes so people can get the full size image.

The Content-Elements-for-Joom!Fish.zip file has the instructions and tells you where to put the files in it to work with Joomfish.
It works very well too.


To set up the mail function go to global configuration and:
Mailer: PHP mail function
Mail From: admin@your_site.com
From Name: Your Name Here
Sendmail Path: shouldn't need to worry about this using the PHP mail function...
SMTP Auth: No
SMTP User: leave blank....
SMTP Pass: leave blank....
SMTP Host: leave blank....

That will usually work. But if not try:
Mailer: SMTP
Mail From: and make the ending domain the same as yours (for the golgota guys, it should be ending with @golgota.hu).

Author: Mike Pritchard

Wednesday, December 13, 2017

Website Stale?

Up to date content is important, if your site is out of date it will drive visitors away, Pritchard Webpages can help keep your content current. Call Mike today at (951)226-5109.