• Jan
  • 10
  • 2012

Porting your users from joomla 1.0 to 1.5…More on archaeological computing

Posted by admin In Joomla 1.0, Slides | No Comments »

In order to export your users to Joomla 1.5 from 1.0. You need to convert the following tables..

jos_users

jos_core_acl_aro

jos_core_acl_groups_aro

That’s it..!

  • Dec
  • 01
  • 2011

Insert Reader speaker on every post, as default, Joomla 1.0

Posted by admin In Slides | No Comments »

For what is worth.

This one, was like correcting Aristotelian scripts on some minimal punctuation , but anyhow…

It may help to add any other default (item module etc) in Joomla 1.0. This example to add reader speaker, with the option readthis activated, so the full content has to be contained into <div>full article</div>

May also work for list articles, but then speaker reader for joomla 1.0 do not support multiple instances of a button on the same page… some count has to be implemented to define instances of the button, but joomla 1.0 its so old, that who really cares..

In ../components/com_content/content.php

line 1594


// show/hides the intro text

	if ( $params->get( 'introtext'  ) || empty($row->fulltext) ) {
		$row->text = $row->introtext.
( $params->get( 'intro_only' ) ? '' : chr(13) . chr(13)  .$row->fulltext);
	}
 else {
		$row->text = '<p>{readspeaker}</p>
               <div id="rspeak_read_this">'.$row->fulltext.'</div>';
	}

ReadSpeaker starts in the first <p> and also reads <title> and <alt>.

  • Dec
  • 01
  • 2011

Validation of Joomulus for Joomla 1.5 as XHTML 1.0 Strict

Posted by admin In Slides | No Comments »

The attributes <tags> and <target> aren’t valid XHTML 1.0  Strict.

Tag was already replaced on the original post here as commented by “akel”

Still target attribue, on a new window is considered un-polite, in my example wasn’t need, so I’d just get rid of it.. now “Validates.!”

Line 18

Code:

$tagcloud = '<tags>';


to

Code:

$tagcloud = '<span>';


Line 21:

Code:

$tagcloud2 .= "<a href='".$this- >options[$count.'_url']."' style='font-size:".$this- >options[$count.'_size']."'>".$this- >options[$count.'_name']."</a>\n ";


to

Code:

$tagcloud2 .= "<a href='".htmlentities($this- >options[$count.'_url'])."' style='font-size:".$this- >options[$count.'_size']."'>".$this- >options[$count.'_name']."</a>\n ";


and Line 29

Code:

$tagcloud .= $tagcloud2.'</tags>';


to

Code:

$tagcloud .= $tagcloud2.'</span>';


  • May
  • 06
  • 2011

about master pages

Posted by admin In asp.net, The Basics, Umbraco | No Comments »

In a nutshell, a master page is a special type of ASP.NET page that defines the markup that is common among all content pages as well as regions that are customizable on a content page-by-content page basis. (A content page is an ASP.NET page that is bound to the master page.) Whenever a master page’s layout or formatting is changed, all of its content pages’ output is likewise immediately updated

 

  • May
  • 05
  • 2011

Xpath in Umbraco

Posted by admin In The Basics, Umbraco, Xpath, XSLT | No Comments »

Xpath syntax

Expression Description
nodename Selects all child nodes of the named node
/ Selects from the root node
// Selects nodes in the document from the current node that match the selection no matter whey they are
. Selects the current node
.. Selects the parent of the current node
@ Selects attributes

Examples on Simple Xpath Syntax

//RunwayTextPage

Get a child node with the name “RunwayTextPage”

/@ID

Gets an attribute with name “ID”

/TextPage [@ID=2233]

Get TextPage Element based on an attribute value

  • May
  • 04
  • 2011

The $currentPage variable Umbraco

Posted by admin In The Basics, Umbraco, XSLT | No Comments »
$currentPage

Referrers to the context in which the xslt macro is executed.
A macro is always placed on a content page, so $currentPage variable refers to that page

  • May
  • 04
  • 2011

Umbraco XSLT if/else statement

Posted by admin In The Basics, XSLT | No Comments »
<xsl:choose>

<xsl:when test="$currentPage/@id=1234">
<h1>This is Page with ID 1234</h1>
</xsl:when>

<xsl:when test="$currentPage/@id=2000">
<h1>This is Page with ID 2000</h1>
</xsl:when>

<xsl:otherwise>
<h1>This is Page with some other ID</h1>
</xsl:otherwise>
</xsl:choose>
  • May
  • 04
  • 2011

Umbraco XSLT If Statement

Posted by admin In The Basics, XSLT | No Comments »
<xsl:if test="$currentPage/@id=1234">
<h1>This is the page with ID 1234</h1>
</xsl:if>
  • May
  • 04
  • 2011

Umbraco XSLT For-each loop

Posted by admin In The Basics, XSLT | No Comments »
<ul>
<xsl:for-each select="$currentPage/runwayTextPage">
<li><xsl:value-of select="@nodeName"/></li>
</xslt:for-each>
</ul>
  • Apr
  • 30
  • 2011

The Avogadro skin

Posted by admin In Umbraco | No Comments »
The Avogadro skin

A mix of a fluid/elastic css ruled skin, to play in Umbraco.

At least from my level its going to be huge. Fabrizio Is making amazing advances on the admin panel, which will really make the package fly.

I’m trying to resume here.

So we’re building a Umbraco Framework, that includes a revision of the binary installs, mainly to document them.

Attempting to  use it, with VistaDB, that from the available info is more than a challenge.

Modify the admin panel, by creating new sections, friendly (non expert friendly users), cause you can say what you want but, a Tree view is just friendly for monkeys and IT experts.

Create a skin, re-sizable that rules all the worlds via CSS

All this comes in a pretty graphic scheme, a powerful image gallery, and a catalogue to classify items.

Better for the first days of June, even better if we make it functional for the CODEGARDEN 2011.

Today we had confirmed that we are going to be there.

UA-12442755-18