Showing posts with label JOOMLA. Show all posts
Showing posts with label JOOMLA. Show all posts

Friday, March 9, 2012

Añadir swf a joomla

Indudáblemente hay varias formas de colocar banners en el sitio Joomla!, en este caso veremos como insertar banners con el método de crear un nuevo modulo; es relativamente
fácil si comprendemos el manejo correcto del código que permite visualizar el archivo .swf, veamos el siguiente ejemplo de como hacerlo:
Para ello debemos contar previamente con el archivo .SWF que deseamos insertar como
banner en el front page de Joomla! o en cualquier sección del sitio. Después crearemos un Modulo Nuevo desde el Administrador mediante la ruta Modules>>SiteModules>>New

Despues creamos el nuevo modulo como vemos en la imagen siguiente:

Se abrirá el contenido del nuevo modulo, pero antes generamos el código de siempre de flash, les recomiendo usar el editor de su agrado para realizar dicha acción, si es que no cuentas con una idea de como hacerlo; en este caso utilizaré Dreamweaver para llevarlo a cabo, ¿cómo? observa la siguiente  imagen :

Como puedes apreciar ahora, el código para insertar un archivo flash se ha creado y aparece en negrita en la parte superior del Dreamweaver (codigo), y en la parte de diseño se muestra claramente lo que será la imagen de flash.

Este código que generamos lo debemos insertar en la caja del editor en nuestro
Modulo Nuevo que pasos atrás creamos, el dato importante es hacerlo en modo HTML,
esto se puede lograr ejecutándo el icono de HTML de tu editor, observa la siguiente imagen:

Se abrirá un Popup en modo HTML, es ahí donde colocaremos el código que activa el archivo .swf que generamos en el Dreamweaver.

Ejecutamos el boton Update y de esta forma lograremos insertar el código en el
contenido del nuevo modulo.

Designamos el nombre del modulo (si queremos que aparezca el nombre lo seleccionamos), la posición que ocupará para mostrarse en el front page o cualquier sección de tu sitio, lo publicamos y Listo!

Ya tenemos nuestro banner insertado en Joomla! Este procedimiento lo puedes hacer tantas veces quieras para publicar infinidad de banners en tu sitio web.
El código que normalmente se usa para un sitio vivo es de esta forma:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="150" height="100">
<param name="movie" value="http://www.tusitio.com/images/tuarchivo.swf">
<param name="quality" value="high">

</object>
Los parámetros a cambiar serían www.tusitio.com/images/tuarchivo.swf, recuerda siempre tener en cuenta la ruta absoluta que enlace a donde se encuentre tu archivo swf.
Otras alternativas pueden ser utilizando el mambot Load Module Positions , y otra más el mambot InsertModule o {modulebot}
Eso es todo amigos, esperamos les sirva este tutorial.
saludos
Alicante

Ocultar el texto de introduccion en un articulo

Habrás notado que el texto introductorio que acabas de leer no aparece en esta vista. Justamente esa es la funcionalidad de la que nos habla el bueno de Andrew.
Cada vez que escribimos un artículo, en la parte derecha tenemos tres sliders:
Parámetros del artículo
Parámetros avanzados
Información de metadatos
Si desplegamos el 2º, parámetros avanzados, veremos una serie de variables relativas casi todas a la visualización del artículo en el modo de vista "blog". La que nos ocupa en este caso es la tercera, "Texto introductorio".
Si ponemos esta variable en "Ocultar", conseguiremos el efecto que comentábamos en el primer párrafo, esto es, el texto introductorio que teníamos en la portada, desaparece al pasar a la vista "blog" del artículo.
¿Y para qué demonios sirve esto? Pues básicamente para tener la libertad de utilizar dos formatos distintos dentro del mismo artículo. Por un lado, tendremos el formato del texto introductorio, que podremos adaptar a muchos escenarios distintos: una portada en la que se muestra sólo los textos introductorios de los artículos bajo su título y acompañados de una pequeña imagen descriptiva, un módulo de "últimas noticias" que aparece en una caja pequeña y en el que sólo podemos mostrar un resumen muy escueto del contenido del artículo... Y por otro, el formato de vista tipo "blog" que mostrará el artículo completo para su lectura, en el que generalmente las imágenes serán más grandes y podrán ir situadas en lugares distintos a los que se usan en la portada, y en el que a veces se usa la paginación.
No es que no se puedan usar dos formatos sin no se configura el parámetro "Texto introductorio" como "Ocultar", pero es evidente que si se hace sin ocultar este texto, al visualizar el artículo completo en la vista "blog" el efecto visual será mucho peor. En sitios en los que la presentación de la portada no varía demasiado esto no afecta apenas, pero igual no nos hemos puesto a cambiar el estilo de nuestra portada precisamente porque al pasar a la vista "blog" se vería todo distinto. ¿A cuántos nos ha pasado que hemos puesto una imagen relativamente grande en el texto introductorio que se veía bien en el editor pero que al cargarse en esa portada a dos columnas de nuestro sitio lo descuadraba todo? ¿O ese texto introductorio que nos quedaba perfecto pero que al cargarse en ese módulo de "últimos artículos" que usa efectos super molones quedaba excesivamente grande?
El uso de esta funcionalidad nos permite diseñar la introducción de nuestros artículos a modo de tráiler cinematográfico, usando imágenes con un tamaño adaptado al módulo o a la portada en la que se muestran, y con una tipografía que puede ser más o menos grande, en función del espacio del que se disponga para cada artículo. Y, al mismo tiempo, nos permite redactar nuestros artículos con un texto que no empiece con una introducción que tiene poco sentido al verla formando parte del resto del artículo, y también nos da más libertad a la hora de insertar imágenes en él, pues la visualización en formato "blog" es mucho más "estable", pues no depende de si se publican más o menos artículos antes o después.

Como mantener un articulo en 1ra pagina

A veces nos interesa mantener un artículo determinado en la parte superior de la página principal, incluso aunque vayan apareciendo nuevos artículos. ¿Cómo podemos conseguirlo?
La solución no puede ser más sencilla: basta con acceder a la zona de administración y, una vez allí, acceder a Contenidos -> Administrador de la portada. Aquí se nos despliega una tabla con todos los artículos que están publicados en la página principal. En general estarán ordenados según su fecha de creación, de más nuevos a más antiguos.
Pues bien, el truco consiste simplemente en cambiar el valor de la columna "Orden" del artículo en cuestión por "-1" (menos uno, sin las comillas), y guardar el cambio pinchando en el iconito de un diskette que aparece en el encabezamiento de dicha columna.
De esta forma tan sencilla, cuando tengamos un artículo importante que queramos mantener visible durante un tiempo podremos hacerlo sin necesidad de complicarnos más la vida colocándolo en un módulo.

Otros conceptos

Content

Joomla! makes it extremely easy to add and display content. All content is placed where your mainbody tag in your template is located. There are three main types of layouts available in Joomla! and all of them can be customised via parameters. The display and parameters are set in the Menu Item used to display the content your working on. You create these layouts by creating a Menu Item and choosing how you want the content to display.

Blog Layout

Blog layout will show a listing of all Articles of the selected blog type (Section or Category) in the mainbody position of your template. It will give you the standard title, and Intro of each Article in that particular Category and/or Section. You can customise this layout via the use of the Preferences and Parameters, (See Article Parameters) this is done from the Menu not the Section Manager!

Blog Archive Layout

A Blog Archive layout will give you a similar output of Articles as the normal Blog Display but will add, at the top, two drop down lists for month and year plus a search button to allow Users to search for all Archived Articles from a specific month and year.

List Layout

Table layout will simply give you a tabular list of all the titles in that particular Section or Category. No Intro text will be displayed just the titles. You can set how many titles will be displayed in this table by Parameters. The table layout will also provide a filter Section so that Users can reorder, filter, and set how many titles are listed on a single page (up to 50)

Wrapper

Wrappers allow you to place stand alone applications and Third Party Web sites inside your Joomla! site. The content within a Wrapper appears within the primary content area defined by the "mainbody" tag and allows you to display their content as a part of your own site. A Wrapper will place an IFRAME into the content Section of your Web site and wrap your standard template navigation around it so it appears in the same way an Article would.

Content Parameters

The parameters for each layout type can be found on the right hand side of the editor boxes in the Menu Item configuration screen. The parameters available depend largely on what kind of layout you are configuring.

Cambiar la posicion del menu

Para cambiar la posicion de los menu
Go to  Extension >Modulo Manager
Select de Menu
Change de position

Conceptos en Joomla

Plugins are small task oriented extensions that enhance the Joomla! framework. Some are associated with particular extensions and others, such as editors, are used across all of Joomla!. Most beginning users do not need to change any of the plugins that install with Joomla!. Help

 Templates give your site its look and feel. They determine layout, colors, type faces, graphics and other aspects of design that make your site unique. Your installation of Joomla comes prepackaged with four templates.

Modules are small blocks of content that can be displayed in positions on a web page. The menus on this site are displayed in modules. The core of Joomla! includes 17 separate modules ranging from login to search to random images. Each module has a name that starts mod_ but when it displays it has a title. In the descriptions in this section, the titles are the same as the names.
  • Content Modules
    Content modules display article and other information from the content component.
  • User Modules
    User modules interact with the user system, allowing users to login, showing who is logged in, and showing the most recently registered users.
  • Display Modules
    These modules display information from components other than content and user. These include weblinks, news feeds and the media manager.
  • Utility Modules
    Utility modules provide useful functionality such as search, syndication, and statistics.
  • Navigation Modules
    Navigation modules help your visitors move through your site and find what they need.
    Menus provide your site with structure and help your visitors navigate your site.  Although they are all based on the same menu module, the variety of ways menus are used in the sample data show how flexible this module is.
    A menu can range from extremely simple (for example the top menu or the menu for the Australian Parks sample site) to extremely complex (for example the About Joomla! menu with its many levels). They can also be used for other types of presentation such as the site map linked from the "This Site" menu.
    Breadcrumbs provide users with information about where they are in a site.

    Newsflash Example

    Newsflash is a Module which will display Articles from your site in an assignable Module position. It can be used and configured to display one Category, all Categories, or to randomly choose Articles to highlight to Users. It will display as much of an Article as you set, and will show a Read more... link to take the User to the full Article.
    The Newsflash Component is particularly useful for things like Site News or to show the latest Article added to your Web site.
Components are larger extensions that produce the major content for your site. Each component has one or more "views" that control how content is displayed.In the Joomla! administrator there are additional extensions suce as Menus, Redirection, and the extension managers.

Many of Joomla!'s core features are provided by the use of default Components such as:
  • Contacts
  • Front Page
  • News Feeds
  • Banners
  • Mass Mail
  • Polls
A Component will manage data, set displays, provide functions, and in general can perform any operation that does not fall under the general functions of the core code.
Components work hand in hand with Modules and Plugins to provide a rich variety of content display and functionality aside from the standard Article and content display. They make it possible to completely transform Joomla! and greatly expand its capabilities.

Extensions:The Joomla! content management system lets you create webpages of various types using extensions.
There are 5 basic types of extensions:
components
modules
templates
languages
plugins.
Your website includes the extensions you need to create a basic website in English, but thousands of additional extensions of all types are available.
The Joomla! Extensions Directory is the largest directory of Joomla! extensions.

 Language. Joomla! is released with multiple Installation Languages but the base Site and Administrator are packaged in just the one Language en-GB - being English with GB spelling for example. To include all the translations currently available would bloat the core package and make it unmanageable for uploading purposes. The Language files enable all the User interfaces both Front-end and Back-end to be presented in the local preferred language. Note these packs do not have any impact on the actual content such as Articles.
More information on languages is available from the
http://community.joomla.org/translations.html

Content

Joomla! makes it extremely easy to add and display content. All content is placed where your mainbody tag in your template is located. There are three main types of layouts available in Joomla! and all of them can be customised via parameters. The display and parameters are set in the Menu Item used to display the content your working on. You create these layouts by creating a Menu Item and choosing how you want the content to display.

Blog Layout

Blog layout will show a listing of all Articles of the selected blog type (Section or Category) in the mainbody position of your template. It will give you the standard title, and Intro of each Article in that particular Category and/or Section. You can customise this layout via the use of the Preferences and Parameters, (See Article Parameters) this is done from the Menu not the Section Manager!

Blog Archive Layout

A Blog Archive layout will give you a similar output of Articles as the normal Blog Display but will add, at the top, two drop down lists for month and year plus a search button to allow Users to search for all Archived Articles from a specific month and year.

List Layout

Table layout will simply give you a tabular list of all the titles in that particular Section or Category. No Intro text will be displayed just the titles. You can set how many titles will be displayed in this table by Parameters. The table layout will also provide a filter Section so that Users can reorder, filter, and set how many titles are listed on a single page (up to 50)

Wrapper

Wrappers allow you to place stand alone applications and Third Party Web sites inside your Joomla! site. The content within a Wrapper appears within the primary content area defined by the "mainbody" tag and allows you to display their content as a part of your own site. A Wrapper will place an IFRAME into the content Section of your Web site and wrap your standard template navigation around it so it appears in the same way an Article would.

Content Parameters

The parameters for each layout type can be found on the right hand side of the editor boxes in the Menu Item configuration screen. The parameters available depend largely on what kind of layout you are configuring.