Monthly Archives: JANUARY 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

Print  posted by atanas   MySql/Php tags:  customize • code   permalink
2.6 7

Blog (MySQL version) Related posts


New sidebar macro : % BLOG_RELATED%  is available since version 4.0.0.119..

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

 

 


Print  posted by miro   Blogs/Rss tags:  blog • macros   permalink
2.5 2

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)


Print  posted by atanas   MySql/Php tags:  upload • php   permalink
0 0

PayPal Order Processing Problems


Order Pending Reason parameters :

 

multi-currency:

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.

 

order:

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

 

paymentreview:

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

 

unilateral:

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

 

upgrade:

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.

 

verify:

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

 

other:

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

 

source


Print  posted by miro   Shop/lister tags:  paypal • errors   permalink
0 0

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 :

 

 

 

 

 


Print  posted by miro   Templates tags:  submenus • customize • position   permalink
0 0


[home] 1-5 of 5


CATEGORIES



TAGS


RECENT ENTRIES