how to add additional field in joomla 3 and 2.5? - joomla2.5

How can i add additional field in the Joomla 3 and 2.5 article administrator page
like this:
http://www.kavdesign.net/blog/coding/how-to-add-additional-field-in-the-joomla-article-administrator-page/
Where is the location of the following items in joomla 2.5 and 3
Files needed to edit:
jos_content table in joomla database
root/components/com_content/views/article/tmpl/default.php
root/components/com_content/views/article/tmpl/form.php
root/administrator/components/com_content/models/article.xml
root/administrator/components/admin.content.html.php
root/administrator/components/config.xml
root/libraries/joomla/database/table/content.php

This official joomla tutorial has all the information you need: Adding custom fields to the article component.
It also have an installation file to start with (section "Extension Files").
Good Luck!

Related

How to change Opencart 3.x default theme to support Bootstrap 5?

How to change Opencart 3.x default theme to support Bootstrap 5? There are 800+ line of codes in Checkout page. I need to develop this theme in Bootstrap 5. Or suggest any free theme to support Bootstrap 5.
Thanks in Advance
To change default theme to support BS5 - there is only one solution - to do it by rewrition the whole theme. It can takes from 2 to 5 wording days, depends on lyour skills level and knolage of BS3, 4, and 5.
Here you can read about migrations
https://getbootstrap.com/docs/4.0/migration/
https://getbootstrap.com/docs/5.0/migration/
Also there is a demo site I made, OpenCard 3 default theme but using BS5, and meny other modern libraries.
https://fs3.focus.style/

Unable to hide article author in joomla 3.x

i'm using joomla 3.x installation and i wish to hide the author when displaying articles by the way i'm using ja purity III theme if it matters
In Joomla article options are given priority like this:
=>global settings
=>=>article settings (override global settings)
=>=>=>menu settings (override item settings)

New articles are not showing on Joomla home page

I am using JSN ESCAPE PRO template (LINK HERE) . I installed sample data but for some reson when I create new article it is not showing on home page. Does someone knows where is the problem ?
When you're editing the article, is Featured set to yes?
If it is, is your default menu item set to the type Articles ยป Featured Articles
That's the easiest way to have articles show up on the homepage, if you need more than one there.
In Joomla 2.5 the sample data home page depends on which sample data you chose. It could be the Joomla category blog view, so in that case you will want to either add your new article in that category or you will want to change the home page to another category view or maybe to featured like #Doyle-Lewis said.

custom input in Joomla 2.5 article

I'm new in stack overflow and Joomla. I am building a template and I want to add a custom input like color in Joomla 2.5 article from the admin side. but I could not find any suitable option for doing this.
I tried modifying the default.xml for article, but no help.
Please assist me.
you have to add your field in default.xml and print it in edit.php file

sitecore: webforms for marketers, one form, two pages

I want to use single form for several pages like a block. Sitecore always creates a new form for a page.
How to share/reuse a form?
Depends on weather you are using WFFM 1 or 2 but it is quite similar.
Go to "Presentation/Layout details" for the item (page) that holds the form. You will find a rendering called "Form Interpreter" click this.
If you are using WFFM2 there is a "FormID" field that has your form selected. Just add a similar rendering to every page that you want the form to appear in and select the same form.
For WFFM1 there would be a parameter called "FormID" and a sitecore ID, copy this ID and the same renderings to the other pages including the parameters.
Good luck, Larre
There's an option to select a form to copy from. See paragraph 2.3.1 "Copying an Existing Form in the Page Editor" of this guide.
I had same issue with WFFM MVC version 8.1 (initial release)
our content editors wanted to use experience editor(page editor) and didn't want to change the datasource by going to presentation details and updating the datasource.
It doesn't need any coding
1- Copy /sitecore/layout/Renderings/Modules/Web Forms for Marketers/Mvc Form and give it a name "Custom Form"
2- Set the Data source location
3- Add the new rendering to place holder settings
/sitecore/layout/Placeholder Settings/content
my blog post
http://azadehkhojandi.blogspot.com.au/2016/01/how-to-reuse-web-forms-for-marketers.html