4
You can achieve this with the built in functionality of Joomla.
Create a Category Blog Menu Item and deactivate title under the options tab.
While creating an article, write first your fake title and maybe a short intro text.
Then use the "read more" button on the bottom of the editor to insert the read more button (displayed as line in the editor).
Then ...
2
You can create an language override: https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla
2
You could try the "spacer" field type and see if that's good enough for your purposes:
<field name="example_spacer" type="spacer" label="Text you want here" />
Then put it in your XML file following the field you're wanting the extra text for. Add CSS to taste.
That might work out for you.
2
There are a couple of alternatives.
A Plugin.
You can add styles or a style sheet into the administrator using the technique here:
How to add custom JS/CSS file, without modifying the template (from extension)?
Using $app->isClient('administrator') will allow you to add css just to the administrator. If you really want to load only on your page you can ...
2
So to get it from global configuration set in configuration.php from anywhere within Joomla component, plugins, modules and templates you would use:
$config = JFactory::getConfig();
$siteName = $config->get('sitename', 'No Site Name Specified');
OR
$siteName = JFactory::getConfig()->get('sitename', 'No Site Name Specified');
You can also use name ...
1
I'm not sure if it will solve the problem but it seems like you downloaded an outdated version of VirtueMart. Please, try downloading this one directly from Joomla Extensions: https://extensions.joomla.org/https://extensions.joomla.org/extension/virtuemart/
Last update was June 18, 2020. Version: 3.8.4
1
Create an extension plugin with onExtensionAfterSave event.
defined('_JEXEC') or die;
use Joomla\CMS\Plugin\CMSPlugin;
use Joomla\Registry\Registry
class PlgExtensionExample extends CMSPlugin
{
public function onExtensionAfterSave($context, $table, $isNew)
{
// Check that we're modifying the correct component.
if ($context !== '...
1
// Import `ComponentHelper` class.
use Joomla\CMS\Component\ComponentHelper;
// Get all params of a specific component.
$params = ComponentHelper::getParams('com_yourcomponent');
// To get the value of the param.
$params->get('yourParam');
1
Although I accepted Neil's answer, I found an easier method to do this. But my method may not appeal to many since it requires changing XML files of default Joomla installation. Perhaps there's a way to write a custom XML to override the settings selectively in the default XML.
Article form settings are available in these files:
administrator/components/...
1
I haven't found a Joomla setting that makes it required. You could add a plug in that fires a Javascript after page load, adding the required attribute to that element though. Could probably even add some jquery script to the head of your site that forces required.
1
Administrator menu items can be added to manifest file's <administration> section:
<menu img="class:example">COM_EXAMPLE</menu>
<submenu>
<menu
link="option=com_example"
img="class:example-items"
alt="Example/Items">COM_EXAMPLE_ITEMS</menu>
<menu
link="option=com_categories&...
1
The problem is likely in your view. What do you get when you print something like the following in your view?
<?php echo $this->form->getLabel('view_access'); ?>
1
It worked after I uninstalled and reinstalled the component. So apparently there's nothing wrong with the code.
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
component-configuration × 12component × 4
custom-component × 4
joomla-3.x × 3
articles × 2
extensions × 2
installation × 2
front-end × 2
mysql × 1
css × 1
overrides × 1
virtuemart × 1
category × 1
xml × 1
joomla-3.9 × 1
user-groups × 1
fields × 1
configuration × 1
security-token × 1
extension-update × 1
contact × 1
custom-action × 1