I am using sugarCRM Open Source Application for my own purpose.
When I click the Home link the above URL is like:
ajaxUILoc=index.php?module=Home&action=index&ParentTab=sales
How can I find out the flow of code using the above url. I have verified the sugarCRM developers guide regarding the url, but I cannot get the solution. How they call the functions or classes using like this.
Actually why I am asking is I want to modify the existing code to add some extra modules.
I am struggling for last one week without solution.
ajaxUILoc=index.php?module=Home&action=index&ParentTab=sales
That is saying you are in the sales Tab and on the 'Index' Page of the Home Module.
Firstly there is a modules directory in the root of the application inside which is a directory for each module, secondly for customisations there is a custom directory in the root of the application, where is generally all custom code is placed to make SugarCRM upgrade safe. There is a customCode variable you can add for placing custom code in the custom files.
Example:
'customCode'=>'{if $surrent_user->user_name==\'admin\'} .....some code...... {/if} {if $current_user->user_name!=\'admin\'} <input name="assigned_user_name" value="{$fields.assigned_user_name.value}" readonly="readonly"> {/if}',
The SugarCRM forums can be quite good http://www.sugarcrm.com/forums
Related
Some people are already styling their own websites, so is it possible
How do I get an html/css form to post to Gravity Forms?
Here is the link that also recognizes the problems that wordpress has, with users adding code, but it says if you download this plugin, your problems will be solved: Raw HTML plugin.
Here are the instructions from the website above:
To install the plugin follow these steps :
Download the raw-html.zip file to your local machine.
Go to ‘Plugins -> Add New -> Upload’.
Upload the zip file using the provided form.
Activate the plugin through the ‘Plugins’ menu in WordPress
Alternatively, you can search for “Raw HTML” in ‘Plugins -> Add New -> Search’ and install it from there, or unzip raw-html.zip and
upload the raw-html directory to your /wp-content/plugins directory.
I generally get to the point where I download the plugin (step 1, raw form) and then I am unable to proceed further. What should software I open the plugin with or do I need to go online (and where) to download the correct software?
Basically, I found out that certain software is required, not the plugin, to allow styling to the website. The link to access this feature is: how-to-use-plugin-not and she explains step by step. This thing type is for people using CSS, Bootstrap, HTML5, and JQuery. As far as I can see, no amount of research shows that a plugin is necessary but I was correct that certain preparatory steps were necessary. This is different than and unique from other methods of deeper coding.
Going to GitHub for an online portfolio would be more appropriate (shows your mastery more). This is according to Joshua Scott from free code camp but WordPress is great to develop CMS skills according to Jamie Schmidt, a developer for eight years.
The quick and dirty way that doesn't need any plugins or fiddling with the theme: throw your code into the content of the page you want it to appear on. Adding in the body is perfectly fine, and linking stylesheets outside of head works, even though it's not allowed in the specifications.
To do it the right way, you'll have to get your hands dirty and use a custom template file for the HTML and add your scripts and styles via wp_enqueue_script/wp_enqueue_style.
I want to know what the structure of Social Engine is. For example if I want to go to a page that the URL of that page is "http://example.com/stores/products", how can I find the controllers, models, views of?
When I go to direction application I see these:
languages
libraries
modules
plugins
settings
themes
widgets
and when I go into modules I see all modules added to the site including these:
Sitestore
Sitestorealbum
Sitestoreform
Sitestoreproduct
Siteverify
Sitevideo
and so on...
and when I go into Sitestore as an example, I see these:
Api
controllers
externals
Form
Model
Plugin
settings
View
views
widgets
But even now I don't know where to find the file I need related to the URL mentioned above.
Just tell me if you want to know what's inside each file.
Appreciation
You can get the controller and action name from manifest.php under modules/XYZ/settings/manifest.php.
Example, /stores/products
Go to modules/Sitestoreproduct/settings/manifest.php
Here you can see the slug_ of Store module and Products module.
For core modules, you will find the url structure in the /settings/manifest.php only, but in third party modules, SEAO and others they have extended the submodules by making it dynamic.
Hope it helps you to understand.
I am provided with a user name and password of Magento 2 template where I can access the admin panel online.
But my intention is to get access to source code in order to change the menu and some other sliders.
How to get to the source code of the template?
it seems you are bit new. Now to change the slider or menus you can do them using both admin panel or source code depending upon how the site has been coded. Since you only have back end access you cannot get the source code at the moment. You can request your site administrator for the code and once you have it , you can go to root/app/design/frondend/[your-package]/[your-template]/template/page/html/header.phtml and see if you can see the menu items. If not then search for and cms syntax you can see, if you find one , copy the name and go to backend and in CMS in static blocks and in the identifier copy your name and search. You will get your code, change it and you are good to go. It might sound easy but make sure you have someone who has bit experience or things might go wrong.
To get your current template and package go to System->Configuration->Design in that you can find the names. All the best :)
I wonder if any of you could help?!
I've recently started a new project which requires an e-commerce system, with that being said I have installed magento and have started to play around with it.... however I am struggling to find any sort of information on using the mage.php file.
What I need really is help on the list below...
I've been looking for the code to display a product from magento on a page that is not situated within magento's platform. Can anyway point me to the code needed for this please
I'd like to incorporate the checkout/login or logout/my account links on every page even when not viewing a page located in magentos system.
I suppose basically I want to use magento to handle the product side of things but want to create my website without having to touch magento except from to call in certain functions.
Any help on this would be appreciated!
You can build the website using an easier content management system such as Wordpress and only use Magento for the Shop section of the website.
There is a plugin for Wordpress that allows you to display products from a Magent website.
https://wordpress.org/plugins/magento/
I am building in Joomla! version 3.3.6 for my first time. I have built a ton of custom Wordpress in the past. The first challenge I have encoutnered, is the requirement of building a page which does not look anything like the template pages. The client desires a landing splash page, with large images and a gradient background. However, they are using a template already. Now, I know that I shouldn't start my research on Stack Overflow, so I've watched hours of tutorials for beginners on Lynda.com. No one seems to be covering this topic. Any help would be really appreciated.
To explain this idea, I will compare to what I would do in Wordpress. I would create a file named "page-splash.php" and give it a template name: Splash. Then I would fill this page with my choice code. Finally I would create a "Page" object in wp backend and give it the "template" of "splash".
This is very possible and often accomplished in Joomla.
You would simply need a second template installed and assigned to the page. In Joomla, you could technically have a different template installed for every single page if you wanted to. But in this case, you just need a 2nd template.
Start by building a bare bones template, as found here: https://docs.joomla.org/Creating_a_basic_Joomla!_template (or copy the current template from /templates/ directory and update the templateDetails.xml file so it will install as a second template)
Install 2nd template via Extension Manager
Next, make sure your new page is linked within the Menu Manager (as you will need a menu assignment to call the new template in next step)
Go to Template Manager and you can assign your new template to the menu item defined in the previous step.
You now have 2 independent templates running on the same installation and they can be styled and configured independent of one another.
Assigning more than one template is such a common task in Joomla that you can find more details about this in the official documentation: https://docs.joomla.org/J3.x:Switching_templates
Joomla is by Default not a Blog/Template layout cms, but rather a web application builder.
You can get extensions to create custom templates that make Joomla function like a blog application such as ZOO or K2. I would not go the route of creating individual templates for each page as it would be similar to installing a different theme for each page on a WordPress site.