Joomla 3 add attribute to article editor - joomla3.0

I would like to add another custom attribute into the article editor (please check the image below). I would prefer plugin to keep joomla updates working. Some advice? Thanks!

Ok, i have found an answer. In administration of joomla is possible to clone com_content the same way as in frontend.
Main menu -> Extensions -> Template manager (now choose administrator template) -> Create overrides -> com_content -> Article
Now you can see the path (picture below) and edit what you desire.

Related

Salesforce communities how to edit CSS

I need help in how to identify which .Class CSS in communities I have to edit?
I am able to inspect the what changes needs to be done but unable to understand that in communities how do I edit it as I cannot find the class in it.Issue with button.
I am able to inspect it, but when I try to edit my changes made to communities, I am unable to find .slds-size_2-of-12 in communities. I am trying to make the changes from this Edit Css Make changes in communities. Please any one can guide me a little.
If the buttons come from aura/lwc custom code you should be able to set CSS on that component's level and it'lll override community defaults.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_css.htm - empty file should be generated for you automatically
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.create_components_css - there will be no empty file, create one in same directory as rest of component, with same name (myComponent.js, myComponent.html -> add myComponent.css). Here's a bit advanced example: https://salesforce.stackexchange.com/a/339936/799
If you're after community-wide change - in the Builder go to Security "tab" and there should be a menu to "edit head markup", you can paste some CSS overrides here. For example use this to hide Chatter "+ Follow" button on all pages. Since it's standard - you couldn't do it in component-level CSS.

How to add a Images in article page in Joomla?

I am trying to add images to my Joomla article page. They do not display. Only the path is showed, like the following
{gallery}hotel/Al-Bandary-Tower{/gallery}
Please help me to find out the reason.
Thanks in advance.
1) Go to Extensions -> Plugin Manager and make sure that Simple Image Gallery that you use is turned on. Click on it to open settings.
2) You should have a name of root images directory - directory above "Hotel" in your case - under Images root.
3) In the very end of the settings check that GD library is supported by the server. Otherwise, ask your hoster to turn it on for your account.
4) In the details panel set the radiobutton to "Enabled". Save the settings.
(source)
If you use K2, note that you can use Simple Image Gallery tags only in K2's introtext or fulltext blocks.

Drupal 7 - Newly added custom page--*.tpl refuses to render

I am working with Drupal 7 and need to create some alternate page tpl's so that I can have pages full width as well as a page with one right sidebar. I have read the documentation and scoured the net and at this point am totally stumped.
Step 1: I created a new content type called test and made it a basic page.
Step 2: I went to the template.php file and added the following code for the pre_process page function:
if (isset($vars['node'])) {
$vars['theme_hook_suggestions'][] = 'page__'. $vars['node']->type;
}
Step 3: I created a new page named page--test.tpl.php
Step 4: In admin > configuration > I cleared the site cache
Step 5: Epic failure... the newly created page does not render and the page.tpl.php is still displaying. I tried different browsers & cleared cache to no avail. I don't know what I did wrong as my procedure seems to follow the correct steps that I have studied.
A search here landed me at custom page-xxxx.tpl.php doesnt works but the suggestion there is to implement the same preprocess code that I have already installed.
I found some great information at https://drupal.stackexchange.com/questions/36054/how-to-have-a-another-page-tpl-php-file-in-drupal-with-different-regions-and-blo which enabled me to solve this issue.
The solution:
Instead of naming your custom page page--yourcustompagename.tpl.php use a format like this: page--node--23.tpl.php If you are unsure of the node number of your custom page navigate to the content section and hover your mouse over the edit option for your custom created basic page and Drupal will display the node number for you.
As mentioned in one comment you will also need to clear your cache by clicking the clear cache button in Configuration > Performance > Clear Cache. You should also clear the theme registry as mentioned in a comment above. A helpful tool I found for clearing the theme registry is the Magic Module which you can find at https://www.drupal.org/project/magic After you install this module go to Appearance > (Your Active Theme) Settings > Development Enhancements and check the box for "Rebuild Theme Registry on Reload"

Drupal wysiwyg menu not showing

Drupal 7, wysiwyg module with the ckeditor library installed. The text formats are configured. I have used and set up this module/editor configuration various times with no problems, so I'm baffled.
In this case there is simply no editor showing at all in the content creation pages, just the default text box.
Any ideas?
Kind of late to the party, but I just faced this issue and managed to solve.
What i did was:
1) Go to /admin/config/content/wysiwyg
2) for each entry under "text format" I clicked edit.
3) expanded "Show Buttons and plugins" and checked all of them
4) cick save
Worked for me...
In case anyone else is having this issue - I just managed to fix it for a role by allowing them to view the admin theme
I had a similar issue, but here the wysiwyg menu was not showing only for one of my content types.
I have de JQuery Update module installed. The problem was solved when I went to /admin/config/development/jquery_update and changed the Default JQuery version for administrative pages from 1.7 to 1.10.
It was working fine for me. Let me describe the working example.
1) Download drupal 7 wysiwyg module
2) Go to CKEditor download or else v3.5.3 .Please only download version 3.5.3 because other versions may be giving problem. (Read it more from here)
3) After downloading the editor library, put it into sites\all\libraries\ckeditor .
4) Goto -> admin -> configuration -> Wysiwyg profiles
if you placed library correctly into " sites\all\libraries\ckeditor ", then you can see the edit options.
According to your need set the options.
5) Go to content creation area, here you can find your result based upon your setting.
ie, if you enabled it for Full html text format, it will be available only when you set text format as Full Html.
Please see the attached image for more help.
can you try to disable the menu that is created inside the node editing if this option is checked, save your node without this option and see if it works
I had a simular problem. All the answers I found previously did not help me.
The solution for me was the following: disable the "Aggregate JavaScript files." option!
You can find this option under: Configuration -> Development -> Performance
I hope it helped

How to add content & workspace tabs in a salesforce application

Can anybody provide me some links that could describe how can i add content and workspace(now library) tab in my existing application.
I have searched many websites but couldnt find
Any help is appreciated
thank u
Swati,
you can see how to use content and workspaces effectively here. As for your question on showing it as a tab on a custom application, if you go to Setup -> Create -> Apps and edit your custom app there is a list of available tabs you can add to it including libraries and documents.
Paul

Resources