I am using Eclipse (Version: Helios Service Release 2 Build id: 20110301-1815) for a PHP project and would like to use the Bookmark feature. However, right-clicking in the margin shows the Add Bookmark item dimmed out. The Edit menu also shows it dimmed out. For that matter, Add Task is also dimmed out in both locations.
How do I turn on this feature?
Make sure you're in a project and that the file you want to place a bookmark in belongs to that project. Otherwise it won't work.
Related
I am using Joomla! 3.7.5 and template Helix3. I'd like to remove the Live Chat powered by zendesk. It is the blue help button. See picture.
When the buton is clicked, a live chat appear.
I've been looking everywhere in Joomla configuration, but seems cannot find the setting or page that I need to change. I look at the index.php in the template I used but still can't figure out what I have to change.
you will find it on one of those palces
Solution A: modules
if it's a module, you will find it here,
change its Status to disable
https://you-domain.com/administrator/index.php?option=com_modules&view=modules
Solution B: installer manage
if it's a component, you will find it here,
change its Status to disable
https://you-domain.com/administrator/index.php?option=com_installer&view=manage
Solution C: plugins
if it's a plugin, you will find it here,
change its Status to disable
https://you-domain.com/administrator/index.php?option=com_plugins
Solution Z: it's hardcoded to the template
locally search the while template Helix3 for the word zend
commit it or delete it.
notice that you can enable any of the modules/components/plugins if it's not the one needed
also, make sure to clear the cache
https://you-domain.com/administrator/index.php?option=com_config&view=application
I have site build in Magento 1.7
I have installed a new shipping module Bpost through magento connect. When I installed that, it raised the error that, it is already existing plugin. After that when I accessed the site, the maintenance flag was active.
When I removed the maintenance flag and checked the site, everything seems to be working fine in the front-end. But I am not able to add or edit contents from the back-end. Click is not detecting in the existing lists of contents and when I click on add new (for cms block, page etc) the new section appears, but no action is performed while clicking save.
Why is this happening ? How can I resolve this issue ?
I recreated the site with my backup files to a new location. After that removed all the existing plugins and installed all the plugins. At that time all seems to be working fine. After that I have edited the header.phtml file and added some additional script.
The script was for getting contents and displaying it using script. After that when I run the site and went to backend everything again went to non editable mode. Now I am not able to click or edit any cms contents in the site of static blocks, products etc.
Why is this happening ? How can I resolve this issue ?
In my opinion, the problem comes from a javascript with an error that blocks the rest of the javascript. All buttons use javascript to fire events. With firebug or something similar, check which error is raised in the admin javascript and try to fix it. Using the solution that Niraj Jani gave about disabling module is a good way to check if it is really the module that blocks the javascript. If the problem is linked with prototype, it can come from the definition of blocks in php, the design template or layout...
Have you tried after claering cache?
Take Look at below link and its answer,
In Magento after installing extension Admin panel in unable to load
Delete (or move to another folder) files in /var/www/var/cache
Delete (or move to another folder) files in /tmp
From a shell, run
/var/www/shell$ php indexer.php --reindexall
You've just manually cleared your caches and re indexed your data. See if your system comes back to life.
My Wordpress site has some strange adware. Sometimes it redirects to www.usgrants.org , and at one point there was some random text at the bottom of each page that looked like search engine keywords, but that text seemed to have disappeared for now.
So instead, I've decided to back up my blog, and just start fresh with my database, and just reinstall the plugins that I really need.
The question is, how can I do this without losing my content?
I am guessing it is just as easy as exporting my SQL database, deleting everything, reinstalling WP, and then importing it, but I'm not sure if that's the most efficient way.
I'm also looking into Duplicator, but I don't know if that would also migrate the problematic add-ons (I don't even know what the cause of it is).
I'd really love to keep my Thesis theme as well, but I'm not sure if my custom code is causing the problem.
I appreciate the help!
First and foremost if you are still able to get into the admin area of your site, I would install WordFence (http://wordpress.org/plugins/wordfence/), do a complete scan of your site, and make the recommended fixes. Additionally, if you can spring for it, I would get the premium version as it will scan all files on the server, not just in the wordpress install. (I think it's like $40 per year per domain & gets cheaper the more you add.) This option may rescue your current site without the need to start fresh.
That said, if you have malware in your site, it's very difficult to know for sure that it's fixed for good. Depending upon how it's written, it can lie dormant for a while and come back when you least expect it so starting over may be the best idea. Regardless, I would use WordFence to scan first before you start fresh since it will also scan your database to see if anything ended up in one of your tables there. The free version will do that too.
Then you can either export and save your database from MYSQL or you can also use the wordpress export / import tool to manage the transfer of your content. Its a pretty simple process.
To export your site data using the included WP Export tool.
1. Login to the backend admin
2. Navigate to tools
3. Click on 'Export'
4. Select the All Content option and then press the 'Download Export File' button.
5. This will download an XML file that you can import on your new instance of WP.
To import your site data using the WP Import tool.
1. Login to the backend admin
2. Navigate to tools and click import
3. Select 'WordPress' from the list
4. Install the importer
5. Click Activate and Run Plugin
6. Choose the XML file you exported and then select Upload File and Import.
Hope this helps!
I just started development with Aptana Studio 3 and Yiiframework. Since Aptana Studio 3 already supports code completion for PHP and Yiiframework does faciliate correct use of PHPDoc comments and return types, I assumed that calling
$app = Yii::app();
$app->...
should pop up content assist with methods and fields of the CApplication class. But I only see an empty popup window containing 'No proposal'. The same happens when accessing the application object directly using
Yii::app()-> // empty code assist window
When I declare the type of the $app variable explicitly, code assist pops up correct:
/**
* #var CApplication
*/
$app = Yii::app();
$app-> // code assist pops up with correct content
I don't have included yiilite.php - this file is stripped from my framework directory. Code assist works, but not as expected.
Is this a bug, or a missing feature? Can anybody else confirm this behaviour of Aptana Studio 3? Is there any workaround?
Thanks,
David
It is also important to explicitly set the 'Project Nature' to (include) PHP. Project->properties->Project Natures
Follow the steps given here and the code completion should work properly.
The other methods mentioned here will not work for YII code assist.
See if this helps:
Start with a PHP Project (Or for an existing project: Configure -> Add PHP support )
Add the YII framework to the build path like below.
PHP Include path -> Libraries -> Add External source folder -> Select the 'framework' folder from the YII framework unzipped
Also point #5 from Arek about adding the Eclipse PHP nature helped me too. Thanks
I don't know how exactly I did this, but:
Delete already existing project.
Install PDT plugin for
Aptana by "Help->Install New Software"
Restart Aptana Studio
Create again new project and check out in project properties You have new "Nature" called
"org.eclipse.php.core.PHPNature" as a primary.
Uncheck "PHP"
Nature, only "org.eclipse..." should be checked.
Only with this nature I see all classes, methods etc...
With orginial aptana's "PHP" Nature it was impossible.
"org.eclipse.php.core.PHPNature" is solution for this.
EDIT: PDT might not be required for Aptana since it has PHP support built-in
http://firas-vision.com/aptana-yii-2/
please check this solution worked for me , no new plugin , it is just a code fix for com.aptana.editor.php.jar plugin
I pulled a request to change on Aptana git , hope they will include this fix in the next release
http://www.yiiframework.com/forum/index.php/topic/45905-aptana-yii-support-autocomplete/ this seems to have helped with the solution.
unzip your yii source tarbal, import the framework directory as a project on your workspace
Navigate to Your project Explorer, and right click on the project you wish to support Yii's autocomplete on and select "Properties"
A project properties' dialog page will be displayed, on the right side of the dialog there is a tree select the child labelled "PHP Buildpath", on your right click on "Add" and add the "Framework Directory " as part of your build path
Apply Changes and Press OK to submit the changes. Now try to create a class that extends any of the Yii Core Classes it should autocomplete successfully.
Enjoy Yourself
I am trying out Aptana for general PHP development, i loaded an old CakePhp project to test the autocomplete and all i can get are the local functions and variable and absolutely none of the inherited ones, which kinda ruins the whole thing. Is there a setting i dont know about that fixes this?
apparently i needed to set up a "Nature" to PHP, the default was some eclipse.something version. Aptana reindexed the file and it works now.
The original poster was correct in adding PHP to the "Nature" of the project, however he did not provide how to do it. I also had the same problem and once I added PHP to the "Nature" selection list the autocomplete provided the options for inherited classess as well.
To add the PHP Nature:
Right click on your project in the Project Explorer View
Click on Properties
In the "Properties for project" window, select Project Natures in the left list box
In the Project Natures window, place a tick next to PHP
Click on OK button
that should get you the autocomplete list.
AJ
I haven't used aptana for PHP, but since it's based on Eclipse I assume the cake folder (in the same level as your app folder usually) needs to be added to your project path.
You can go into the properties of your project and either add it to the path or add it to the libraries.
I usually setup my project to point to the whole folder so I don't need need to do this step, but my Eclipse installation will pick up the inherited methods just fine.