Cannot find registration form in Joomla - joomla3.4

I have created new Login module and linked to the login menu in Joomla 3.4.1. Also created registration menu as described in docs and tutorials. The login form is showing - I have assigned the position to show in the template from module manager but I cannot view registration form - since there is no registration module. The registration page is showing empty with header and footer but with no body. Is there any way to solve this?

Is the module position valid for your template?
You van check this by enabling the "preview Module Position" under the template options. To view the module position go to your home page e.g. hhtp://www.myhomepage.com/index.php?tp=1. Please note the tp=1 ..
Now you can check if the module positions exists on your site.
Just let me know.
kind regards.

Related

Joomla Submit article redirect to homepage

I have site that user can submit an article in frontend . I have create menu submit article, but when i click it , it redirect to homepage.
Thank you
The guidelines are here: Joomla : How to create an article from the front end.
Go through below:
Your menu item should not have access to only special members if you are submitting content as registered member. In short, you should maintain the access level of the page.
There can be some other cases, for which you must need to post the screenshot if any error message shown on the screen to debug. As you know there are many settings, custom code, and tweaks that Joomla CMS allows to implement.
To change the redirection when submitting an article I found it useful to do the following:
Associate the form that enables you to create an article from the frontend to a menu, and then edit the corresponding element of the menu, on the options tab, select the redirection after submission category to where you want it to redirect and that's it. Hope it helps anyone!

Broadleaf - Extending DemoSite Admin - Add new Menu and Page

I have been looking into Broadleaf since last couple of days. I have managed to run it on local tomcat with MySql. I have extended Entity for my custom requirement following Broadleaf's documentation.
Now I want to add a menu option (in left menu) in admin. I have no clue from where Broadleaf admin site displays the web page. How left menu is displayed ? How data from controller are binding with view ?
For example, if you access product page in broadleaf admin section, then URL will be http://localhost:8081/admin/product/. Following it I managed to know that it calls AdminProductController.java of framework's admin module. I looked at the code of AdminProductController.java but didn't get a clue how data is being forwarded to view. Also didn't find the product jsp/template/html.
I guess admin module is using EntityForm.java for view. If I intend to use simple jstl then is it possible?
My question how easily I can extend admin of Heat Clinic demo site to add new pages, menu items etc? If anyone has customized/extended demosite admin then please suggest.
We have some docs on how to do this at http://www.broadleafcommerce.com/docs/core/current/broadleaf-concepts/admin/admin-custom-controllers. The bottom line here is that if you want to add a new page then you can simply use normal Spring MVC as you would on the frontend. The only difference is that there are some specific ways to place new template files (which is documented on that page).
To answer your question, most URLs in the admin are handled dynamically by the AdminBasicEntityController. Most of the sections are handled generically by this controller but there are still certain instances where we needed to override things specifically, like with AdminProductController.
Also, the admin is built with Thymeleaf and not JSPs so if you want to add more pages they will need to be done with Thymeleaf.

Add a module to a component , but not every page of the component

i'm working on a joomla 1.5 for a university project (when it started 2.5 wasn't out :D). What i'm trying to do is to assign a module to my custom component , but not every page of it.
The 2 different pages of my component is a page that shows every product , but the other one needs an id to work. In order to assign the module just to a page i think i need to assign every page my component has to a menu item.
But my problem is that i don't know how to assign my page that shows a specific product the variable id to make it work.
The Joorthodox way, i guess, would be to control the module availability from the module manager in administator page, where you can assign it to certain pages/menu items only.
Thus summarizing, create a menu item type for that page assign it to a menu item which in turn will be your module control switch for that page.
Another approach could be a control directly to the joomla module renderer. An example can be found here: joomla-is-there-a-module-render-plugin-event
One method would be to set the module to be hidden on that page using CSS.
Go to views/view_name/tmpl/default.php and within the tags at the top, add the following code in:
$doc = JFactory::getDocument();
$doc->addStyleDeclaration(" #element_id { display: none; } ");
You will need to inspect the module using a tool such as Firebug, Chrome Dev Tools or another tool depending on which browser you're using, and change element_id to whatever suits your needs.
Hope this helps
Just use Advanced Module Manager and assign your module by URL's not just by the menu link, it works for me to hide and show a module inside the different pages of the same component

How to add a menu to login form module in Joomla 1.7?

I am intrested in changing the joomla default Login module to show a menu as a greeting in the login module,
so that menu will contain links for profile management and stuff from that sort.
I have tried to add a module position inside the module (dawg!)
But that went down the drain.
And i'm not intrested in adding manual links to pages because they might change.
Any ideas guys?
Thanks in advance,
Eric
put this code in login module template where you want to show the menu
$module = JModuleHelper::getModules('xxxx');
// xxxx is any virtual position, no need to create it anywhere.
echo JModuleHelper::renderModule($module[0]);
and enable a menu module at position 'xxxx'.
I hope this will work.
You are going to have to create a custom module to do that. There is no way to do it with the parameters you have given. You could use the module alternative layout to add in some links to the login module, but you can't add a menu to it without rewriting the entire module.

Joomla registration override

I would like to override my joomla registration component in the way to have next to it the login form as well. As first step I made in my template folder the registration call but from here I don't know how to include the login form.
thanks
fefe
Is this roughly the idea you're looking for?
http://zebiangroup.markmurphy.ca/component/users/?view=login
If so, I'll be packaging it up as an extension shortly. If you need it asap leave me a message at markmurphy.ca and I'll get in touch.
I'll be back to update this post when I have the extension finished and uploaded.
[Edit:]
I'd hate to leave you totally in the dark and keep you searching for an answer so I'll point you in the right direction.
I was able to write a system plug-in that overrides the user components' controller.php only if that component was the one being requested and if the requested view was for the login or registration and if the task was only to display.
From there I had the new controller.php override the requested view name substituting my own and adding the appropriate models, references and variables to the view.
After that all I had to do was add the layout to my active themes "html" folder under com_users.

Resources