Hey there,
For some reason i can't use the shortcodes;
I went with firebug over the shortcode pop-up window and it says "Missing argument 2 for add_action ...
You can see it in this picture:
http://tellingbeatzz.net/wp-content/uploads/2012/05/Bildschirmfoto-2012-05-06-um-01.43.53.png
I don't know anything about php so, i really need help with this one, besides that, i love the theme.
This is the dialog.php file, maybe it helps...
<?php
$paths = array(
"../../..",
"../../../..",
"../../../../..",
"../../../../../..",
"../../../../../../..",
"../../../../../../../..",
"../../../../../../../../..",
"../../../../../../../../../..",
"../../../../../../../../../../..",
"../../../../../../../../../../../..",
"../../../../../../../../../../../../.."
);
#include wordpress, make sure its available in one of the higher folders
foreach ($paths as $path)
{
if(@include_once($path.'/wp-load.php')) break;
}
$shortcode_css = AVIA_BASE_URL.'css/shortcodes.css';
if(!current_user_can('edit_posts')) { die(""); }
add_action('avia_shortcode_dialog');
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<div id="scn-dialog">
<div id="scn-options">
<h3>Customize the Shortcode</h3>
<table id="scn-options-table">
</table>
<div style="float: left">
<input type="button" id="scn-btn-cancel" class="button" name="cancel" value="Cancel" accesskey="C" />
</div>
<div style="float: right">
<input type="button" id="scn-btn-preview" class="button" name="preview" value="Preview" accesskey="P" />
<input type="button" id="scn-btn-insert" class="button-primary" name="insert" value="Insert" accesskey="I" />
</div>
</div>
<div id="scn-preview" style="float:left;">
<h3>Preview</h3>
<iframe id="scn-preview-iframe" frameborder="0" style="width:100%;height:250px" ></div>
</div>
<script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/column-control.js";?>"></script>
<script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/tab-control.js";?>"></script>
<div style="float: right"><input type="button" id="scn-btn-cancel"
class="button" name="cancel" value="Cancel" accesskey="C" /></div>
</div>
<script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/dialog.js";?>"></script>
</div>
</body>
</html>














