Support Forum
Thanks for the response.
You are indeed right on the permissions.
I can probably find it if you push me in the right direction where to find it.
I guess it is in one of the .php files of the theme but which one?
Thanks for your patience.
impossible to tell you which file... that is up to the theme author... try searching the theme directory and subdirectories for bootstrap.js...
if you post a directory list for this theme, we can probably help drill down...
Visit Cruise Talk Central and Mr Papa's World
yeah, but many choices there since they have many custom files (perfectly valid)...
i would start looking in base.php, loader.php and header.php... again. looking for something related to bootstrap.js
Visit Cruise Talk Central and Mr Papa's World
Thanks for continued patience.
Below is what I found and I just checked the major .php files but can go through each if necessary.
I also include the actual lines in each PHP file.
Base.php:
- Nothing
Loader.php:
/**
* Include Vafpress Framework
*/
//require_once 'vafpress/bootstrap.php';
Theme header.php:
'walker'=> new Bunch_Bootstrap_walker()
Theme functions.php:
//styles
wp_enqueue_style( 'dreamland_bootstrap', get_template_directory_uri() . '/css/bootstrap.css' );
and
wp_enqueue_script( 'dreamland_bootstrap', get_template_directory_uri().'/js/bootstrap.min.js', array(), false,
so yeah, the last one... except you didnt copy the whole line (likely ran to second line) try changing:
wp_enqueue_script( ‘dreamland_bootstrap’, get_template_directory_uri().’/js/bootstrap.min.js’, array(), false,
to
wp_enqueue_script( ‘dreamland_bootstrap’, get_template_directory_uri().’/js/bootstrap.min.js’, array('jquery', 'jquery-ui-core', 'jquery-ui-widget'), false,
and lets see what happens...
Visit Cruise Talk Central and Mr Papa's World
I have noticed that most action for this particular theme happens in the functions.php file.
Just to be sure, and I include the full lines below, you want me to change from
Current line:
//scripts
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'dreamland_bootstrap', get_template_directory_uri().'/js/bootstrap.min.js', array(), false, true );
to:
//scripts
wp_enqueue_script( ‘dreamland_bootstrap’, get_template_directory_uri().’/js/bootstrap.min.js’, array('jquery', 'jquery-ui-core', 'jquery-ui-widget'), false, true );
Is that correct?
Couldnt hold it so I went for it and it seems to work!
I will let you know if I run into problem after more testing the next few days but I would never have figured this out myself by far.
Excellent support and I hope that others can benefit from this thread.
Thanks again.
I will be back with more plugin purchases for sure.
good news! thanks for the update...
Visit Cruise Talk Central and Mr Papa's World
Well...spoke too soon I guess.
Just noticed that the top menu didnt work on mobile devices or if you shrink the screen to become menu that can be toggled.
Changed the code again and now the menu seem to work fine but puts me back to square one on the file uploader.
Any suggestions?
1 Guest(s)