Problems with buttons after Wordpress update/ Plugin update - php

I don't have so much experience. I can't use anymore these 3 buttons (the problem appeared after plugins update / wordpress update)
Initially i could click those 3 buttons and open like the first button to the left and the image would change. None of these happens now.
Could someone help me fix this ?
edit:
www.daisytech.ro
sorry i forgot to mention the website
edit 2:
i have a backup on my computer , you can see how should work (i could use this back-up but i've translated the website and i would lose another part of work
IMAGE

The slider is using master-slider plugin.
The master.js file in the theme is using jQuery.tools.tabs, but jQuery.tools is undefined. $.tools returns an object so i guess the problem was the scope of $
The fix was wrapping the entire contents of the file in a
(function(jQuery){
// the contents of the file
})($);

Related

My Magnific popup is not working with quickphp

I'm totally new in website development and as my first experiment I'm working with website to replace my company's old site (if success).
Have done pritty much allready but I really want to have this popup image gallery to work with Magnific popup for the responsiveness.
I have setup a local server with QuickPhp for development as I don't have server for my website yet.
Eventhough my site is working when tested in CodePen but not on my Quickphp server.
I made sort of gallery site that contains images that is supposed to open to popup for larger view and to zoom closer if wanted. The popup itself will work but some of code doesn't work. In example:
-not showin close button.
-not closing popup when clicking background.
-no animation when popup opens.
this all works with the same code tested on the CodePen-site though.
Magnific popup JS and the CSS codes I copied from the Build tool(to the folder within the sites .php)
They are included to .php page with script. CSS in the head and the JS in the footer. JQuery is from google https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
For now I would need answears to theese Questions:
1. Is it possible that the problem is within the QuickPhp-server setup of mine? If It doesn't fully support jquery in local setup?
2. What else could be wrong?
If needed I can put the codes here later.
The problem was in the code allthough. I implemented the codes from the Maqnific website again and red the documentation over 5 times. I also noticed that the included stylesheet files needed to be linked from the website's root folder exactly as shown on the Macnific guide.
If anyone is having similar problem I suggest to keep on reading and searching. Taking a brake for day or two makes a differens in perspective too. Some time apart of the project helps to notice things that you might not have seen before. Especially checking the code for incorrections is a bitch.
Just yesterday I found a typo in my media query meta tag that was making my site not to change styling when viewport size changes. The typo was from 2 weeks ago. max-device-width was written as max-divice-width.

MediaWiki with BlueSpice is not showing content after sidebar adjustment

I did some adjustments to the sidebar for instance added a link to a specific page. I was looking for guidance on this and found BlueSpice manual. They say you have to edit the site MediaWiki:Sidebar. Afterwards the link appeared in the sidebar. All fine.
But i noticed that the shiny icons disappeared. So i did some research on how to add an icon next to the link. The BlueSpice manual came up with
* recentchanges-url|recentchanges|Icon-letzte_Aenderungen.png
So i did this. Unfortunately i did not upload an icon via Special:Upload as recommende but named an icon form the skin folder. Thought this would work as well.
But since then i am not able to see any content in the wiki any more.
How could this happen and how can i revert this?
Since i am not able to login (because the content section stays empty) i cannot do changes to the page MediaWiki:Sidebar anymore.
I created a page via commandline with sample Mediawiki:Sidebarand tried to overwrite changes via
php edit.php -s "Quick edit" -m oldSidebar < newSidebar
But this just creates another entry in MySQL and did no changes to the other one.
Maybe there is a way to upload the named icon somewhere? Or to revert changes? Or something else...
Thanks for help in advance!
You may delete the Mediawiki:Sidebar page to restore back to the BlueSpice default sidebar. From the command line:
php <wikipath>/maintenance/nukePage.php --delete "Mediawiki:Sidebar"

Joomla add/edit article and section screens blank

I'm using Joomla v1.5.26 and for whatever reason when I navigate to MYSITE.com/administrator/index.php?option=com_content&task=add or if I try to edit any already existing articles (or sections) I get a screen with an empty body tag.
The other pages in the administrator part seem to be working.
It seems to be the same (or very similar) problem as this: http://www.justanswer.com/computer-programming/32fo1-when-hit-new-button-article-manager-joomla.html but this is the only instance I could find of the problem, and it isn't resolved at the end of the article.
Thank you for your help.
My suggestion:
1- Try to disable the editor you are using (Set it to no editor on global settings or on the user you are trying to edit with)
2- Try to reupload components/com_content from Joomla 1.5.26 source to your website and overwrite the existing file. There might be something missing.

SMF displays raw HTML and PHP on browser

I am new to SMF.
I just installed SMF on my website. I tried editing the index.template.php . After saving changes, it displays raw HTML and PHP on the browser. I tried fixing the prob by returning the the page back to the original state to no avail.
At the moment, everything is gibberish both frontend and backend.
Pls what do i do?
There should be at least an open tag at the top of the file (at the top of every .php file). Make sure you didn't remove this tag. Everything outside of a <?php is interpreted as normal text so if you have removed this it would explain your issue.
Also, being an ex-team member for SMF I can assure you its better to create a copy of the default theme, then make your edits to that theme. Then if you experience an error you can always pass a param in the url to reset to the default theme (in case you need to get into the admin area). To do so end the url with index.php?theme=1

WordPress - PHP Code Box

I am very new to WordPress, so I would appreciate some help.
I am using WordPress as a CMS, and I am trying to make the thing work so that when I select a page to edit, there is a special box where I can input PHP code that will execute on my page.
I have found the PHP exec plugin, which works perfectly, but I would like to keep the code out of my main text editor, out of the way of my client's careless fingers.
Any suggestions would be very, very appreciated. Thanks!
You could create a template for each one, and include your PHP there.
Simply select the template from the page edit page.
But if you are only including a little PHP per page, you could get the slug via WordPress in your page template and act on it accordingly.
You can also add an extra meta box on the post editor page, only visible to you, with a textarea where you can add the code. You would save it as a meta field of the post. Your template can check for the existence of this field, and execute it if found.
PHP Exec is the best plugin I have found, and I looked long and hard for that one. The problem with doing it as you suggest is that if the PHP code displays an item on the page, it still has to be formatted within the page as well. It is a simple logistical problem, but somewhat of a complex coding problem. I haven't been able to get around to working on creating a better plugin for it.

Categories