HomePage Issue
- From: "wwalkerbout" <wayne (at) walkerbout.com>
- Date: Thu, 7 Dec 2006 17:35:17 -0800
Hi Jonathan,
Below is a dump of my base.tx file:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE blocklayout PUBLIC "-//XAR//DTD BL 1.0 Strict//EN"
"http://xaraya.com/bl1/DTD/bl1-strict.dtd">
<?xar type="page" ?>
<xar:blocklayout version="1.0" content="text/html"
xmlns:xar="http://xaraya.com/2004/blocklayout" dtd="xhtml1-strict">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<xar:comment>set some common local variables</xar:comment>
<xar:set name="themedir">#xarTplGetThemeDir()#</xar:set>
<xar:set name="sitename"><xar:var scope="module" module="themes"
name="SiteName" /></xar:set>
<head>
<xar:template file="headtagcontent_hp" type="theme" />
</head>
<body>
<div id="xc-outer-wrapper">
<xar:template file="pageheader_hp" type="theme" />
<xar:template file="pageblockgroups_hp" type="theme" />
<xar:template file="pagefooter_hp" type="theme" />
</div>
<xar:comment>Body JavaScript - required for all html
themes</xar:comment>
<xar:base-render-javascript position="body" />
</body>
</html>
</xar:blocklayout>
So the "_hp" (homepage), template files are really just a duplicate of the
original Xaraya_Classic based files, allowing me to modify various
components of the Home Page so they differ to the rest of the site (e.g. the
Top and Botton Nav Bars).
Does this help? Please let me know if you need further information.
Cheers,
Wayne
"Jonathan Linowes" <jonathan (at) parkerhill.com> wrote in message
news:mailman.161.1165536668.6153.xaraya_devel (at) xaraya.com...
> what's your base.xt file look like?
>
>
> On Dec 7, 2006, at 7:02 PM, wwalkerbout wrote:
>
>> Hi,
>>
>> In the Base Module, when I use the "Base" Module as the "Default Module"
>> it
>> is my understanding that in my Theme, the "\pages\base.xt" template
>> becomes
>> the default for the Home Page.
>>
>> I have set that "base.tx" template up to pull a very simple format
>> display
>> (an image and a little text in the Content area and simplified menus),
>> using
>> an Article Type of "homecontent" that I have created. But when I do
>> that, I
>> get the following error message:
>> ===========
>> Missing Data
>> Failed to retrieve Content in articles_user_get.php
>>
>> Problem:
>> A value was expected during this operation, but none was found.
>>
>> ===========
>>
>> In the Base Module settings, when I use the "Article" Module as the
>> "Default
>> Module" and then use the "frontpage" status type for the Article I want
>> to
>> display on the Home Page, then that error goes away and everything seems
>> to
>> display just fine. But I want to display a different Top and Bottom Nav
>> Bar,
>> hence my wish to use the "Base" module as my default (to provide more
>> control over the full Home Page content).
>>
>> Does anyone have any idea on what would cause this error message and how
>> I
>> would go about correctling it?
>>
>> Cheers,
>>
>>
>>
>> Wayne
>>
>>
>> _______________________________________________
>> Xaraya_devel mailing list
>> Xaraya_devel (at) xaraya.com
>> http://xaraya.com/mailman/listinfo/xaraya_devel
>
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_devel