add left and right bars to joomla article - joomla

I'm not very familiar with joomla, I added new article , But the left and right positions (right & left bars) don't appear in the two sides, How to add them please?
Thank you

If you go to Module Manager, then select the modules you want to show, ensure they are enabled on all pages. I wouldn't have though you have to create html page using the article manager. Joomla isnt really built for this. Regards

if i am not wrong, then i think you want to add two columns in your article page.
There is a simplest want in you article editor click on the html button which show you a new window where you can set your html. And for two side that is left and right, just create a html page and paste in only the body content into your joomla editor and if you want to add some style then define id's or class's to your article or you can set inline css..
hope this will help you..

Related

Accessibility error in offcanvas element in Joomla site

I have a problem with a validation error to http://www.tsiapos.gr/ (Joomla 3.9.10 - yootheme template0
https://wave.webaim.org/report#/https://tsiapos.gr/
which is related to empty link in "offcanvas"
I don't know where to find the code and how to fix it. Thank you.
That looks like your menu button which is only visible in responsive mode. If I increase my font size or run on mobile, then I see it.
There are two problems with the menu button. The first is that it doesn't have a label that a screen reader can announce. That's the error that WAVE is pointing out. You can fix that by adding an aria-label to your link.
The second problem that WAVE didn't find is that the "state" of your menu (expanded or collapsed) also needs to be conveyed. You do that with aria-expanded. Set the value to "false" when the menu is closed and "true" when the menu is open.
And if you want to get picky, there's a third problem that you're using a link instead of a button. A link should be used for navigation, opening a new page, not for an "action". I'd recommend changing your menu to a <button>.
If you want to use an <a> then you should add role="button" and make sure the space key can be used to select the link. By default, links only allow the enter to select them but a button allows both space and enter.

how do I custom design for menu item?

I have menu in which there are two levels. After I added the third and fourth level of categories from the back end, I want the third sub-category in the menu to be displayed differently I want to change its appearance. Can i do it in back end custom design? Or where should I look for the code? I have tried editing the top menu p html
You should edit the relevant PHTML file in order to do this.
Sometimes you will have to edit menu.js as well written in prototype. if you are not familiar with it use a jQuery code.

How to make a panel adjustable using jquery?

I have a two panel, one left and second right in my html page. Left panel is collapsible. I want that panel to adjustable too. How to achieve this using jQuery?
New plug-in of JQuery contains method $("#resizable").resizable();, We need to add UIjquery.js file along with jquery.js.
This link has example of re-sizable.

show joomla component in menu item type

I made a component for Joomla and it's working ok with the direct url: http://www.something.com/index.php?option=com_pbform
The problem is that when I try to add it in the menu.
When I change the menu item type, the component is listed, but when I click on it I don't get a view to apply to the menu item.
Do I have to configure anything else in the component?
Thank you!
Add your component to jos_components table:
INSERT INTO jos_components (name, link, admin_menu_link, `option`)
VALUES (
'Greetings', 'option=com_greetings', 'option=com_greetings', 'com_greetings')
If you have all your views set up correctly you need to add your component into the Joomla database.
Functions and view folders must have no hyphens or underscores.
Good
/view/viewone
/view/viewtwo
/view/viewthree
Bad
/view/view_one
/view/view_two
/view/view_three
If you setup your component in the MVC fashion then you would have a views/layout folder structure in your component folder. Each different view you have in there will be listed in the menu types under your component name. This is where the views can be chosen.
For e.g. in your component folder structure you have
views/view_a
views/view_b
views/view_c
then in the Joomla menu selector you would have those choices to select as a view.
If you haven't setup your component as MVC then have a look at this tutorial on how to do just that http://www.joomladevuser.com/tutorials/components
I hope that helps!
Cheers
You may need a metadata.xml file for each of your views. See http://docs.joomla.org/Adding_view_layout_configuration_parameters for more details
Use this simple solution. You expected to find your new component in the menu item type drop-down list, but its not there! Instead of trying to cope with that ugly MVC scrap do this:
select "single article" from the list and SAVE your new menu item
now open your joomla db
select _menu table
edit your menu row
change link from article to index.php?option=com_yourcomponent
save and take a look at administrator menu manager
I did migrate my Joomla 1.5 collection of Ajax/PHP scripts to Joomla 1.7.3 using this solution in just one day.
Piece of cake.

Two Column Article content Joomla

How to make some of article when I click readmore the paragraph not show
to the bottom but to the right side...
Here's the illustration screenshot:
http://www.oymo.com/upload/uploads/collumn-artikel.jpg
You can't do proper columns - ie. when the text flows from the bottom of one column it moves to the top of the next, without use of CSS3 (which isn't widely supported). You could probably do something with a bit of mootools or jquery as an alternative.
However, if you just want to show the intro text in one div and the main text in another (something like http://www.kodaklens.co.uk/mobile/) then you need to modify your template /templates/templatename/html/com_content/article/default.php, by creating your required 'static' layout and then loading the different article pieces into each container, but this won't help with text flow.

Resources