Support Forum
Hi Simple press
Just installed the image & file uploader but it`s not working. I can activate the plugin, I can add a picture but it won`t upload!!! I checked all the file permissions etc. Also disabled all other plugins and checked permissions. Kind of lost here. When I hover over the "upload" button I get a "using: runtimehtml5" message.
Saw some posts on Jquery but I`m realy a newbie and not technical. Can you please help
If by 'wont upload' you mean literally nothing happens when you click on the button, then yes - you most probably have a JavaScript conflict - your wp theme or another plugin - which needs to be fixed. This codex article explains what this means and what to look for:
http://codex.simple-press.com/.....-conflict/
We can confirm that by just looking at the html source but would need a link.
YELLOW
SWORDFISH
|
http://www.gamedogshistory.com/forum
Thank you!
ps Using the Pagelines Pro edition theme. Again I have no knowledge in coding
As predicted your theme is loading jQuery from the google CDN and - just to make it worse - is loading what is now an old, out of date copy.
This is an easy edit to make once the location in the theme files has been found. It is almost certainly being loaded in the themes functions.php file where you will find some lines of code loading scripts. See if you can locatwe that block of code and paste it here and we can tell you what needs to be changed.
Is your forum page supposed to look like this by the way? It is unreadable at the moment...
YELLOW
SWORDFISH
|
Here is the content of my functions.php file ...
------------------------------------------------------------------------------------------------------------
<?php
// Setup -- Probably want to keep this stuff...
/**
* Hello and welcome to Base! First, lets load the PageLines core so we have access to the functions
*/
require_once( dirname(__FILE__) . '/setup.php' );
// For advanced customization tips & code see advanced file.
//--> require_once(STYLESHEETPATH . "/advanced.php");
// ====================================================
// = YOUR FUNCTIONS - Where you should add your code =
// ====================================================
// ABOUT HOOKS --------//
// Hooks are a way to easily add custom functions and content to PageLines. There are hooks placed strategically throughout the theme
// so that you insert code and content with ease.
// ABOUT FILTERS ----------//
// Filters allow data modification on-the-fly. Which means you can change something after it was read and compiled from the database,
// but before it is shown to your visitor. Or, you can modify something a visitor sent to your database, before it is actually written there.
// FILTERS EXAMPLE ---------//
// The following filter will add the font Ubuntu into the font array $thefoundry.
// This makes the font available to the framework and the user via the admin panel.
---------------------------------------------------------------------------------------------------------
Is this what you need?
Thanx
is that it? Disappointing if it is as that IS where it should be and no - it isn't.
So if not in there the chances are - I would hope - that there is another php file that is set up for parameters and script loading etc. You need to look for functions that start with wp_deregister_script(), wp_register_script() and wp_enqueue_script()...
YELLOW
SWORDFISH
|
ps I can also add scripts in the footer
Update: I saw that pagelines offers a customize plugin for the functions.php.. now this is the new functions php file they give you to edit. Do I need to add code in here?
---------------------------------------------------------------------------------------------------------------------------------------------------
<?php
/**
* PageLines Customize functions.php.
*
* @author Simon Prosser
*/
/*
// ---- ADDING NEW TEMPLATES ---- //
Want another page template for drag and drop? Easy
1. Add File called page.[page-id].php to this folder.
2. Add Template Name: Your Page Name to that file ( see page.base.php for an example. )
3. Thats it! We do the rest for you!
// ---- ADDING NEW SECTIONS ---- //
Adding new sections is really easy in 2.0
1. Copy your section.[sectionname].php file into the sections folder
2. It will be auto loaded for you.
3. You can now enable/disable the section in the extensions menu.
// FILTERS EXAMPLE ---------//
// The following filter will add the font Ubuntu into the font array $thefoundry.
// This makes the font available to the framework and the user via the admin panel.
*/
add_filter ( 'pagelines_foundry', 'my_google_font' );
function my_google_font( $thefoundry ) {
$myfont = array( 'Ubuntu' => array(
'name' => 'Ubuntu',
'family' => '"Ubuntu", arial, serif',
'web_safe' => true,
'google' => true,
'monospace' => false
)
);
return array_merge( $thefoundry, $myfont );
}
/*
// ====================================================
// = YOUR FUNCTIONS - Where you should add your code =
// ====================================================
*/
1 Guest(s)