Designers 

 

show_navigation

Outputs the website pages tree with the following format:

Usage (example):

<div id="navigation">
     <ul>
          <?php show_navigation(); ?>
     </ul>
</div>


 


 

show_meta_data

Outputs the meta variables title, meta_description, meta_keywords. Put these codes to the head section of your template page files.

Usage (example):

<head>
     <title><?php show_meta_data($id,"title") ?></title>
     <meta name="description" content="<?php show_meta_data($id,"meta_description") ?>" />
     <meta name="keywords" content="<?php show_meta_data($id,"meta_keywords") ?>" />
</head>


Variables:

page_id: the GET variable of the page (you don't have to determine this value for each page. This variable is get automatically with the "$id" code.
field: the name of the field. Can be eighter "title", "meta_description" or "meta_keywords"

 


 

show_area

Outputs the nodes added in the user panel into a specific area of a specific page with a specific page template.

Usage (example):

<body>
     <div>
          <?php show_area($id,"main") ?>
     </div>
     <div>
          <?php show_area($id,"sidebar") ?>
     </div>
</body>


 

Variables:

page_id: the GET variable of the page (you don't have to determine this value for each page. This variable is get automatically with the "$id" code.
area: The name of the area embeded into the page template. This value should be "unique" throughout the site.

 


 

show_general_setting

You can create unlimited settings in your admin panel and use them in your page templates. 

Usage (example):

<meta name="author" content="<?php show_general_setting("meta_author"); ?>" />
<meta name="copyright" content="<?php show_general_setting("meta_copyright"); ?>" />
<meta name="robots" content="<?php show_general_setting("meta_robots"); ?>" />
<meta name="revisit-after" content="<?php show_general_setting("meta_revisit-after"); ?>" />
<meta name="googlebot" content="<?php show_general_setting("meta_googlebot"); ?>" />
<meta name="distribution" content="<?php show_general_setting("meta_distribution"); ?>" />
<meta name="classification" content="<?php show_general_setting("meta_classification"); ?>" />
<meta name="rating" content="<?php show_general_setting("meta_rating"); ?>" />
<meta name="MSSmartTagsPreventParsing" content="true" />

<link rel="shortcut icon" href="<?php show_general_setting("favicon"); ?>" />
<link rel="image_src" href="<?php show_general_setting("meta_image"); ?>" />
 


 

As you can see above, the settings module can be used for almost anything from static meta data to shortcut icon or the website logo etc.

Ex: Usage of website logo: 

<div id="head"> 
       <div id="logo"><a href="?"><img src="<?php show_general_setting("logo_image"); ?>" border="0" alt="Goto Homepage" /></a></div>
</div>
 


  You can add, edit or delete any kind of settings in the "General Settings" page of the Admin Panel. However the following settings should not be deleted in order the system to work with no problem. If these files are deleted, some features of the site will not work:

  • big_listing_image_height
  • big_listing_image_width
  • gallery_image_height
  • gallery_image_width
  • thumbnail_size
  • cookie_name
 
| More

Designers API


Contact Details

Phone: +90 312 426 64 36
+90 312 241 96 65
+90 532 464 99 59 (mobile)
 
Email: info@yaziburo.com
bd@borademircan.com
 
Address: Tunali Hilmi Cd. 123/52
Kavaklıdere
ANKARA / TURKEY