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)
Related
The project I'm working on is a new Sitecore 8 site build using MVC and with a demand for page-editor support. The simple fields are being addressed with the FieldRenderer.render() method, but there are also some droplink and multilist fields that need to be available in page editor.
In webforms you could use the sc:editframe control for that, but how can I get the same functionality while using Sitecore MVC?
Just an FYI in Sitecore 8.2 there is support for edit frames:
#using Sitecore.Mvc.Extensions
Then
#using(Html.EditFrame(...)) {...}
If not already, I highly recommend using GlassMapper to map your Sitecoce object to strongly typed objects in your code.
With Glass, you can then use the BeginEditFrame concept to replace the sc:EditFrame functionality of WebForms.
To take it a step further, look to implement edit frame buttons (this link is not Sitecore 8 specific, but the method to implement edit frame buttons is the same) in the core database to allow a very-friendly Experience Editor experience.
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!
I'm having issues getting the modern theme to work with django-tinymce. Both the simple and the advanced themes render correctly, but when I switch to the modern theme nothing renders and I get a 404 error for /static/tiny_mce/themes/modern/editor_template.js in the console
I am attempting to do all of this in the django admin. The error is coming from /static/tiny_mce/tiny_mce.js which is interesting because I don't have anything installed in that directory. I'm using /static/js/tinymce as my TINYMCE_JS_ROOT in settings.py. When switching between simple and advanced theme, everything works correctly.
I've tried to copy a version of editor_template.js in the exact location it's looking, but I still get the 404. It's like it wipes out /static/tiny_mce if it exists and replaces it with something, but I can't figure out how/where it's getting that from.
I'm using an install of TinyMCE 4.1.3 from http://www.tinymce.com/download/download.php and django 1.6.5
I've been struggling with TinyMCE recently, as well. I'm using TinyMCE v4 and Django 1.6. I went down the django-tinymce/django-flatpages-tinymce route because I had these working on another project. Some how it wasn't working for this new project. I did some research and decided to just go straight TinyMCE, no Django applications (eg, no django-tinymce or django-flatpages-tinymce).
This method cuts down on all configuration in Django, and it can be completely handled within the tinymce.init call. I found this much easier than dealing with Django's settings files, overriding models, etc. Just simply find the template you want TinyMCE to spice up and add the init call there.
The example here for full featured example really helped me:
http://www.tinymce.com/tryit/full.php
This use the modern theme...
I simply added this to whichever change_form.html template for whatever model I was needing the rich editor. For instance for flatpages:
admin/flatpages/flatpage/change_form.html
Or custom model in app:
admin/custom_app/model_name/change_form.html
I know this is exactly an answer to your question, but I think it's worth thinking about and might help you ultimately get what you need.
Also, I should note, it looks like only modern theme is available for TinyMCE v4:
http://www.tinymce.com/wiki.php/Tutorial:Migration_guide_from_3.x
I am building out a site using the Foundation framework (http://foundation.zurb.com/). I want to offer users a "Show Full Desktop Site" link on the site that allows the desktop/large version of the site to be loaded even on small devices.
What would be the best way to go about this?
This site offers one solution: http://css-tricks.com/user-opt-out-responsive-design/
A quick summary: you can prefix your responsive styles with a .resp class, and then add the .resp class to your body tag based on whether or not a query string parameter is present.
I have user generated context that extends multiple paragraphs. I'd like to enable the user to create paragraphs, possibly change font-weight, but nothing too huge.
I've seen a tutorial which uses the Python-Markdown module. Would anyone recommend this or should I just go with a WYSIWYG plugin? I've seen plugins for the admin but have not yet seen it applied to a general Django template.
Thanks
Brendan
I have used django tiny-mce with tinymce in my comment app and is working. Defining plugins for this WYSIWYG editor is easy and comes only to specifying name of plugin in settings.py and JS file.
MarkItUp! editor can help http://markitup.jaysalvat.com/
It have many rich features, includes django model class MarkupField(models.TextField), JS-settingynized editor's toolbar, etc.