|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
properties filesI have a site that uses the code below to insert a link in the
header of a page:
<div
class="hdrtxt">#if ( $!content.OfficeLocator2 &&
$!content.OfficeLocatorText2 ) | <a class="bluebarlink"
href="$home/$!content.OfficeLocator2">$!content.OfficeLocatorText2</a>#end #if ( $!content.OfficeLocator3 &&
$!content.OfficeLocatorText3 ) | <a class="bluebarlink"
href="$home/$!content.OfficeLocator3">$!content.OfficeLocatorText3</a>#end </div>
I had a property file for each of the page that looks similar to
the below:
<page>
<property name="title">John Smith,
M.D.</property>
<property
name="OfficeLocator">us/cincinnati/pediatrics.html</property>
<property name="OfficeLocatorText">Cincinnati
Pediatrics</property>
<property
name="OfficeLocator2">us/dayton/pediatrics.html</property>
<property name="OfficeLocatorText2">Dayton
Pediatrics</property>
</page>
Recently something has changed causing the first OfficeLocator
not to appear. And the second to show as the first. If i only have one
OfficeLocator that one does not show now until i add the same data
into the OfficeLocator2 property. But if I remove the first
Officelocator than the second does not show again.
I'm trying to locate what is different that made this break on
me. Could it have anything to do with the way the header code is
written?
Any advise would be appreciated.
-- - Scott / Hofmann Design
|
|
|
|
|
|
Password protecting a single pagesHi,
I want to password protect a single webpage in a
way that when that page is invoked, it takes you to the usual openedit login
screen where you can enter admin login and password and then it allows you to
view that page.
How can I do it?
Thanks.
Shakeel Ahmad
|
|
|
Re: Password protecting a single pagesIf the page was restricted.html you would create a file called restricted.xconf in the same directory and place the following in it:
<page> <view-requirements>
For more see: http://www.openedit.org/contentmanagement/View_Permissions.html On 9/24/07, Shakeel Ahmad <shakeel.ahmad@...> wrote:
|
|
|
Re: Password protecting a single pagesThanks. It worked smoothly.
|
| Free embeddable forum powered by Nabble | Forum Help |