Hi Josi,
1. Use the page="browse" attribute in the {url ...} call.
2. Smarty's documentation should cover fetching values from arrays -- OTOH, there are a few things you could try:
- Code: Select all
{$parsedContents.description.en_US}
...or, alternately, embed an {if ...} statement in the {foreach ...} to see which locale you're looking for.
Smarty sometimes is a little picky in its syntax; it might help to debug by splitting the array lookup into a few steps, i.e.:
- Code: Select all
{assign var=abstracts value=$parsedContents.description}
{$abstracts.en_US}
...rather than doing both array lookups in the same Smarty tag.
If you like, consider filing the font size plugin in Bugzilla along with a patch to implement it. Contributions are much appreciated!
Regards,
Alec Smecher
Public Knowledge Project Team