joomla - create a plugin that changes pages title & description - joomla

I'm a joomla noob, and I know how to create a content joomla plugin that prints text just after article title using event listener onContentAfterTitle. Content plugin for Joomla
But I cant find the event listener inside which I should put my code that changes pages title & page description. I have put it inside onContentPrepare & in the onAfterDispatchbut it doesnt work.
Anyone can explain to me how to get it work?
P.S: I want to create the plugin myself to customize as I want

Thanks for the link, but I've found an answer to my question here:
Create a plugin that changes pages title & meta description
And the event in which to put the code is onBeforeCompileHead, and the function used to alter head is: $document->setHeadData($headData);.

Related

WORDPRESS PLUGIN CREATION

My plugin do not show on left side in WordPress . Could you tell me why this happened?
Without having any technical details, I can only give you the following pointers.
First of all, when you create a plugin, it doesn't get a menu entry until you use the appropriate wordpress functions:
See Wordpress Code Reference: add_menu_page()
See Wordpress Code Reference: add_submenu_page()

Joomla alert message title change

I will change joomla java alert message see this image
But i dont come forwad...
My joomla is version 3 and this is on module mod_s5_quick_contact
thanks...
If you want to change the title then I suggest to do a language override as described here https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla. If you want to alter the output at all, then do a template override of the module.

Changing the edit form in Joomla 3.x for specific article category

I have a bunch of articles in a Joomla 3.1 site that all live under a single category.
I'm creating a specific editor group for each article, ie a small group of users will have edit permissions for 1 article.
I'd like to do something so that when an article that is within the prescribed category (not all articles) is edited, the user (editor) sees a short block of text at the top of the edit page.
Is that possible within Joomla or would I have to edit the PHP file that creates the form?
You could accomplish this using a tool like content templater. http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/code-snippets/7152

How to delete the Article info (Joomla 3.0)?

As the title of question, I want delete all info in a Joomla article (ex :author, create date, print icon, ...) .When I create an article, it will show default . I try to hide it, but it only hide and Joomla still create the empty tag of info . Here, you can see :
Please avoid to customize the core Joomla files like article or other.If You want to change or customize the article default file (like you say the article info) by using the template overridden method.for more details go the link below:
How to override the output from the Joomla! core

How do I create a Magento module or widget that will appear on the shopping cart page?

I’m having a lot of trouble understanding how to create a module that will add an extra button to the shopping cart page. I found lots of info on payment modules and stand-a-lone page modules, but nothing for this.
I simply need to add a button underneath the regular “Checkout” button that can post item data to another website. I’ve created a module but can’t get Magento to recognize it and display the button on that spot. Any help would be greatly appreciated, even just sending me to an existing tutorial that I haven’t been able to find. Thanks.
A custom module is probably overkill for this. Module means a very specific thing in Magento. It's a mechanism for inserting custom code into Magento's standard operations. All you want to do is add a button to the cart page. Editing the file at
./base/default/template/checkout/cart.phtml
(substitute your theme/site name if not using base or default)
is the place you'll want to start looking. Just find the phtml file that corresponds to the place you want to insert your custom HTML and have at it.

Resources