I want to write about C++ programing in my joomla website.
how do i can show c++ code in joomla article ?
like this page:
http://www.learncpp.com/cpp-tutorial/12-comments/
Thanks
There are at least a couple of extensions in the Joomla Extensions Directory that will do this for you:
Script Code Highlighter (free)
JExtBOX Code Display (paid)
Hint: Search the JED for 'geshi'.
Related
I am building a single page application using React. I want my website to be available in both the hindi and english language. So, for that I think I have to use react-intl. Okay but how can I make this work? I read a few tutorial but I did not find any good solution for Hindi. Please help me in my research on how to use i18n for English to Hindi.
It seems that Hindi language uses Devanagari script which is written from left to right (LTR), so translating your site to Hindi isn't different from translating it to any other language (e.g. Frech, Spanish, Czech).
All you need to do is add react-intl components to your code, create a message catalog with messages, translate it into Hindi and load it into your app.
If you have a more specific problem, please update your question or post another one.
Also, I'm an author of lingui i18n library which you might consider if you're at the beginning of your project. It's successor to react-intl and very similar in usage. There's a tutorial, but I could help you with any problems you might have with a Hindi.
Doxygen seems to be the number one choice for code documentation in C++ (and many other languages) but every time I browse Doxygen generated doc from my phone, the site literally does not scroll, text is horribly small ...
How come ?
I come from python/sphinx, and sites like readthedocs.org manage perfectly mobile friendliness in the HTML generation (IMO), whereas the most popular documentation system around can't ? I must be missing something.
I tried looking around the interwebs for some HTML theme minimising problems, but no one even mentions the pain of trying to browse API references from a phone (yes, I do that :p)
Anyone experience the same problems or has a solution / workaround ?
Ps: Try Google mobile friendliness test on doxygen API sites like this intro to Doxygen, generated with Doxygen
EDIT [2017] : Seems Doxygen is getting better, the link in question is now "fully compatible with mobile" according to the quoted google tool. Thanks to everyone in the community making things better !
There is a project on github called doxygen-bootstrapped using bootstrap for doxygen documentation, making it much more mobile friendly. See this demo.
The demo is marked as mobile-friendly by your link
I am using "tcpdf" vendor file in cakephp 2.X but it is not looking good view. I want every html tag convert properly in pdf file. Please help.
I have found the a blog for you. its will be help you to find your problem.
Read the following blog
Generating PDFs with CakePHP
You will be find a link for demostration of different PDF file generator.
May be I help you.
I have built my own plugins in the past using MPDF, they worked for years, kinda slow on some environments. Recently, I switched to WkHtmlToPdf and love it. I built my own plugin then a few weeks later realized that one already existed. I would recommend using this plugin by Friends of Cake: https://github.com/FriendsOfCake/CakePdf
A lot of the contributor for Friends of Cake are also Core CakePHP developers, so its usually very well coded, tested & documented.
This plugin also works with several PDF generation engines, which is a nice touch!
I am using wkhtmltopdf for few years and it's working very good, quality of PDF you can get from a html is very good, I am also using the cakephp for PDF generation.
I am running this command from cakephp controller
shell_exec("/usr/bin/wkhtmltopdf < SOURCE_HTML_PATH/URL > < DESTINATION_PDF_PATH> ");
You can install stable version wkhtmltopdf for your linux distribution from this link
http://wkhtmltopdf.org/downloads.html#stable
We're planning for a multi language website, Any idea/tricks how can we achieve the same?
Are there some ready made components/plug-ins available in CakePHP like in open source technologies?
Kindly let me know.
Thanks !
CakePHP comes with its own i18n and l11n functions. They work well for my projects and if you don't have any other requirements they should be fine for you too. Have a look at the CakePHP book for more.
Question says it all...
You can get this functionality in Netbeans as described in this article from the bakery.
http://bakery.cakephp.org/articles/view/model-based-code-insight-and-completion-in-netbeans
You can also do the same thing in Eclipse PDT or Aptana.
http://mark-story.com/posts/view/code-completion-for-cakephp-in-eclipse
All of these IDEs are free. Although they are both
Updating
Now netbeans has a plugin for CakePHP.
It is not an IDE, but if you are a textmate user, then there is a bundle for CakePHP: http://thechaw.com/cakephp_tmbundle
PHPed by Nusphere works great. They've even posted an excellent article to help get it all set up.
Komodo Edit has a CakePHP addon and a macro to ease MVC navigation.
It is built on the Mozilla code base so is similarly extensible through addons, has equivalent memory consumption/speeds, and is licensed under the same terms.
Nearly forgot to mention, it is also cross-platform.