Monthly Archives: JANUARY 2012

Monday, January 23, 2012

Add custom code (html or php)not compatible with EZG pages structure

To add custom page content, that's not compatible with the current EZG structure (no possible to add the content directly into the pages), try to use this:


  1. Set up the extra page you want with the content you want added into it.
    If you want to manage the page via EZG (and make it part of the project anyway), you can try this:
    • make new page in EZG (wherever you prefer).
    • in page settings check the hide template checkbox (to be able to check it, you have to check hidden in menu first).
    • add macro NOPAGEFOOTER on the page
    • suppress float login (if active)
    • add the required content (you may also use the HTML button in Editing tools for it).

    If you want to make your own page - use external FTP (or some of the ignored from optimization folders in EZG) and upload the desired file on the server. For this option you will have to make full html structure (html, head, body, ect tags), because of the iFrame and no EZG template included to build the page structure.

  2. Once you have the page prepared, make the other page (or open already existing one) that will hold the extra page.
  3. Use the Inline frame option from Widgets and for source add the url of the page, created in 1. (you can use relative paths too in this field).
  4. Set up the rest of the fields (ensure you have unique element id and appropriate name) and settings (the settings button) in the Inline frame dialog.
  5. Confirm and upload

posted by atanas  23.01.12 03:52 PM  tags: • customize • code 


4 2

Tuesday, January 17, 2012

Change the maximum upload size of files (upload_max_filesize)

To change the upload size of your files (if the limit you have is too small), you can try one of these methods:

(The default size is most probably 2MB, in all examples we're going to change it to 5MB)

  1. Using the file php.ini
    Keep in mind, that this is the recommended option, but some hosts don't give you access to do this.
    Open the file, find and change the values of these two lines:
    • upload_max_filesize = 5M
    • post_max_size = 5M

    The lines may be commented with semi-column (;) and you will have to remove the comment.

  2. Using the .htaccess file.
    Add the following lines in the .htaccess file in your EZG root directory (online):
    • php_value upload_max_filesize 5M
    • php_value post_max_size 5M

    If there is no such file, you will have to create one (just make file with this name and add the code inside).

  3. (If none of the above works) Contact your administrator to change the size for you.

Note: The value of the size is one char only everywhere. It's 10M, not 10Mb or 10MB!

Note 2: The php.ini changes may require server (actually apache service) restart. Try to restart it somehow (or contact administrators for this) if after the change it still doesn't work.

Note 3: Additional changes you may wanna do together with the upload size, is the upload time. It could be changed by these two parameters:

[php_value] max_execution_time 200
[php_value] max_input_time 200

(The [php_value] part is for the .htaccess file only! And is used without the brackets)

posted by atanas  17.01.12 10:30 AM  tags: • upload • php 


0 0

Saturday, January 14, 2012

PayPal Order Processing Problems

Order Pending Reason parameters :



You do not have a balance in the currency sent, and you do not have your Payment Receiving Preferences set to automatically convert and accept this payment. You must manually accept or deny this payment.



You set the payment action to Order and have not yet captured funds.



The payment is pending while it is being reviewed by PayPal for risk.



The payment is pending because it was made to an email address that is not yet registered or confirmed.



The payment is pending because it was made via credit card and you must upgrade your account to Business or Premier status in order to receive the funds.upgrade can also mean that you have reached the monthly limit for transactions on your account.



The payment is pending because you are not yet verified. You must verify your account before you can accept this payment.



The payment is pending for a reason other than those listed above. For more information, contact PayPal Customer Service.



posted by miro  14.01.12 11:06 PM  tags: • paypal • errors 


0 0

Monday, January 9, 2012

Blog (MySQL version) Related posts

New sidebar macro : % BLOG_RELATED%  is available since version

A little explanation how this macros works:

Relation between posts is defined with post keywords (you can add comma separated keywords for each post in blog)

This macro collect all keywords defined for all posts currently displayed on page and search database for all other (not displayed) posts with same keywords = related posts



posted by miro  09.01.12 09:56 PM  tags: • blog • macros 


2.5 2

Monday, January 9, 2012

Submenus (3rd Level) custom position

Inside ezgenerator you can select position of submenu's on page (left, right, top, bottom and inside menu's)

first 4 option will place submenu's as left/right/top/bottom panel inside page area for example :



if you need to place menus on custom position within page, you can use %SUBMENUS% macro, as here:


with this result :






posted by miro  09.01.12 01:47 PM  tags: • submenus • customize • position 


0 0



Slideshow macro

-Tuesday, December 9, 2014

IF macro

-Friday, November 7, 2014

Form widget, Adding HTML/ Script in reply

-Wednesday, September 10, 2014

How to use "Exchange rate" in shop pages

-Wednesday, August 6, 2014

Create forum-like blog

-Friday, July 18, 2014