Monthly Archives: MARCH 2011


How to insert the calendar box (from my calendar) in another page


Insert calendar box using Inline Frame (use this method when adding calendar in template editable area)

  • add inline frame widget
  • define url for inline frame :  http:/mywebsite.com/folder/calendar_page.php?action=showcal  (replace this with real url of your calendar)
  • set height of inline frame to +- 300 and width to +- 180
 

 

 

 

OR

 

Insert calendar box using Insert HTML (use this method, when adding calendar on single page)

  • Go to the page where you want to insert the calendar box
  • Select Insert HTML
  • Paste the following code:

< script src="../folder/calendar_page.php?action=showcaljs" type="text/javascript">< /script>

 

Example: < script src="../documents/calendar.php?action=showcaljs" type="text/javascript">< /script>

    • Open Page Settings panel for this page and go to Scripts/Page Background tab
    • Paste the following code:

 

      < link type="text/css" href="../ezg_calendar/XX_cal_textstyles.css" rel="STYLESHEET" title="Calendar">


Where XX is ID of your calendar page.

If page is in root, remove '../'.

 

You can find the page ID number by clicking on your page in EZG and looking right above the page settings tab (top left side) (in EZG4 it's on the bottom left hand side), where is says something like WEB Calendar [documents/calendar.php] [XX] --> that number is your page ID

 

!!! Make sure to remove the space between < and script/link


Print  posted by miro   Calendar tags:  Calendar • embed   permalink
3.3 3

Parameters For Advanced Search (Mysql only)


search query string parameters (required)

 

q     basic query (search for exact word)

qw   all words (search for all words)

qx   exact words(same as q, but used on advanced search form)

qa   any words (search for any of the words)

 

search type parameter (t) (optional)

 

t=a  search whole website (same if t is not specified)

t=m search in all pages in single template menu (menu category)

       when t=m is used, m=menuname  parameter is required (notice: m parameter is case sensitive)

 

t=p  search in single page

       for special pages with category support (blog/podcast/photoblog/shop/lister) you can specify

       optional c=  parameter (category name)  or  cid  (category id)  (notice: c parameter is case sensitive)

 

 

search period parameter (p) (optional)

 

p=0  any time

p=1  last 24h

p=2  last week

p=3  last year

 

notice: p parameter can only be used together with (t) parameter

 

 

(notice: you can replace spaces with + in q,m,c parameters) 

 

example:

documents/search.php?q=ezgenerator&id=142&c=General&t=p 

will search in page with id 142 in category general for string ezgenerator

 

 


Print  posted by miro   Site Search tags:  Search • parameters   permalink
3 3

TinyMCE editor (Innova editor alternative)


TinyMCE is external editor from MoxieCode and is fully supported by all ezgenerator online pages.

It can replace include Innova Editor included inside EZGenerator.

 

To Install TinyMCE in ezgenerator follw this steps.

1. download latest version of tinyMCE from here  select "Main Package" (not jquery or development packages) and save it your pc

2. inside EZGenerator, go to project settings, advanced, select in "Online HTML Editor" TinyMCE and navigate to location where you saved package (1)

3. if you want to use additional languages (only english is include inmain package), go here and select languages you need in your project, then download and save package on your pc

4. use button 'install additional languages to install languages installed in (3)

5. you can now select languages same way as you do for innova editor (language bar --> editor language)

6. do Full Build to apply changes to all scripts in project

 

'


Print  posted by miro   Administration tags:    permalink
4.3 3


[home] 1-3 of 3


CATEGORIES



TAGS


RECENT ENTRIES