how to remove Preferences, Statistics, & Comments menus in MyBlog extention in Joomla? - php

I am using Joomla 2.5.4 for my web project and I am using MyBlog extension for the blogging feature for my web. now, I want to remove the 3 menu buttons ( Preferences, Statistics, & Comments) in MyBlog. i look over in the MyBlog Configuration but there is no config there on how to remove it.
do anyone can help me on where can i remove this menus using configuration?
thanks in advance ...

Might be an idea to contact the developers of this extension. Seeing as its a commercial extension, you will be very lucky to get answer. If the extension used "views" folder rather than admin.extensionname.html.php then I would have thought the code you are looking for will be in the file in the specific view folder. Sorry, its not much to go.

Related

OpenCart VQmod Questions and Answers Module not showing

I have installed Opencart 2.0.3.1.
vqmod 2.5.1.5 for Opencart,
vqmod manager 3.0,
and ProductQuestionsAndAnswers_v1.8.2_oc2.0.x.x
These have all been uploaded manually via ftp, i've followed the simple instructions for vqmod's installation to rewrite part of the index.php and admin/index.php which seems to have created all of the required cache files.
The module is installed, enabled and visible in the modules section and in the vqmod manager, however when I try adding the module to the theme layout there is no option for this module.
Everything appears to be working fine other than for not being able to insert the module into a layout.
Not all modules for Opencart have that option to add it in a layout.A big portion of the modules in opencart are made by students or people that are learning to code most of the free modules don't even have that option. Now that we have this out of the way.
Other solutions to this problem.
If you are using a custom /admin panel lets say your admin is called bestbanana
You need to open the VqMOD xml file that is located in the VQmod/xml folder
and change all the values that contain admin to bestbanana
Or if you are using a custom theme that has different structure than the default opencart one,than you need to modify it a little bit more.
Since VqMOD works as a search engine it searches/replaces adds and so forth bu it searches by exact words. e.g peaces of code.
but without posting any code or something similar there is nothing much that anyone can help you with.
Hope that this will help you

Drupal modules be used without Drupal

Problem, can I use Drupal modules in my own PHP application? ( without setting up Drupal ). I searched a bit, there seems to be .zip file for the module, init where there are .inc files.
Is it possible to use this without setting up Drupal ?
I need to configure Solr search, Drupal seems to have a search API and thought I could use it.
You can use the PHP solr library, instead of trying to hitting your brain on drupal modules files. With few extra code you can able to do indexing, searching ,etc. There is a good library https://code.google.com/p/solr-php-client/ .
There is a good tutorial on Solr installation and usage in PHP. http://www.ibm.com/developerworks/library/os-php-apachesolr/
You can not use Drupal modules anywhere outside from Drupal.
But, you can download the modules, and extract the main php functionality to make it work with your business requirements.
Some modules have also open frameworks that can help you.
Hope that this helps.

Drupal Features Path To Module

I'm trying to do versioning with GIT and I'm trying to figure out the features module. The Drupal configuration has all its modules stored in the site that it belongs so.
Ex with Google Maps:
sites/theme/modules/googlemaps
But I've been saving the features in the default all directory. Ex:
sites/all/modules/googlemaps
Should the googlemaps feature and module be stored in the same path? I ask because I noticed certain things don't seem to be refelected when pushed and pulled.And is there a good tutorial on how to use features with git?
Drupal best practices encourage storing all non core modules in "sites/all/modules"
Only if you have a multi-site install and want to add a specific piece of code to one of the sites should you store something in "sites/sitename.com/modules".
As far as features go the modules directory doesn't care how you nest the modules as long as they are under the "sites/all/modules" directory. So you want to create 4 seperate directories to store your modules in:
"sites/all/modules/contrib" - this stores all downloaded community modules
"sites/all/modules/custom" - this stores your custom modules
"sites/all/modules/features" - this stores all of your generated features
"sites/all/modules/patched" - if for some reason you need to patch a contrib module drop it in here with the patch and some notes so you will know how to update the module later.
So to answer your question directly. You should store features inside the "sites/all/modules" directory.
Edit:
This question inspired me to write a blog post on my company blog to expound on the strategy above a little further. Check it out at clikfocus.com

modules editing issues

In a Joomla website, can I directly edit the default.php file in the modules folder's template folder? Or are those automatically generated while creating the site? Any guidance is appreciated. Thank you.
Please provide me with concrete images and stories about Joomla instead of repeating what documents say please.
[UPDATE] As long as it works, I edit ALL myself. Oh yes, soo good my first obstacle is being clarified.
if you want to make some changes to the files placed in modules/mod_abc/tmpl
(replace mod_abc with your module name)
you need to copy that file to joomla-root/templates/[your-current-template]/html/mod_abc/
then you can edit your file here. This is the standard joomla way to override module template.

Chamilo 2.1 - How to create new themes properly?

I am new to Chamilo 2.1, which is an open-source LMS.
I initially posted this question in the official chamilo support forum some days ago. But as long as nobody knew or cared to answer there, I'm reposting it here in hope that maybe someone could have knowledge on the matter, willing to share. [original post]
I would like to know if there is a 'proper' way to create a new theme in addition to the current ones (aqua, ruby).
What I've gathered from my search in their forums, nobody yet has attempted creating a new theme, but only modifying the basic one (aqua). That is, as they say, by altering the css inside aqua theme, and probably find the address of the header image and replace it with one of their choice with the same name.
Haven't tried yet the above, but, well it doesn't sound like the correct approach. Moreover, I would like to keep aqua theme, too, not to destroy it.
An idea I had, based on that thought, was duplicating the 'aqua' folder inside ./common/libraries/resources/ and renaming it to 'aqua2'. Though 'aqua2' was present and selectable in the administration settings panel as a choice (under aqua and ruby), when activating it, it didn't really work...
But trying to dig inside Chamilo 2.1 folders, I managed to find a file called 'theme_generator.php' under ./common/libraries/php/util/theme_generator. I saw it does a bunch of stuff creating folders, copying aqua theme files etc, but does it really do what I think it does? Is it called somewhere from inside the web interface? (i don't know any php by the way, i'm just doing css stuff).
I would appreciate any feedback or help on the matter. Thanks in advance
There is no theme manager yet in the already released versions of chamilo lcms connect (2.1 and 3.0) and afaik there isn't one planned for the next release either.
Chamilo lcms connect is a collection of packages, some have to be installed (the core) some are optional.
Every package handles its own themes, images, translations, etc. So if you want a new theme you indeed need to copy/rename all the aqua folders in all the packages you want to use.
In our production system we did do it like that but we did not copy/implement the CSS in most of those folders, we just provide the (empty) files and import the CSS from the aqua CSS files.
You do need to have both a CSS folder with the necessary CSS files and an image folder for your theme in every package you will use, or your theme will not work.
You will probably only have to change the CSS file in the common package since there the main colors and headers and footers are set.
I can imagine in the future there will be an automated script to do this for you but for the moment, ore maybe there will be a mechanisms to default to the aqua theme when files are not found, but for now developers are focusing on other things so you will have to figure it out for yourself.
chamilo lcms connect (2.1, 3.0) and chamilo lms (1.*) do not share any code and handle things differently.
There is no documentation (as far as I know) as to how to write a new theme. You might want to try the IRC channel during the week to get more attention, or write to dev at lists.chamilo.org (I'll approve your mail so you don't have to subscribe).
Just as a bit of additional info, Chamilo 1.8 and 2.1 are not the same product, they will be renamed Chamilo LMS and Chamilo Connect Core respectively. Both are managed by the Chamilo association, but two different teams are working on them (with obviously frequent communication).
I have not used Chamilo 2.1, but I am experienced in Chamilo 1.8.8.4. I have changed the theme by copying an already existing theme and changed it to my liking by modifying the css. There i can manipulate the colors. I changed the header-logo.png in the css/nameoftheme/images directory. Make sure that the image is not larger than 316 by 84 pixels, or the image will not show.

Categories