How to Remove publishing options joomla front end create article? - joomla2.5

I am using Joomla 2.5. I want to remove/hide Publishing, Language and Metadata options from front-end(Create Article) so that users of the website can just enter the subject and content for their article and submit the article.
Another question - How can I Publish Joomla article programatically?
Thanks in Advance.

This can not be done as these fields are part of the Joomla! Article Manager form. These are the core functionality of Joomla. But if you really want it,They can probably be removed using a "Template override method" -
http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

Related

Enable WeBlog comments in Sitecore

First time I am using WeBlog in Sitecore. I have created entry, In this entry after post comment it shows message of "Thank you for your comment. If it does not require moderation, it will appear shortly" but I have no idea how comment will display? and what changes I have to do in workflow.Can anybody suggest me?
By default weblog has a comment workflow, you can find the settings for this under: system/workflows/weblog comments
More info in workflow here:
https://github.com/WeTeam/WeBlog/wiki/Comment-Workflow
Comments are created in the master database as child items underneath the blog post item in Sitecore. By default the comments are auto approved when saved and should automatically publish through to the web database. You can easily change this by adjusting the workflow as described in the post on comment workflow.

Sitecore Web Form for Marketers - create a cookie

This is a two part question.
Using Web Forms for Marketers 2.3:
Is it possible to have a cookie be created on successful submission?
Without actually exporting the ascx file, would like to keep it in Sitecore.
Second question, would it be better to have a content editor choose which item has the form or would it be better/easier to have a dropdown to pick which form is needed and then have the code determine which form to show.
Thank for any insight!!!
For the First question,
If you have Sitecore DMS, on a successful submission there is an event, and a Goal maybe you can use that, insteed of a cookie.
See https://doc.sitecore.net/sitecore%20experience%20platform/personalization/walkthrough%20personalizing%20components for using it with personalization rules the picturs are for Sitecore 8 but basically the same for Sitecore 6.5+
Programmatically you can use the Analytics API, see https://sdn.sitecore.net/upload/sitecore6/65/engagement_analytics_api_cookbook_sc65-a4.pdf for Sitecore 6. The API has changed considerably with Sitecore 7.5.
An alternative is to set the cookie on the Success page.
you can have a Success page, or a Success message in WFFM. for a message use something like this:
Thanks <script>document.cookie="formsuccess=ok";</script>

How to enable latest Twitter feeds for organization in Sitecore 8

I am working on sitecore 8, I have installed MongoDB and I am wondering how i can get the Social Media enable in my sitecore. I want to show the latest twitter feed of the organization on page. Through some search I got to know sitecore 8 have given this feature out of the box.
Could anyone help me in this.
Thanks in advance.
Why do you need to do it via Sitecore?
Twitter has page for creation widgets: https://twitter.com/settings/widgets/new (You should be logged in to Twitter to create widget). You are able to create any widget for organization (by Twitter username), for tag (by Twitter hashtag), etc. You can copy code from Twitter to your sublayout and use it.
It has sense to do it using Sitecore Social only if you want to show different Twitter spots for different Twitter users.(But you said that you want to do it for organization). In this case, please follow documentation on dev.sitecore.net or sdn.sitecore.net
widgets are soon to be deprecated, try to use https://publish.twitter.com/ instead, it provides several options to customize how you want the feed to be viewed, and you'll only need to include the html in the layout or specific view you want in sitecore.

Joomla 2.5 override to not allow author to edit his published article

With Joomla 2.5 an author is allowed to edit his/her article even after it is published.
I would like to perhaps use a Joomla override to not allow this.
See the Edit Own option in Article Manager Options which states the following:
Allows users in the group to edit any content they submitted in this extension.
Go to Article Manager -> Article Manager Options -> Permissions tab -> Click 'Author'
An image showing where it's located:

How to add Announcement list/webpart to Publishing Portal

I have a Publishing Portal site and I need to add some announcements to some of the pages. I've read an article which says that i have to create an announcement list to be able add an announcement web part but i can't seem to find any resources on how i can add an announcement list.
Any help will be greatly appreciated.
TIA!
Your problem is that you have not activated the relevant feature on the site settings page. You need to go to the site collection site settings page. Then select Site Actions - manage site features
Then activate the feature called Team Collaboration lists. You will now be able to create an announcement list
From the home page of your site (or from any page really) you should see a "View All Site Content" link on the top of the navigation menu.
View All Site Content http://friendfeed.s3.amazonaws.com/86fed07f0809beefaeeaee0013ee2b952079bc09
Click on that link and it will show you a dashboard listing all of the SharePoint lists that have been provisioned for the current site. Click on the Create button to create a new SharePoint list.
Create new SharePoint List http://friendfeed.s3.amazonaws.com/6c0b244801826f8b3ee01811211b88668ba8f713
From there you will see the option to create an Announcments list (under the Communications header). Complete the wizard to complete the list.
Once the list is created you can select Edit Page from the Site Actions menu on any SharePoint page in the site and then select a "Add a Web Part" on the web part zone you want to put your Announcements web part into. You should now see a web part listed with the same name as your Announcements list that you just created.
Select that web part to add it to the page and display.
Hope that helps. If this isn't the answer to your problem leave a comment or update your question with clarification and I will try to help.
Giving you direct instructions on how to create the list would most likely leave you more lost than ever. If this is a publishing portal, there's a lot more to learn beyond just creating a list. Content must be approved, and is versioned. I'd strongy advise you not to start poking around in there as you run a large risk of messing up the portal. Don't get stressed by people demanding you perform such things without having received any training. Grab yourself a coffee, flip your boss the finger and watch some pertinant webcasts on http://office.microsoft.com/en-us/sharepointserver/FX101211721033.aspx
Hope this helps,
Oisin