How to Enable "joomla extension and apply to modules" - joomla2.5

I installed this extension : http://extensions.joomla.org/extensions/news-display/articles-display/news-tickers-a-scrollers/6677
I installed this extension using : Extension Manager > Upload package file. It's installed successfully.
In Plug-in manager, I enabled It.
Than In Module manager, I created "Moving text" module and in "Custom output" , I entered the code :
{text =scrollig text }
But it's not working here you can visit this link and see in footer http://naadiastrology.info/
Why it's not working or how to use this extension.
please help me to find solution.

Add this tag in html mode of your joomla editor like:
It works for me.
Then,if yet the text is not moving, you have to check the properties of your text editor plugin so as to accept this kind of tags
{...}. It seems that editor filters that tag and plugin cannot render the result!

Related

Zurb foundation 6 , what-input.min.js file functionality

Id like to know the relevance of what-input.min.js include in Zurbs foundation-6 framework , in the js/vendor directory , this is because i keep getting an 404 not found error not loading while running the site , ... js/vendor/jquery.min.map file , is there any connection ?
You don't need the .map file which is used to map a minified file back to the original. It is available for download from jquery's site. Source maps are can be ignored in inspector settings which makes sense when you don't plan on debugging minified javascript files
It is unrelated to the source map file 404 but what-input.min.js is a JS library "to watch for mouse, keyboard and touch events"
They have a github page with more documentation: https://github.com/ten1seven/what-input
and a demo:
https://ten1seven.github.io/what-input/
"Tab, click or tap the links and form controls to see how What Input allows them to be styled differently"
I had this exact same problem on every site when using JointsWP with Foundation 6 framework. I finally just figured it out. I turned off css source mapping and still received the error. It turns out that it wasn't lying to me and the js file really does not exist where it is trying to load it from:
/vendor/what-input/what-input.min.js
But it is under the dist folder within that same directory. So if you find your enqueue-scripts.php file where the what-input.min.js is loaded, you can fix the directory path to:
/vendor/what-input/dist/what-input.min.js
And no more 404!

How to apply syntax file for vim?

I've read vim manual pages and also bunch of tutorials and managed to set up my C++ environment in vim, but to apply a syntax file is probably a science fiction.
I downloaded a 'cpp.vim' which is a syntax file, now how do I apply that file so my code start shining??
I tried to place a file into following directories:
~/.vim/after/syntax/
~/.vim/syntax
/usr/share/vim/vim73/syntax
(but under different name, so not replacing old file)
none of that work, and anyway if I place a file into $VIMRUNTIME/syntax under some crazy name, then how do i apply it into vim?
Here is my .vimrc setting:
"
" vim settings
"
set t_Co=256
set nocompatible
set laststatus=2
"set ruler
"set ballooneval
"set balloondelay=400
"set balloonexpr=""
filetype off
"
" vundle settings and plugins
"
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"Vundle Plugin manager
Plugin 'gmarik/Vundle.vim' "vundle plugin manager
"Core plugins
Plugin 'ervandew/supertab' "completition with tab
Plugin 'scrooloose/syntastic' "error checking
Plugin 'vim-scripts/OmniCppComplete' "auto complete
"Plugin 'octol/vim-cpp-enhanced-highlight' "syntax highlighting
Plugin 'vim-scripts/Cpp11-Syntax-Support'
Plugin 'bling/vim-airline' "statusline and tabline
"Sipet plugins
Plugin 'MarcWeber/vim-addon-mw-utils' "required by snipmate
Plugin 'tomtom/tlib_vim' "required by snipmate
Plugin 'garbas/vim-snipmate' "insert snipets
Plugin 'honza/vim-snippets' "optional snipets
Plugin 'vim-scripts/a.vim' "Switching between source and header file
Plugin 'chazy/cscope_maps' "Allows searching code
Plugin 'vim-scripts/argtextobj.vim' "Text-object like motion for arguments
Plugin 'wincent/Command-T' "Fast file navigation
Plugin 'vim-scripts/taglist.vim' "Source code browser (requires exuberant-ctags > apt-get install)
Plugin 'ddollar/nerdcommenter' "wrangle your code comments, regardless of filetype
Plugin 'scrooloose/nerdtree' "explore your filesystem and to open files and directories
Plugin 'tpope/vim-unimpaired' "provides a lot of useful mappings
Plugin 'majutsushi/tagbar' "browsing the tags of source code files
Plugin 'chrisbra/NrrwRgn' "focussing on a region and making the rest inaccessible
Plugin 'vim-scripts/ZoomWin' "zoom into a window and out again
Plugin 'terryma/vim-multiple-cursors'
Plugin 'jeetsukumaran/vim-buffergator' "listing,navigating, and selecting buffers for edit
Plugin 'bronson/vim-trailing-whitespace' "causes all trailing whitespace to be highlighted in red
Plugin 'mileszs/ack.vim' "uses ack to search inside the current directory for a pattern
Plugin 'myusuf3/numbers.vim' "intelligently toggling line numbers
Plugin 'Lokaltog/vim-easymotion' "provides a much simpler way to use some motions in vim
call vundle#end()
filetype plugin indent on
"
" ariline options
"
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#left_sep = ' '
let g:airline#extensions#tabline#left_alt_sep = '|'
"
" syntastic settings
"
let g:syntastic_enable_signs = 1
let g:syntastic_cpp_checkers = ['gcc']
let g:syntastic_auto_jump = 1
let g:syntastic_enable_balloons = 1
let g:syntastic_cpp_compiler = 'g++'
let g:syntastic_cpp_compiler_options = '-std=c++11'
let g:syntastic_cpp_check_header = 1
let g:syntastic_cpp_auto_refresh_includes = 1
let g:syntastic_always_populate_loc_list = 1
syntax on
colorscheme slate
... etc
other options are plugins and plugin settings..
The Question is simple, how do I apply a syntax file ??
All you need to do is make sure the filetype is loaded properly. So if the syntax file is called cpp.vim make sure set ft? returns cpp. You should place it in $HOME/.vim/syntax. It should get loaded automatically. Assuming filetype on and syntax on is set.
The only way to make sure the syntax file isn't loaded properly is to use :scriptnames. Make sure the file isn't listed if it is your problem is something different then what you have described.
Ok, I managed to get things work :)
I downloaded two syntax files, one of which does do the job by highlighting the code and other which for some unknown reason does not.
The fact that I have Vundle installed as a plugin manager there was no need to place a syntax file anywhere because that part handles Vundle it self...
All I had to do is is to remove the syntax file that does not work. and also make several tests to see the difference between default syntax highlighting and custom with file.
to enable syntax highlighting only one option is needed placed anywhere in the .vimrc file:
syntax on
or
syntax enable
difference between these two is that 'on' switch does search for first cpp file it find inside $VIMRUNTIME directory while enable switch searches in .vim directory too.
more info about that here
To make syntax highlighting more 'nice' I also downloaded color schemes which makes code much more readable.
And if you just want to know how to apply that piece of file here is how:
Download it with Vundle and place this at the end of your .vimrc file:
colorscheme molokai
Where molokai is the name of colorscheme downloaded with Vundle :D
YES!!!
thanks you FDinoff for trying to help! you were right about :scriptnames which actually helped me to figure out that my file isn't loaded ;)

Android Action bar

I am trying to demo the Android Action Bar and have created an app to try it with. I have installed and linked the library to the project ( I think properly ), and have to the best of my knowledge set it up correctly. The problem though, is that the MainActivity fails to load any of the main resource files.
MainActivity layout:
Create field 'activity_main' in type 'layout'
Menu xml file:
Create field 'menu' in type 'R'
The theme in the Manifest:
No resource found that matches the given name ( at 'theme' with a value
'#style/Theme_appCompat_Light_DarkActionBar')
The main layout and the menu xml both exist, but I admit i don't know where the theme file is to confirm that it exists, though I don't think that is the issue.
I have taken a screenshot that shows the configuration of my projects
The test application and the appcompat folders exist in the same place in the file system, and the build path and library entries all look correct. I can attach screens of those configurations as well if need be.
I feel that this is some kind of configuration error, but i am very new to android development and don't have enough information about the project structure to see where I need to make a change.
Any help would be greatly appreciated.
There seems to be an error in your AndroidManifest.xml. Eclipse won't generate the R ( references file) file until there are no errors in your xml files.
You'll also need the android-support-v13.jar library as that would have some themes in there as well.
If that doesn't work for the theme in the Manifest, you'll need an appropriate themes.xml in your values folder that has the theme name you're looking for. Here's an example:
<!--
the theme applied to the application or activity
-->
<style name="CustomLightTheme" parent="#android:style/Theme.Holo.Light">
</style>

How to edit footer generated by spay fancy extension while installing spree 2.0.3

I installed spree 2.0.3 and then I installed spree_fancy extension....
I want to edit the footer which was generated by spree_fancy extension
Spree generated following folder:
spree_api spree_backend spree_cmd
spree_core spree_dash spree_frontend spree_sample
Can anyone know where the views are located which was generated by spree_fancy extension.
You can find the footer located here:
https://github.com/spree/spree_fancy/blob/1f12308a3562be2cde6c21467942ba07b7c3c536/app/views/spree/shared/_footer.html.erb
You can override the footer by placing a file in your application in the matching path:
app/views/spree/shared/_footer.html.erb
After creating that file and restarting your webserver, content will be read from that file instead of spree_fancy.
Another option is to use the Deface plugin:
https://github.com/spree/deface
You can use this to override portions of the content within the footer, and is more appropriate when making small changes.
You can learn more about both of these techniques by reading the spree customization guide:
http://guides.spreecommerce.com/developer/view.html

Open sitecore media library programmatically Issue

I have tried this solution:
Open sitecore media library programmatically from asp.net button click
but this is not working for me. This gives a JavaScript error for .ascx file code mentioned in answer.
This statement: Sitecore.PageModes.ChromeManager.postRequest
I am using Sitecore 6.3, included sitecore.js file. But get the script error the PagesMode ChromeManager property caught for undefined.
Also tried to use
scForm.postRequest("", "", "", 'contentimage:open(id=FIELD1377303253)');
but this certainly wont issue the custom MediaBrowser command created for original solution.
Try to use the Sitecore.Shell.Framework.Windows.RunApplication() function. You need to pass the Media Library itemId as parameter in the RunApplication() method.
You can get the Media Library ItemId in the Core Database at the following path: /sitecore/content/Applications/Content Editor/Applications/MediaLibraryForm
Thanks