Re: Multiple copies of template appearing

2011-06-27 Thread Wayne Bouwmeester
Thanks for the replies - sorry for the lag in responding.
@Emily - good thought, but It's creating duplicate templates, not
duplicate classes.
@Kenny - Version 9.0.0.41. and we're not sharing classes in a master/
child setup - just one project.
@Marco - not on V10, and not sharing classes, but I'll still inquire.

I may have to just clean it out and assume it's gremlins unless it
hapens again...
It may have happened around the same time I set content class
versioning to automatic, which shouldn't create more templates, but
you never know...
Thanks for the help.
I'll fix things and let you know what I did just incase it happens to
anyone else.
(I'm still left with the scenario of project variants assigened to
more than one template - which theoretcially can't happen.)

Wayne.

On Jun 21, 3:12 pm, Wayne Bouwmeester 
wrote:
> Hi Folks,
> I have a really strange occurrence. I'm wondering if anyone else has
> had to deal with it.
> I cracked open my main content class and found 11 extra templates with
> the same name.
> I originally had two: backup and current.
> Now I have one backup and 12 named current.
> There are four project variants - each of which were assigned to a
> couple of of the "current" instances.
> and some of them didn't have any project variants assigned.
> Also, when I open them, half of them are the code for the foundation
> class, the other half are the code for my main style sheet.
> Placeholders are not defined though.
> I'm at a loss to understand how this could have happened.
>
> While writing this post, I tried to create a copy of one, to see if
> you can actually name a template with the same name as an existing
> one. Yes you can, and then it cut my number of "current" templates
> down to 8.
>
> Complete strangeness.
> Any suggestions? I'm not even sure which one is being used to generate
> the site right now...
>
> Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Multiple copies of template appearing

2011-06-21 Thread Wayne Bouwmeester
Hi Folks,
I have a really strange occurrence. I'm wondering if anyone else has
had to deal with it.
I cracked open my main content class and found 11 extra templates with
the same name.
I originally had two: backup and current.
Now I have one backup and 12 named current.
There are four project variants - each of which were assigned to a
couple of of the "current" instances.
and some of them didn't have any project variants assigned.
Also, when I open them, half of them are the code for the foundation
class, the other half are the code for my main style sheet.
Placeholders are not defined though.
I'm at a loss to understand how this could have happened.

While writing this post, I tried to create a copy of one, to see if
you can actually name a template with the same name as an existing
one. Yes you can, and then it cut my number of "current" templates
down to 8.

Complete strangeness.
Any suggestions? I'm not even sure which one is being used to generate
the site right now...

Wayne.


-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Import (or bulk update) Attributes ONLY into LiveServer

2010-10-04 Thread Wayne Bouwmeester
Yes, I believe so. Look in the dynament manual (I'm using the 4.0
manual) for "Importing the Reference List for Metadata"
It tells you the syntax of the XML you'll need to generate.
I've only done it from CMS to DS, but I assume you just import the XML
file as a file import, and as it imports the file, it processes the
nodes you have in there for each file name. If you don't have unique
names project wide, make sure to enter something in the group
attribute.
You should be able to get eveything you need to construct the XML file
out of verity in the first place.
You many have to chink it up a bit - I'm not sure what kinds of limits
you'll hit in file size and processing times.



On Oct 4, 12:52 pm, "Brian B."  wrote:
> Since I was unable to find a way to get the file name in a Verity
> search 
> (see:http://groups.google.com/group/reddot-cms-users/browse_thread/thread/...)
> it appears I need to add the file name as a content attribute to
> thousands of files already indexed in LiveServer.
>
> We've got a fix going forward to add the file name as an attribute to
> new files but it does not affect the existing files. The files do not
> come out RedDot CMS but instead we use an import job to grab the files
> and XML description of the associated metadata from another system.
>
> We need to do this without the actual files being uploaded again as
> that would be very disruptive due to the size and quantity of
> documents and files involved. Can I create my import definition file
> without the actual associate files and have just the metadata be
> updated by the import?

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: LiveServer and Verity search by file name

2010-09-30 Thread Wayne Bouwmeester
I think constraints is still the way to go.
For files you are publishing out of CMS now, could you get the file
name in there as an attribute?
For files that exist only on DeliveryServer (That sounds like the
case) maybe you could build something that can be used to assign the
file name as an attribute. Do a search, and with your xsl, write the
import dynament that is required to assign the file name to a file
name attribute. Then save the results, and import them, which will
create the attributes. (You're basically just generating some one-time
use code)
Then all your old files have a file name attribute, and you new ones
are kept up to date.
In you constraint, I believe you can do a containsany to see if your
file name is contained in the string of names.

Theoretically there should be a way to query the fie name, but I think
at a verity level it would be ugly.
You need to search the string, not the file name, and the string isn't
indexed.
So you'd end up doing a bunch of OR fileName MATCHES statements for
each file name in the string, and ANDing it to the query.
Wheas contains any in a constraint checks to see if your value (file
name) appears in the multivalued list.

Might this work for you?


On Sep 29, 11:12 am, "Brian B."  wrote:
> That will not work. The parameters and groups change based on users
> and date etc etc etc.
>
> Back to the original topic, does anyone know if I can search file
> names in LiveServer?
>
> On Sep 29, 11:34 am, "Henry Lu a.k.a. Javahand" 
> wrote:
>
> > Then fight the battle the easier way -- organize the files you actually want
> > to search into content groups whose names you specify in your search
> > dynaments.
>
> > On Wed, Sep 29, 2010 at 12:13 PM, Brian B.  wrote:
> > > Unfortunately there are too many old files to use the filename as
> > > attribute method which is why I need access to the actual LiveServer
> > > Name value. There is over 100+ gigabytes of old ppt, xls, and docs
> > > that I need this attribute for and no good way (that I know of) to
> > > bulk add the new attribute it to the mass amounts of old files.
>
> > > On Sep 28, 3:48 pm, "Henry Lu a.k.a. Javahand" 
> > > wrote:
> > > > Brian--
>
> > > > If the exclusion of those files are a permanent arrangement and --
> > > assuming
> > > > they are published into LiveServer via RedDot CMS -- you can use
> > > LiveServer
> > > > contraint and specify the content of those file "not searchable".
>
> > > > If the exclusion is contingent on which search dynament is doing the
> > > actual
> > > > search, you can embed the file name into the content of the file via
> > > keyword
> > > > import dynament so that the filename itself becomes a meta field
> > > (LiveServer
> > > > content attribute) and can be used to match your search.
>
> > > > When you use the second method though, the attribute really does not 
> > > > have
> > > to
> > > > be the file name, as long as you have an attribute affiliated with the
> > > > published file that helps you achieve perfect exclusion, it does not
> > > matter
> > > > whether it is the file's name or not.
>
> > > > Henry
>
> > > > On Tue, Sep 28, 2010 at 12:12 PM, Brian B.  wrote:
> > > > > I know you can search based off the group a file is in within
> > > > > LiveServer (for example: CIS_GROUP  'reports') but can't
> > > > > seem to figure out how to search the actual file name. Is that an
> > > > > option?
>
> > > > > I have a list of files in a session variable that a user should have
> > > > > access to, and I want to run a verity search that only returns files
> > > > > if they match the search terms AND the file name is in the list.
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "RedDot CMS Users" group.
> > > > > To post to this group, send email to reddot-cms-users@googlegroups.com
> > > .
> > > > > To unsubscribe from this group, send email to
> > > > > reddot-cms-users+unsubscr...@googlegroups.com
> > > 
>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/reddot-cms-users?hl=en.
>
> > > > --
> > > > 646-807-8683
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "RedDot CMS Users" group.
> > > To post to this group, send email to reddot-cms-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > reddot-cms-users+unsubscr...@googlegroups.com
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/reddot-cms-users?hl=en.
>
> > --
> > 646-807-8683

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Helicon, Delivery Server, and Session State

2010-09-17 Thread Wayne Bouwmeester
Thanks Danny. That was the exact problem.
Makes perfect sense now.
Wayne.

On Sep 17, 1:00 am, Danny Baggs  wrote:
> One thing to check may be the "path of the session ID cookie" in the project
> settings.  This will tell the browser, which URL paths this cookie applies
> to.
>
> Typically, when using rewriters and you have a dedicated box, you need to
> set that to '/' so that the session cookie is sent for all requests.
>
> Let me know if that doesn't address the issue.
>
> Dan
>
> On 16 September 2010 23:44, Wayne Bouwmeester
> wrote:
>
> > Hi everyone,
> > We're implementing a site on Delivery Server and having trouble
> > maintaining session state.
> > Setup:
> > A load balancer directs traffic to one of three DS servers,
> > maintaining ensuring session from a box perspective.
> > (i.e. you don't end up on a different delivery server after you start
> > your visit)
> > Helicon is rewriting site.ca/folderXYZ/page123.html to the standard
> > cps/rde/xchg/siteName/xsl/hs.xsl/-/content/page123.html
> > It's all working really well, except Delivery Server is adding a
> > session ID into the URL when Helicon is used in the mix.
> > I've got it set to use a cookie, and if I hit the site with the full
> > URL, (cps/rde/...) it maintains session via cookie and doesn't add
> > the /SID-fasdfadsfasdfasd/ into the URL as it would when maintaining
> > session via URL.
> > BUT for some reason, when Helicon comes into the picture, it gets the
> > SID into the URL.
> > The only way I see it, is if I request a nonexistent page, and see the
> > URL in the error, with the ID embedded.
> > Also, it gets a different ID on each request ( I can sit on the 404
> > page hitting refresh seeing the /SID-dsafasdfasd/ change in the URL of
> > the error text.) So it's obviously can't maintain state that way.
> > Any attributes placed in the session scope are lost on each request.
> > It doesn't happen when hitting DS directly (session scope is then
> > maintained between requests), just when rewriting the URL via Helicon.
> > Any ideas/experience on how to get around this?
> > Thanks!
> > Wayne.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "RedDot CMS Users" group.
> > To post to this group, send email to reddot-cms-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > reddot-cms-users+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Helicon, Delivery Server, and Session State

2010-09-16 Thread Wayne Bouwmeester
Hi everyone,
We're implementing a site on Delivery Server and having trouble
maintaining session state.
Setup:
A load balancer directs traffic to one of three DS servers,
maintaining ensuring session from a box perspective.
(i.e. you don't end up on a different delivery server after you start
your visit)
Helicon is rewriting site.ca/folderXYZ/page123.html to the standard
cps/rde/xchg/siteName/xsl/hs.xsl/-/content/page123.html
It's all working really well, except Delivery Server is adding a
session ID into the URL when Helicon is used in the mix.
I've got it set to use a cookie, and if I hit the site with the full
URL, (cps/rde/...) it maintains session via cookie and doesn't add
the /SID-fasdfadsfasdfasd/ into the URL as it would when maintaining
session via URL.
BUT for some reason, when Helicon comes into the picture, it gets the
SID into the URL.
The only way I see it, is if I request a nonexistent page, and see the
URL in the error, with the ID embedded.
Also, it gets a different ID on each request ( I can sit on the 404
page hitting refresh seeing the /SID-dsafasdfasd/ change in the URL of
the error text.) So it's obviously can't maintain state that way.
Any attributes placed in the session scope are lost on each request.
It doesn't happen when hitting DS directly (session scope is then
maintained between requests), just when rewriting the URL via Helicon.
Any ideas/experience on how to get around this?
Thanks!
Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: aspx via Delivery Server

2010-09-14 Thread Wayne Bouwmeester
Thanks for the post Paul.
I did something similar, but since only a few of the files actually
contained .net code that needed to run, we created a rule in Helicon
that served only those pages from IIS when requested by the visitor's
browser.
The rest are still served from Delivery Server. (seems counter
intuitive to serve .aspx pages form DS, but we wanted to keep all
pages as .aspx for consistency so that if we ever moved off DS, the
URLs won't change)
A rule in Helicon serves any pages with the suffix -sfiis (Serve From
IIS)
Seems to work well.
Wayne.

On Sep 7, 2:07 am, PaulG  wrote:
> The way I've achived this was to:
>
> a. publish the CMS content to 2 separate targests (ouraspxcontent
> was in the cms)
> - liveserver; and
> - file system on the web server
> b. create your iis website to point to the folder with the .net files
> c Configure the redirector to only process the relevant
> extensions (or exclude the .net related ones) so that IIS handles them
> directly and doesn't pass them on to tomcat.
>
> e.g.
> /SID*=wlb
> /xbcr*=wlb
> /xcbr*=wlb
> /xchg*=wlb
> /*.htm=wlb
> /*.image=wlb
>
> Paul.
>
> On Sep 7, 2:12 pm, Wayne Bouwmeester 
> wrote:
>
> > We have a medium sized site running on Delivery Server and intend to
> > use it for personalization, social media components, etc. We've setup
> > IIS to talk to Tomcat through the standard connector, and we rewrite
> > URLs on the front end with Helicon. All is working well.
>
> > We have someaspxpages that need to run a few ascx controls. Is it
> > possible to make IIS render theaspxpage that comes back from DS?
> > i.e. run the .net code.
> > My guess from past experience is no, but because necessity is the
> > mother of invention, I ask if anyone has discovered of a big magic
> > button or a really good hack.
>
> > If not, am I at the mercy of the "Application Portal connector"?
> > Has anyone had great success with it?
>
> > Thanks in advance,
> > Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



aspx via Delivery Server

2010-09-06 Thread Wayne Bouwmeester
We have a medium sized site running on Delivery Server and intend to
use it for personalization, social media components, etc. We've setup
IIS to talk to Tomcat through the standard connector, and we rewrite
URLs on the front end with Helicon. All is working well.

We have some aspx pages that need to run a few ascx controls. Is it
possible to make IIS render the aspx page that comes back from DS?
i.e. run the .net code.
My guess from past experience is no, but because necessity is the
mother of invention, I ask if anyone has discovered of a big magic
button or a really good hack.

If not, am I at the mercy of the "Application Portal connector"?
Has anyone had great success with it?

Thanks in advance,
Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Underlying Connection closed

2010-08-26 Thread Wayne Bouwmeester
The CMS is on SQL. I'm not trying to connect to the DB though. The
error comes from the CMS RQL web service.
I'd call it a glitch if it only happened once, but I reserve
"gremlins" for this one.
It happens often enough - especially when the server starts to get
"tired" and needs a reboot.


On Aug 26, 7:36 pm, markus giesen  wrote:
> Are you connecting to a Oracle database or SQL?
> Some Oracle versions seem to "bump out" for a while and then continue
> working as usual..
> Either that or it's a glitch in the Matrix ;)
>
> On 27 Aug., 00:15, Wayne Bouwmeester 
> wrote:
>
> > Hey fellow .net -> CMS developers,
>
> > Every once in a while, when running a longer process form a .net page
> > against the CMS web services, I get the error (WebException): "The
> > underlying connection was closed: An unexpected error occurred on a
> > receive"
> > If I get it while running in debug mode, the code breaks on the error,
> > and I can simply enable editing, are continue running the code.
>
> > Any ideas what this means? It's not Login/Session related because I
> > can continue running with the same login and session, but it means I
> > need to trap the error, and resume as if there isn't one if it occurs.
>
> > Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Underlying Connection closed

2010-08-26 Thread Wayne Bouwmeester
Hey fellow .net -> CMS developers,

Every once in a while, when running a longer process form a .net page
against the CMS web services, I get the error (WebException): "The
underlying connection was closed: An unexpected error occurred on a
receive"
If I get it while running in debug mode, the code breaks on the error,
and I can simply enable editing, are continue running the code.

Any ideas what this means? It's not Login/Session related because I
can continue running with the same login and session, but it means I
need to trap the error, and resume as if there isn't one if it occurs.

Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Having trouble with a simple list and Navigation Manager

2010-08-11 Thread Wayne Bouwmeester
How are you using lst_QuickLinks with nav manager?
It sounds like you are not - but in any case, you can only have one
navigation list per content class for use with nav manager.
You can have other lists, which kick out things like quick links, but
they have nothing to do with how nav manager generates navigation.

If you preview the page, do you see the quicklinks?
I can't spot anything wrong with the code, but there's nothing special
you have to do to make a list work, with or without nav manager turned
on.
Until you are talking about the specific list you identify for nav
manger, it really doesn't have anything to do with nav manager. It's
just a standard list.

You might try remaking a new list with a different name - maybe you
did something incorrectly when setting up the list.
Although I can't think of what that could be.
If you view the source, do you at least get blank UIs?

One thought - sometimes if RedDot thinks it can't publish out a page,
it removes the link for you so that you don't publish a broken link.
Try using file and path only, and making the link yourself, re-
purposing the headline of connected paes or something as the link
text, just to see if that works.

Wayne.

On Aug 3, 8:21 am, webgrl  wrote:
> We have been using RedDot since version 6.5.  I never learned how to
> work with Navigation Manager.  We are now working on setting up our
> site on Management Server 10.0 and I am trying to setup Navigation
> Manager.  I have my main page working that contains all the items
> listed on the Navigation so, to this point I think I'm doing good.
>
> An issue I am having, is that on my homepage, I created a simple list
> called list_QuickLinks.  This is a separate list from the main
> navigation.  This problem is that my list_QuickLinks is not showing
> when I publish the pages.  Why is this simple list not showing?  When
> I go to Browse Navigation | Project | I see the items that I added to
> the list_QuickLinks element.  Below you will find my code for the list
> in the template:
>  style="color:red">[add/remove/sort links] IoRangeRedDotEditOnly>
>         
>           <%list_QuickLinks%>
>                   
>
> Any suggestions as to why this simple list will not work?  Is there
> something special in the Navigation Manager I have to do for all
> lists?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Cheryl Eby

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Publishing Issue

2010-08-11 Thread Wayne Bouwmeester
If you can publish the pages from the list, but not from the page, is
it possible that RedDot can't crawl from the home page to any child
pages?
Sounds strange, but if you can't crawl down the tree, then you can't
publish.
When you published out the home page using the all following and all
related, did the home page publish at least?
Note: checking both following and related is problematic. I almost
wish OpenText would make that a radio button.
I'd suggest only using all following if you are trying to get your
entire site out. Leave related unchecked.
(I won't get into the technical reasons here)
See if that gets you the same results as publishing from the list.

If not, then there is a disconnect between your home page an the rest
of your site.
Make sure you either use lst_nav in a template to generate links, or
in your nav templates to generate navigation links.
i.e. don't hard code any top nav in a way that RedDot can't crawl to
child pages - if that makes sense.

If you look in the publishing log directory of the RedDot install, and
actually open one of the logs, it gives you more detail about the job
than you'd get if you view the log in email or from SmartTree. e.g. it
will give you info on ftp errors. you might want to have a look and
see if you can find more detail about what's happening.

Good luck!
Wayne.

On Aug 11, 8:58 am, Komal  wrote:
> Hello Wayne,
>
> First of All, Sorry for not replying for long. I was busy in other
> stuffs.
>
> I am using FTP server. Infact I left it for a day and still didnt
> work.
>
> I am able to publish my files including the media, actually the
> problem was I was publishing all my pages using the very first page
> "Home" and selecting the option "publish all the fillowing and the
> related pages" which was not working and then I tried to publish all
> the pages froim (lst_nav) which is the link where all my navigation
> pages are created and it worked.
>
> Thanks for your time Wayne!
>
> Regards,
> Komalk

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Checking Filename of published file

2010-07-18 Thread Wayne Bouwmeester
You can also get this info by loading the page via RQL -  it's in the
name element I believe, but I don't think that will solve your
problem.
It only gives you the name as found in the properties of the page.
If this his blank, it doesn't populate it with the result of the
algorithm RD uses to create the page name for you (e.g. GUID v.s. ID,
and 3 or 4 different places to set the extension)

I don't think you can actually find the true URL at the time of pre-
execute without following the same logic as RD does to determine it.
(i.e. checking the various places you can set the extension, in the
correct order of precedence )
Unless, of course, you know for sure that the extension you are
looking to match is only ever set as part of the file name in page
properties.

My guess is that you don't want to include some abc language code if
the extension isn't .abc
Can you tell us a little bit more about what you are trying to do and
maybe we can suggest an alternate way of doing it.

Wayne.


On Jul 18, 6:25 pm, ArryD  wrote:
> Hi Daniel
>
> If you want to try RQL have a look at the listnames query. This is
> from the RQL documentation:
>
> "Use this RQL query to list all file names of existing pages in a
> project.
>
> You assign file names to determine the file name of a published page.
> When no file name is assigned, the page is published using the page ID
> or page GUID as a file name."
>
> Query Example:
>
> 
>   
>     
>   
> 
>
> Server Response:
>
> PAGE:   The PAGE element is repeated for every page with a file name
> guid:   GUID of the page
> headline:       Headline of the page
> name:   File name of the page
>
> Example Response:
>
> 
>   
>           name="filename.htm" />
>     ...
>   
> 
>
> So you would use the guid of the page you are checking to get the file
> name of the page. Hope this helps.
>
> Cheers - Aaron
>
> On Jul 16, 10:30 pm, Daniel  wrote:
>
> > Hello all,
>
> > I want to use some PreExecute Code or RenderTag in a PageTemplate to
> > prevent a part of the template of being published, if the Filename of
> > the published file does not match a certain extension. I tried
> > different things to have this work, but every single try failed with
> > the same result.
>
> > I tried the following:
> > - Render Tags: Context:CurrentMasterPage.GetUrl().EndsWith(Str:php)
> > - Prexecute substr() combined with the
> > Context:CurrentMasterPage.GetUrl()
> > - Prexecute substr() combined with an info element "Page: Published
> > file name"
>
> > The point is that "Context:CurrentMasterPage.GetUrl()" or the info
> > element use to return the correct filename as long as I use it alone
> > or write it directly to the page via an echo for example. But if I use
> > the rendertag EndsWith-method, or the php substr (or any other), then
> > the URL or page name string gets changed in a string like this:
> > /*--IOHREFBEGIN linkguid=GUID pageguid=GUID projectvariantguid=GUID
> > languagevariantguid=GUID islink=1 type=1002 subtype=20*//*--IOHREFEND-
> > */
>
> > If someone out there has an idea how I can solve this, or why RedDot
> > does behave like this, or how I can get around this behavior, I will
> > be more than happy.
>
> > Best regards,
> > Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: RQL and Longtext

2010-07-15 Thread Wayne Bouwmeester
What did you do to get it working?
I did some quick research on it, but couldn't get anything back in the
RQL result either.

On Jul 15, 11:17 am, Luca Loguercio  wrote:
> sorry to bother you guys, it's working now
>
> On Thu, Jul 15, 2010 at 9:48 AM, Luca Loguercio  wrote:
> > Hi all,
>
> > I'm trying to use RQL inside a vbs script to get the preview version
> > of a page. The RQL i'm using is
>
> >  > querystring="Action=Preview&pageguid=" />
>
> > but it doesn't return anything or generate an error.
>
> > When I look in the common log file I see the server's response is simply
>
> > 
>
> > which is the same as what it says if I preview it from the CMS.
>
> > Is there a different method I need to use to access longtext?
>
> > I'me using an object of type RDCMSASP.RdPageData with
> > XmlServerClassName = RDCMSServer.XmlServer and using the
> > ServerExecuteXml method to run the RQL.
>
> > I've looked in the RQL 7.5 documentation and can't find any reference
> > to the  function.
>
> > Any ideas?
>
> > Thanks,
>
> > Luca

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Publishing Issue

2010-07-14 Thread Wayne Bouwmeester
Sounds like the job hasn't finished yet (even though you've given it
plenty of time).
Are you using FTP or file server?

Sometimes, if it has troubles connecting via FTP, it can seem to hang.
Not sure, but I think it continues to try and connect for quite a
while until it finally errors out.
If you leave it for a day or so, do you get anything else in the
report?

What happens if you create a new file server target and publish the
same pages to it?
If that works, then I'd hazard a guess it's FTP connectivity /
permission problems.

Wayne.

On Jul 14, 4:43 pm, Komal  wrote:
> Hello All,
>
> While publishing certain pages, neither I am getting any errors nor am
> I able to publish the pages or any of the media files. The Status
> shown by the job report is "OK" and it doesnot display anything else
> in the publishing report.
>
> Does anybody know what can be the reason for this? If there is some
> problem somewhere atleast I should get some errors or warnings to fix.
> but its just "BLANK".
>
> I have already spent a day working on this but couldnot figue out
> anything. Your suggestions are appreciated.
> Let me know if you require any additional information
>
> Thanks in Advance!
>
> Regards,
> Komal.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: headline render tag not showing latest version

2010-07-12 Thread Wayne Bouwmeester
Is the parent owner page the actual master page (most outer page)?
You could use: Context:CurrentMasterPage.Headline


On Jul 12, 11:19 am, Lise  wrote:
> It's the parent (owner) page headline that I need to display on the
> child page, and then only if the two headlines are different.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Navigation Manager: setting active nodes

2010-07-12 Thread Wayne Bouwmeester
I'm not sure that I agree it's best to leave content pages out of
navigation manager.
I wonder what other developers have to say about it?

The flooding of the nav - might you manage that with levels (don't
display after level 3), and/or using a flag on each page to keep it
from displaying in navigation?

If you make the class in question a master class, do you see a
significant slow down in Smart Edit or Publication?
(after it caches the first time)

How many pages do you anticipate having in your project?

My opinion on target containers: They're an evil legacy ... mostly.
Use with extreme caution.



On Jul 12, 1:18 pm, damon  wrote:
> Hi guys,
>
> I'm using Navigation Manager to create selected and non-selected
> nodes.  In doing this, I've discovered having non master pages in your
> tree causes the navigation to lose it's "path" so to speak; I'm left
> with my navigation set as non-selected for all nodes.
>
> Now, if I change the template to a master page it works fine.  I've
> been taught that it's best to leave content pages outside nav manager
> for a few reasons, one being it'll flood my nav. manager with dozens,
> and later hundreds and possibly thousands of pages in the future.
>
> Is there a way to retain the selected node states in my navigation on
> my non-master content pages?   Seems like I might have to do this
> outside of navigation manager which would defeat its purpose.
>
> thanks
> -Damon

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: newbie RQL question

2010-07-09 Thread Wayne Bouwmeester
oops, I forgot the "then"
(writing too much c#

should be if err.number <>0 then

On Jul 9, 11:03 am, Wayne Bouwmeester 
wrote:
> Yes, that can be quite frustrating. You can try a few things.
>
> First, remove the preexecute tags so that you can see what it is
> writing out.
> It's likely creating a syntax error for you somewhere - I can't see it
> right off the bat.
>
> If that doesn't help, I've sometimes taken that asp code, saved the
> file on the server as an asp page, and run it to see what the real
> error is.
>
> On Jul 9, 10:27 am, DTMOW  wrote:
>
> > It does not compile I just get the 500 server error and of course
> > there are no debugging errors so I'm at a  bit of a loss.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: newbie RQL question

2010-07-09 Thread Wayne Bouwmeester
You can also try adding some local error checking.

before your code add this line:
<% on error resume next %>

after your code, add these lines:
<%
if err.number <> 0
response.write "" & err.description & "
end if
%>

you may need to write out the errors at specific stages, but this
might help you figure out what the last error was at least.
Good luck!

On Jul 9, 10:27 am, DTMOW  wrote:
> It does not compile I just get the 500 server error and of course
> there are no debugging errors so I'm at a  bit of a loss.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: newbie RQL question

2010-07-09 Thread Wayne Bouwmeester
Yes, that can be quite frustrating. You can try a few things.

First, remove the preexecute tags so that you can see what it is
writing out.
It's likely creating a syntax error for you somewhere - I can't see it
right off the bat.

If that doesn't help, I've sometimes taken that asp code, saved the
file on the server as an asp page, and run it to see what the real
error is.

On Jul 9, 10:27 am, DTMOW  wrote:
> It does not compile I just get the 500 server error and of course
> there are no debugging errors so I'm at a  bit of a loss.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: newbie RQL question

2010-07-09 Thread Wayne Bouwmeester
What's the error it reports?

On Jul 9, 10:17 am, DTMOW  wrote:
> Thanks Wayne!
>
> I'm still having some trouble with this
>
> So I now have this and it errors out any idea on what I am doing
> wrong? Thanks again for your help.
>
> function sendXML (XMLString)
>   set objData = server.CreateObject("RDCMSASP.RdPageData") '*
>   objData.XmlServerClassName="RDCMSServer.XmlServer" '*
>   sendXML = objData.ServerExecuteXml(XMLString, sErrors)
>   if sErrors <> "" then
>     response.write "Errors occured: " & sErrors & chr(13)
>   end if
>   objData = NULL
> end function
>
> xmlString = "" &_
>                " password='12345'/>" &_
>             ""
>
> xmlFile = sendXML(XMLString)
> Set xmlDoc = server.CreateObject("Msxml2.DOMDocument.4.0")
> xmlDoc.loadXML(xmlFile)
>
> Set RDxmlNodeList = xmlDoc.getElementsByTagName("LOGIN")
> LOGINGUID  = RDxmlNodeList.item(0).getAttribute("guid")
>
> xmlString = "" &_
>   " useragent='script'>" &_
>     "" &_
>   "" &_
> ""
>
> xmlFile2 = sendXML(XMLString)
> xmlDoc.loadXML(xmlFile2)
> Set RDxmlNodeList2 = xmlDoc.getElementsByTagName("SERVER")
> SESSIONKEY   =  RDxmlNodeList2.item(0).getAttribute("guid")
>
> set xmlDoc = nothing

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: newbie RQL question

2010-07-09 Thread Wayne Bouwmeester
First do this:


  


Then use the login guid you get in the following to generate the
session key:


  

  


Not ideal since you have to record a user and pwd in the plugin or
template, but it'll get the job done.



On Jul 9, 9:16 am, DTMOW  wrote:
> So I am a long time CMS guy but new to RQL and couldn't find this info
> anywhere.
>
> I need to run a bit ofRQLl to generate a list of all the categories
> then get the keywords from those categories and inject them into my
> html.
>
> I understand that there is an xml parser included that you call by
> creating an object. I set all this up and it works fine when I preview
> my code in CMS, but fails on publish.
>
> I started debugging and upon simplifying all the code was able to get
> this error:
>
> "Errors occured: LoginGuid and SessionKey missing"
>
> Obviously I have my placeholders with the session objects in my code
> since it works in CMS...
>
> Anyone know how to deal with this? Can I even publish the results of
> an RQL query or can it only exist in reddot/ preview mode?
>
> Thanks in advance for any insight.
>
> - Dmitry

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: newbie RQL question

2010-07-09 Thread Wayne Bouwmeester
There's no session when publishing, so the sessionkey element will be
blank.
You'll have to perform a login, and select the project to get the
session key manually.


On Jul 9, 9:16 am, DTMOW  wrote:
> So I am a long time CMS guy but new to RQL and couldn't find this info
> anywhere.
>
> I need to run a bit ofRQLl to generate a list of all the categories
> then get the keywords from those categories and inject them into my
> html.
>
> I understand that there is an xml parser included that you call by
> creating an object. I set all this up and it works fine when I preview
> my code in CMS, but fails on publish.
>
> I started debugging and upon simplifying all the code was able to get
> this error:
>
> "Errors occured: LoginGuid and SessionKey missing"
>
> Obviously I have my placeholders with the session objects in my code
> since it works in CMS...
>
> Anyone know how to deal with this? Can I even publish the results of
> an RQL query or can it only exist in reddot/ preview mode?
>
> Thanks in advance for any insight.
>
> - Dmitry

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: List -> List -> List doesn't work

2010-07-08 Thread Wayne Bouwmeester
You can't transfer contents of a list element through a list element
if that's what you are trying to do.
You might try using a render tag / list combo.
The first list transfers the guid of connected pages.
Then, using the guid of the connected page in a foreach render tag
loop on the page's list, you might be able to get the content out of
those pages.
This only gets you two levels deep, but I think in your case, render
tags will be your friend.

On Jul 8, 10:46 am, Programmerboy  wrote:
> Hi,
>
> I have a class "Events" which contains an anc_feed element which is
> connected to "Events Class" which contains a list element "lst_Pages"
> which is referring to "lst_Events". I can get every element in "Events
> Class" from "lst_Events"'s Page 1 except the list element(s). For
> example I tried to fetch the elements of "lst_Lawyers" in "Events
> Class" but it returns nothing. Is it even possible that we can get
> more than one level deep in list element? Or does it only allow
> elements to be fetched from the list that is directly connected.
>
> Events
>        anc_feed
>            Events Class
>                lst_lawyers (Trying to fetch pages from following
> lst_lawyers element)
>                lst_Pages >>> lst_Events
>        someContainer
>        lst_Events
>               Page1
>                      lst_lawyers (This one)
>                             Page1 (Connected through Keyword)
>
> Hopefully I explained enough what I am looking for. I guess if it
> doesnt work then I have to use RQL. I am using version 7.5

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: RQL for User's last project

2010-07-07 Thread Wayne Bouwmeester
Thanks for the speedy post Chad.
If I revert to logging them in using the administration RQL then yes,
I can get the data.
But the question is, can I get the data by logging them in using the
web service which only returns the login GUID?
(I want to try and stick with using the login web service since OT
seems to be heading that way)
If it's not possible, yes, I'll revert the the administration RQL
call.

On Jul 7, 4:16 pm, "Killingsworth, Chad A"
 wrote:
> When you log a user in (), the RQL response 
> lists the available modules. It also has a LASTMODULES node which lists all 
> of the projects. The LASTMODULES/MODULE node that has a last="1" attribute is 
> the last project.
>
> Chad Killingsworth
> Assistant Director of Web & New Media
> Missouri State University
>
> -Original Message-
> From: reddot-cms-users@googlegroups.com 
> [mailto:reddot-cms-us...@googlegroups.com] On Behalf Of Wayne Bouwmeester
> Sent: Wednesday, July 07, 2010 4:40 PM
> To: RedDot CMS Users
> Subject: RQL for User's last project
>
> Does anyone know how I can get use RQL to get the GUID of the last
> project a user was in, having only the user's login GUID.
> Assume they are logged in, but they haven't selected a project yet.
> I want to default the project dropdown with the last project.
> It's a .net app, not called from RedDot, so no session variables to
> pick from.
>
> You can get this information if you login via:
> 
> Then you get the info in a project node, but if you login through the
> web service, you only get the login GUID back, with no other
> information. (I'd like to keep within the convention of using the web
> service to login)
> Any help would be appreciated.
> Thanks!
> Wayne.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "RedDot CMS Users" group.
> To post to this group, send email to reddot-cms-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> reddot-cms-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



RQL for User's last project

2010-07-07 Thread Wayne Bouwmeester
Does anyone know how I can get use RQL to get the GUID of the last
project a user was in, having only the user's login GUID.
Assume they are logged in, but they haven't selected a project yet.
I want to default the project dropdown with the last project.
It's a .net app, not called from RedDot, so no session variables to
pick from.

You can get this information if you login via:

Then you get the info in a project node, but if you login through the
web service, you only get the login GUID back, with no other
information. (I'd like to keep within the convention of using the web
service to login)
Any help would be appreciated.
Thanks!
Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Correct publishing information via RQL

2010-07-01 Thread Wayne Bouwmeester
te.gif'align='absmiddle'
> style='display:inline' /> Linking information not available]"
>     Else
>       XMLString = ""
>       XMLString = XMLString & " loginguid='" & strLoginGUID & "'>"
>       XMLString = XMLString & "  "
>       XMLString = XMLString & "    "
>       XMLString = XMLString & "  "
>       XMLString = XMLString & ""
>       xmlFile = xmlPage(XMLString)
>       Set xmlDoc = Server.CreateObject("Msxml2.DOMDocument.4.0")
>       xmlDoc.loadXML(xmlFile)
>       Set RDxmlNodeList = xmlDoc.getElementsByTagName("LINK")
>       strParentPageGUID = getParentPageGUID(strSessionKey, strLoginGUID,
> strPageGUID)
>       If RDxmlNodeList.length > 0 Then
>         For x = 0 to (RDxmlNodeList.length - 1)
>           strCurrentPageGUID = RDxmlNodeList(x).getAttribute("pageguid")
>           If (StrComp(strCurrentPageGUID, strParentPageGUID, 1) = 0) Then
>             With RDxmlNodeList(x)
>               RdBeginDate = .getAttribute("datebegin")
>               RdEndDate   = .getAttribute("dateend")
>               RdDateState = .getAttribute("datestate")
>             End With
>           End If
>         Next
>         strLinkingScheduleBanner = strLabel(RdDateState, RdBeginDate,
> RdEndDate)
>       End If
>       Response.Write("") & vbCrLf
>       Response.Write("") &
> vbCrLf
>       'Response.Write("")
>     End If
>   End Function
>
>   Function strLabel(RdDateState, RdBeginDate, RdEndDate)
>     Dim strIconMsg : strIconMsg = ""
>
>     Select Case RdDateState
>       Case "1"
>         strIconMsg = "Unlimited appearance schedule"
>       Case "2"
>         strIconMsg = "Link is not yet active"
>       Case "3"'
>         strIconMsg = "Link is active"
>       Case ""
>         strIconMsg = "An error has occurred"
>       Case Else
>         strIconMsg = "Story has expired"
>     End Select
>
>     If RdBeginDate = "0" Then
>       If RdEndDate = "0" Then
>         strLabel = "  [ src='http://reddot/cms/Icons/TimeState"; & RdDateState & ".gif' 
> align='absmiddle'
> style=""display:inline"" />  7pt;"">Permanent]"
>       Elseif RdEndDate <> "0" Then
>         strLabel = "  [ src='http://reddot/cms/Icons/TimeState"; & RdDateState & ".gif' 
> align='absmiddle'
> style=""display:inline"" /> No start date -
> " & DecodeDate(RdEndDate) & "]"
>       End If
>     Else
>       If RdEndDate <> "0" Then
>         If RdEndDate = "" Then
>           strLabel = "  [ src='http://reddot/cms/Icons/TimeState"; & RdDateState & ".gif' 
> align='absmiddle'
> style=""display:inline"" /> An error has
> occurred]"
>         Else
>           strLabel = "  [ src='http://reddot/cms/Icons/TimeState"; & RdDateState & ".gif' 
> align='absmiddle'
> style=""display:inline"" /> " &
> DecodeDate(RdBeginDate) & " - " & DecodeDate(RdEndDate) & "]"
>         End If
>       Else
>         strLabel = "  [ src='http://reddot/cms/Icons/TimeState"; & RdDateState & ".gif' 
> align='absmiddle'
> style=""display:inline"" /> " &
> DecodeDate(RdBeginDate) & " - No end date]"
>       End If
>     End If
>   End Function
> %>
>
> On Thu, Jul 1, 2010 at 2:52 PM, Wayne Bouwmeester <
>
> wayne.bouwmees...@gmail.com> wrote:
> > Not sure where the render tag doc'n comes from - should be available
> > from OpenText.
>
> > Where is your ASP code? In a template or in a separate file in the
> > Plugins directory?
>
> > If your code is in a template, just paste the code in.
> > If it's in a file that you are calling with a url, add it as a url
> > parameter abcd.asp?parentPageGUID="<%!!
> > Context:CurrentMasterPage.Id> !!%>
>
> > If you're calling the plugin from the actions menu or someting, you're
> > kinda hooped.
> > You might be able to parse it out of one of the session variables, but
> > I didn't see one that had the

Re: Correct publishing information via RQL

2010-07-01 Thread Wayne Bouwmeester
Not sure where the render tag doc'n comes from - should be available
from OpenText.

Where is your ASP code? In a template or in a separate file in the
Plugins directory?

If your code is in a template, just paste the code in.
If it's in a file that you are calling with a url, add it as a url
parameter abcd.asp?parentPageGUID="<%!!
Context:CurrentMasterPage.Id> !!%>

If you're calling the plugin from the actions menu or someting, you're
kinda hooped.
You might be able to parse it out of one of the session variables, but
I didn't see one that had the current outer page guid.

I'd suggest creating a form, adding parentpageguid as a hidden field
along with anything else you need, setting the action of the form to
the asp file in the plugins directory, and giving the user a submit
button.
set the target to _blank and you should be good. You can get fancy
with javascript later if you want to control window size and options.


On Jul 1, 3:17 pm, Bill Rishsew  wrote:
> Render tags? Is there documentation for them?
>
> How do I insert CurrentParentPageGuid = "<%!! Context:CurrentMasterPage.Id
> !!%>" inside of ASP code? I've tried a variety of ways to no avail.
>
> And Thanks.
> On Thu, Jul 1, 2010 at 1:54 PM, Wayne Bouwmeester <
>
>
>
> wayne.bouwmees...@gmail.com> wrote:
> > You should be able to get it via render tags, and render it as part of
> > your code.
> > Paste this into your code (assuming the code is within the banner
> > class)
> > Otherwise, you'll need to put it in the URL you use to call your
> > plugin as a query parameter.
> > CurrentParentPageGuid = "<%!! Context:CurrentMasterPage.Id !!%>"
>
> > On Jul 1, 2:31 pm, Bill Rishsew  wrote:
> > > I used
>
> > > 
> > >   
> > > 
>
> > > And pulled the *parentguid*  (GUID of the element with which the page is
> > > connected.)
>
> > > The problem here is that it is pulling the parentguid for the "main link"
> > in
> > > the list of links!
>
> > > There has to be a way to get the parent link of the current page!! Right?
>
> > > I've been all through the RQL documentation and just don't see it.
>
> > > On Thu, Jul 1, 2010 at 10:26 AM, Bill Rishsew  > >wrote:
>
> > > > Craig,
> > > >    Thanks for the input. I think I should better explain myself. I can
> > do
> > > > so now because of all of the attempts I've made at this. I'm a home
> > schooled
> > > > student in RedDot and I'm the teacher too. The more I dig, the more I
> > > > understand. So I don't think I've been explaining my situation as well
> > as a
> > > > more experienced person could.
>
> > > >    I have a tempale I call Banners. Banners contains very basic
> > elements,
> > > > e.g. an image element and an anchor element, etc.
> > > >    Most of my Banners are used throughout the site. Normal behaviour I
> > > > think.
> > > >    When I perform the query via RQL I receive an xml file that contains
> > the
> > > > page information for every page the banner is linked from. Most cases
> > result
> > > > in a very large xml file. Again, expected.
> > > >    When I comb through the xml file, I want to extract the page
> > > > information relevent to the page I have open.
> > > >    In one case I have a page named Newsroom Page open with a Live Chat
> > > > banner linked. The Newsroom Page guid is 4585...C479 and the banner has
> > a
> > > > guid of 1AA5...2654. (This particular banner is linked to well over 100
> > > > pages).
> > > >    When I visually parse the xml file I see the  that
> > contains a
> > > > reference to the Newsroom Page. This is the one I want for this page.
> > > >    So, what I need to do is to have already identified the Newsroom
> > Page
> > > > guid (this is what I have called the Parent Page GUID) before I loop
> > through
> > > > the xml file.
> > > >    I see that the RedDot onclick for the banner contains a reference to
> > the
> > > > Parent Page GUID, pageGUID=458...C479
>
> > > >    I hope this helps.
>
> > > >   On Thu, Jul 1, 2010 at 5:01 AM, Craig Castledine <
> > > > craig.castled...@gmail.com> wrote:
>
> > > >> So you want the GUID of the page that contains the element?  You can
> > use
> > > >> the "pageguid" attribute returned from you

Re: Correct publishing information via RQL

2010-07-01 Thread Wayne Bouwmeester
You should be able to get it via render tags, and render it as part of
your code.
Paste this into your code (assuming the code is within the banner
class)
Otherwise, you'll need to put it in the URL you use to call your
plugin as a query parameter.
CurrentParentPageGuid = "<%!! Context:CurrentMasterPage.Id !!%>"


On Jul 1, 2:31 pm, Bill Rishsew  wrote:
> I used
>
> 
>   
> 
>
> And pulled the *parentguid*  (GUID of the element with which the page is
> connected.)
>
> The problem here is that it is pulling the parentguid for the "main link" in
> the list of links!
>
> There has to be a way to get the parent link of the current page!! Right?
>
> I've been all through the RQL documentation and just don't see it.
>
> On Thu, Jul 1, 2010 at 10:26 AM, Bill Rishsew wrote:
>
>
>
> > Craig,
> >    Thanks for the input. I think I should better explain myself. I can do
> > so now because of all of the attempts I've made at this. I'm a home schooled
> > student in RedDot and I'm the teacher too. The more I dig, the more I
> > understand. So I don't think I've been explaining my situation as well as a
> > more experienced person could.
>
> >    I have a tempale I call Banners. Banners contains very basic elements,
> > e.g. an image element and an anchor element, etc.
> >    Most of my Banners are used throughout the site. Normal behaviour I
> > think.
> >    When I perform the query via RQL I receive an xml file that contains the
> > page information for every page the banner is linked from. Most cases result
> > in a very large xml file. Again, expected.
> >    When I comb through the xml file, I want to extract the page
> > information relevent to the page I have open.
> >    In one case I have a page named Newsroom Page open with a Live Chat
> > banner linked. The Newsroom Page guid is 4585...C479 and the banner has a
> > guid of 1AA5...2654. (This particular banner is linked to well over 100
> > pages).
> >    When I visually parse the xml file I see the  that contains a
> > reference to the Newsroom Page. This is the one I want for this page.
> >    So, what I need to do is to have already identified the Newsroom Page
> > guid (this is what I have called the Parent Page GUID) before I loop through
> > the xml file.
> >    I see that the RedDot onclick for the banner contains a reference to the
> > Parent Page GUID, pageGUID=458...C479
>
> >    I hope this helps.
>
> >   On Thu, Jul 1, 2010 at 5:01 AM, Craig Castledine <
> > craig.castled...@gmail.com> wrote:
>
> >> So you want the GUID of the page that contains the element?  You can use
> >> the "pageguid" attribute returned from your query:
>
> >> Change
> >>  getParentPageGUID = RDxmlNodeList(0).getAttribute("guid")
> >> to
> >> getParentPageGUID = RDxmlNodeList(0).getAttribute("pageguid")
>
> >> Hope that helps.
>
> >> Craig.
>
> >>   On 1 July 2010 00:08, Bill Rishsew  wrote:
>
> >>>   With closer examination the function to get the Parent Page GUID isn't
> >>> return the Parent Page GUID.
> >>> The value being returned is the same. I need it to return the GUID of the
> >>> Page it is contained in.
> >>> Thoughts.
>
> >>>   Function getParentPageGUID(strSessionKey, strLoginGUID, strPageGUID)
> >>>     XMLString = ""
> >>>     XMLString = XMLString & " >>> sessionkey='" & strSessionKey & "' format='0'>"
> >>>     XMLString = XMLString & "  "
>
> >>>     XMLString = XMLString & ""
> >>>     xmlFile = xmlPage(XMLString)
> >>>     Set xmlDoc = Server.CreateObject("Msxml2.DOMDocument.4.0")
> >>>     xmlDoc.loadXML(xmlFile)
> >>>     Set RDxmlNodeList = xmlDoc.getElementsByTagName("ELT")
> >>>     Response.Write("") & vbCrLf
> >>>     getParentPageGUID = RDxmlNodeList(0).getAttribute("guid")
> >>>   End Function
> >>>    On Wed, Jun 30, 2010 at 10:16 AM, Bill Rishsew <
> >>> bill.rish...@gmail.com> wrote:
>
> >>>> The way I set it up is how you outlined below. Just slows the page load
> >>>> a bit is all. Hoped to compact it a bit. Maybe I'll sit and stare a bit.
> >>>> Considering the number of clicks it is saving the content edito

Re: Correct publishing information via RQL

2010-06-30 Thread Wayne Bouwmeester
You mean all the parent page guids for all the links?
I don't think so - too complicated since you'd need to specify which
link, and RQL isn't that complex.

At best you might be able to add multiple ELT nodes in one call, and
run it at the end of all your PAGE calls. Try it and see what you get.
I didn't see anything in the documentation, but I know you can save
multiple elements in a single call back to RD, so it might work.


On Jun 30, 10:34 am, Bill Rishsew  wrote:
> Got it, thanks. Works well.
> Is there a way to get the information in a single XML.
>
> I'm using
>
> 
>   
>     
>    
>  
>
> and
>
> 
>  
> 

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Correct publishing information via RQL

2010-06-30 Thread Wayne Bouwmeester

  


look for the pageguid attribute in the returned ELT node.


On Jun 30, 8:52 am, Bill Rishsew  wrote:
> Okay, found the error in my way of doing this.
> When the RQL returned the XML and then looked at it, it always zeroed
> in on the 0th element.
> I added a For loop to compare PageGUIDs and was able to display the
> correct publishing (linking) information next to each link.
> This was easy enough to do (see below) when an element was set up to
> transfer element content of following pages.
> The trouble is that not all elements can do this, so my next questions
> is:
>
> How can I easily retrieve the Parent Page GUID for a link?
>
> Function strLinkingSchedule(strSessionKey, strLoginGUID, strPageGUID,
> strThisPageGUID)
>     If strSessionKey = "" Or strLoginGUID = "" Or strPageGUID = ""
> Then
>       strLinkingSchedule = ""
>     Else
>       XMLString = ""
>       XMLString = XMLString & ""
>       XMLString = XMLString & "  "
>       XMLString = XMLString & "    "
>       XMLString = XMLString & "  "
>       XMLString = XMLString & ""
>       xmlFile = xmlPage(XMLString)
>       Set xmlDoc = Server.CreateObject("Msxml2.DOMDocument.4.0")
>       xmlDoc.loadXML(xmlFile)
>       Set RDxmlNodeList = xmlDoc.getElementsByTagName("LINK")
>       If RDxmlNodeList.length > 0 Then
>         For x = 0 to (RDxmlNodeList.length - 1)
>           strCurrentPageGUID =
> RDxmlNodeList(x).getAttribute("pageguid")
>           Response.Write ""
>           If (StrComp(strCurrentPageGUID, strThisPageGUID, 1) = 0)
> Then
>             With RDxmlNodeList(x)
>               RdBeginDate = .getAttribute("datebegin")
>               RdEndDate   = .getAttribute("dateend")
>               RdDateState = .getAttribute("datestate")
>             End With
>           End If
>         Next
>         Dim strIconMsg : strIconMsg = ""
>         Select Case RdDateState
>           Case "1"
>             strIconMsg = "Unlimited appearance schedule"
>           Case "2"
>             strIconMsg = "Link is not yet active"
>           Case "3"'
>             strIconMsg = "Link is active"
>           Case Else
>             strIconMsg = "Story has expired"
>         End Select
>         If RdBeginDate = 0 Then
>           If RdEndDate = 0 Then
>             strLinkingSchedule = "  [  style=""font-size: 7pt;"">Permanent]"
>           Elseif RdEndDate <> 0 Then
>             strLinkingSchedule = "  [  style=""font-size: 7pt;"">No start date - " & DecodeDate(RdEndDate) &
> "]"
>           End If
>         Else
>           If RdEndDate <> 0 Then
>             strLinkingSchedule = "  [  style=""font-size: 7pt;"">" & DecodeDate(RdBeginDate) & " - " &
> DecodeDate(RdEndDate) & "]"
>           Else
>             strLinkingSchedule = "  [  style=""font-size: 7pt;"">" & DecodeDate(RdBeginDate) & " - No end
> date]"
>           End If
>         End If
>       End If
>       Response.Write ""
>     End If
>   End Function

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: .net Object Moved error

2010-06-23 Thread Wayne Bouwmeester
Good thought, but no, it's on 9.x
That said, you helped me solve it indirectly.

When I check to see that the services were indeed there, I realized
that I was using the wrong protocol.
While http quickly switched to https in a simple browse to the service
(and so I didn't notice it), it didn't work when hitting it via C#.
And so, I forgot to switch the web.config file to https.
So, I guess the message was more simple than I thought - the service
was moved (sort of) - to https.

Cheers!
Wayne.

On Jun 22, 2:53 am, Tony Gayter  wrote:
> Have you updated to reddot 10? The webservices have moved (as per the error
> message)
>
> On 21 June 2010 21:12, Wayne Bouwmeester wrote:
>
> > Hi folks,
>
> > I have a small .net 2.0 plugin that I built which runs fine in Visual
> > Studio debug mode.
> > When I run it on the server I get the following error when trying to
> > access the sessionservice web service:
>
> > Object moved
> > Object MovedThis object may be found here.
>
> > I read a thread on cookieless session state not playing well with web
> > services, so I switched to cookieless=false in my web.config file,
> > mode= InProc (but it didn't help.)
>
> > I assume the error message is slightly cryptic - i.e. the problem
> > isn't that anything has actually moved.
>
> > The error occurs when I try call the login method. It blows up here in
> > the stack:
>
> > System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
> > message, WebResponse response, Stream responseStream, Boolean
> > asyncCall) +431201
> >   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> > methodName, Object[] parameters) +204
> >   sparkPlug.RDSessionService.SessionService.Login(String userName,
> > String password)
>
> > Has anyone run into this? Any help would be appreciated.
> > Cheers!
> > Wayne.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "RedDot CMS Users" group.
> > To post to this group, send email to reddot-cms-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > reddot-cms-users+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



.net Object Moved error

2010-06-21 Thread Wayne Bouwmeester
Hi folks,

I have a small .net 2.0 plugin that I built which runs fine in Visual
Studio debug mode.
When I run it on the server I get the following error when trying to
access the sessionservice web service:

Object moved
Object MovedThis object may be found here.

I read a thread on cookieless session state not playing well with web
services, so I switched to cookieless=false in my web.config file,
mode= InProc (but it didn't help.)

I assume the error message is slightly cryptic - i.e. the problem
isn't that anything has actually moved.

The error occurs when I try call the login method. It blows up here in
the stack:

System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall) +431201
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +204
   sparkPlug.RDSessionService.SessionService.Login(String userName,
String password)

Has anyone run into this? Any help would be appreciated.
Cheers!
Wayne.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: CSS class problems

2010-06-04 Thread Wayne Bouwmeester
Add a standard field element to the master class.
Populate the element on each page with the appropriate unique class
name
Pull the class content through from the page to the nav templates.
You're likely already pulling a field to populate the actual nav text,
so just copy the render tag syntax.
(unless it's using the page headline)

Hope this helps.
Wayne.

On Jun 4, 12:29 pm, Tiffany  wrote:
> A site I am currently working is heavily class-dependent.
>
> The main issue is the navigation. Each list item in the navigation has
> a set style based on an li class. Normally I would rework the CSS, but
> this particular site has very unique differences per class. And
> frankly, I just don't have the time :-)
>
> How can I get the nav manager to allow each list item in the
> navigation to have a unique li class?
>
> Is it easier to just reconfigure the CSS? What would you do? Thanks
> for any help in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.



Re: Odd disappearing page in built page navigation

2009-12-09 Thread Wayne Bouwmeester
If you go to the page in SmartTree and do a page preview, does the
page display navigation correctly?
(except for itself in the navigation of course)
This usually indicates it's stuck out of navigation (for lack of a
better term)
I found that it can appear in the nav manager, but still not show
appropriate navigation itself.
Removing it completely from nav, then adding it back usually fixes it.

Things I usually with strange behaviour:
1) Disconnect it from the list used in nav manager so it is no longer
in navigation, then reconnect it.

2) Make a change to an element on the page and push it through
workflow.
(there was a glitch a while back with pages that have never cleared
workflow AFTER elements used in nav templates were added to the class)
i.e. create new page, clear workflow, then add an element like
stf_AlternateNavTitle, then use the element in nav templates and take
the page into draft.
The element would appear blank until the page cleared workflow, but
not again after that, so hard to actually recreate.

3) After that, if it's not too much trouble, I just recreate the page
instead of trying to find a needle in a haystack, and blame it on
RedDot gremlins.
It's often easier to recreate then track down a one-off problem,
unless it starts to reoccur.

Wayne.


On Dec 9, 10:19 am, Ian  wrote:
> Hi there,
>
> I have a page in a project smarttree that sits in the second level of
> our navigation.  Everything has been working well for a while, until
> today - the page no longer appears in the rendered navigation on
> previewed or published pages.
>
> What does get published is the html for that element, without the
> headline or link of the page, leaving a 'ghost' navigation element on
> the rendered page.
>
> I have checked several things, like clearing the page cache, clearing
> the navigation cache, disconnecting and reconnecting the page (which
> has worked for disappearing pages in the past!), making changes to the
> headline etc, but nothing has worked - I have run out of ideas :(
>
> The page looks fine as far as SmartTree goes - it appears quite
> happily in the 'Edit Navigation Order' and 'Edit Page Order' of the
> containing navigation list.  I am currently baffled.
>
> Does this sound familiar to anyone? could anyone provide any clues to
> where else I might need to look?
>
> Many thanks,
>
> Ian

--

You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.




Re: collaboration on a reddot page without releasing

2009-12-02 Thread Wayne Bouwmeester
Not in the Main Menu -> Display settings.
Those dictate how you view the site, as a CMS user.

Checking the "Publish unreleased pages" for a project variant is a
different story.
That's where you allow the to be published out.

If it's just one text field you are collaborating on, you might
consider creating two text fields.
Wrap the second (txt_BodyContentCollaboration) which could appear
below the first, in Smart Edit Only tags, so that you only see the
content in Smart Edit.
Make that particular element "Not relevant for workflow" so that you
don't need to release it.
Wrap it with a marching ants border, whatever you need to do to
identify it as the collaboration content.

Then collaborate 'til your hearts are content. It won't hit workflow
and won't go into draft mode because the field is workflow exempt.
When all users are happy with the content, copy and paste to the field
not wrapped in smart edit only block markers, submit to workflow,
release, publish.

If you want to actually see the content outside of RedDot, make a
template variant that publishes to a staging site.
Include both the regular content and the collaborated content below
the original content so that executives or marketing folks can see
both versions.

Hope that helps.
Wayne.

On Dec 2, 10:40 am, Tiffany  wrote:
> Wayne - won't that publish my unreleased pages? I don't want the pages
> to be published until they are released.
>
> On Dec 1, 1:17 pm, Wayne Bouwmeester 
> wrote:
>
> > Have you tried checking the "Unreleased Pages" box in the main menu ->
> > Use settings window?
> > You might check "Ignore appearance schedule" as well.
> > Wayne.
>
> > On Dec 1, 6:55 am, Tiffany  wrote:
>
> > > Markus - We are using that bit, but there is a problem if the page
> > > hasn't been released, it doesn't appear on the list and the new user
> > > can't pick it up. But for pages already established this is a great
> > > solution.
>
> > > On Nov 30, 10:51 pm, Wayne Bouwmeester 
> > > wrote:
>
> > > > Yes, I guess clicking on the "assign user" link, then the ... button,
> > > > then clicking search (maybe having typed in some search criteria),
> > > > then clicking the radio button for the specific user, then clicking
> > > > OK, then clicking OK to the message telling you that clicking the next
> > > > OK will change the last editor of the page, then actually clicking the
> > > > OK to apply the change, then clicking OK because windows wants to
> > > > close the popup, and then refreshing the page might work.
> > > > Not sure how much of a shortcut that is to clicking a "take draft
> > > > ownership" button.
> > > > I guess it depends on how much your users are willing to put up with.
>
> > > > If you are trying, as an admin, to change ownership to someone else,
> > > > then yes, you are at the mercy of said interface.
> > > > If you are trying to take ownership quickly as part of a repetitive
> > > > business process, I think some investment in click reduction might be
> > > > in order.
>
> > > > Wayne.
>
> > > > On Nov 30, 6:38 pm, markus giesen  wrote:
>
> > > > > Uhm, you don't necessarily need a plugin to change the user of a page.
> > > > > Just use this shortcut:http://bit.ly/75HLuH
>
> > > > > Cheers :)
> > > > > Markuswww.reddotcmsblog.com
>
> > > > > On 1 Dez., 08:17, Wayne Bouwmeester 
> > > > > wrote:
>
> > > > > > I wrote a plugin years ago that allowed users to "steal" a page in
> > > > > > draft.
> > > > > > Basically, I found that if you changed the page via an RQL statement
> > > > > > it became yours, ignoring the current draft user.
> > > > > > I just wrote some RQL that filled in the current user's name in a
> > > > > > field named stf_CurrentOwner.
> > > > > > So to steal the page for editing, you just clicked the button, it 
> > > > > > ran
> > > > > > the plugin, put your name in the field, and now it's in your drafts
> > > > > > instead of your friend's.
> > > > > > It's kinda making use of RedDot's security by obscurity, but it 
> > > > > > worked
> > > > > > then. Not sure if it will work in more recent versions, but you 
> > > > > > might
> > > > > > want to try it. Not m

Re: collaboration on a reddot page without releasing

2009-12-01 Thread Wayne Bouwmeester
Have you tried checking the "Unreleased Pages" box in the main menu ->
Use settings window?
You might check "Ignore appearance schedule" as well.
Wayne.

On Dec 1, 6:55 am, Tiffany  wrote:
> Markus - We are using that bit, but there is a problem if the page
> hasn't been released, it doesn't appear on the list and the new user
> can't pick it up. But for pages already established this is a great
> solution.
>
> On Nov 30, 10:51 pm, Wayne Bouwmeester 
> wrote:
>
> > Yes, I guess clicking on the "assign user" link, then the ... button,
> > then clicking search (maybe having typed in some search criteria),
> > then clicking the radio button for the specific user, then clicking
> > OK, then clicking OK to the message telling you that clicking the next
> > OK will change the last editor of the page, then actually clicking the
> > OK to apply the change, then clicking OK because windows wants to
> > close the popup, and then refreshing the page might work.
> > Not sure how much of a shortcut that is to clicking a "take draft
> > ownership" button.
> > I guess it depends on how much your users are willing to put up with.
>
> > If you are trying, as an admin, to change ownership to someone else,
> > then yes, you are at the mercy of said interface.
> > If you are trying to take ownership quickly as part of a repetitive
> > business process, I think some investment in click reduction might be
> > in order.
>
> > Wayne.
>
> > On Nov 30, 6:38 pm, markus giesen  wrote:
>
> > > Uhm, you don't necessarily need a plugin to change the user of a page.
> > > Just use this shortcut:http://bit.ly/75HLuH
>
> > > Cheers :)
> > > Markuswww.reddotcmsblog.com
>
> > > On 1 Dez., 08:17, Wayne Bouwmeester 
> > > wrote:
>
> > > > I wrote a plugin years ago that allowed users to "steal" a page in
> > > > draft.
> > > > Basically, I found that if you changed the page via an RQL statement
> > > > it became yours, ignoring the current draft user.
> > > > I just wrote some RQL that filled in the current user's name in a
> > > > field named stf_CurrentOwner.
> > > > So to steal the page for editing, you just clicked the button, it ran
> > > > the plugin, put your name in the field, and now it's in your drafts
> > > > instead of your friend's.
> > > > It's kinda making use of RedDot's security by obscurity, but it worked
> > > > then. Not sure if it will work in more recent versions, but you might
> > > > want to try it. Not much invested if it doesn't work.
> > > > Wayne.
>
> > > > On Nov 25, 9:02 am, Tiffany  wrote:
>
> > > > > My users would like the CMS to act more like a wiki...basically they
> > > > > want to collaborate on a page, share it between editors, but WITHOUT
> > > > > releasing the page for publication. We have tried a few creative
> > > > > measures to make this happen: (1) allowing them to Assign Last Editor
> > > > > (2) Releasing the page but publishing to a staging area (3) putting
> > > > > fake text in the released version that says "coming soon" until the
> > > > > real text is agreed upon (4) multi leveled workflow that shuffles the
> > > > > page around a max of 3 times before releasing
>
> > > > > None of these options are working very well. Does anyone have a system
> > > > > in place where multiple editors can review a *new* page before it gets
> > > > > released for publication? Any ideas are appreciated!

--

You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.




Re: collaboration on a reddot page without releasing

2009-11-30 Thread Wayne Bouwmeester
Yes, I guess clicking on the "assign user" link, then the ... button,
then clicking search (maybe having typed in some search criteria),
then clicking the radio button for the specific user, then clicking
OK, then clicking OK to the message telling you that clicking the next
OK will change the last editor of the page, then actually clicking the
OK to apply the change, then clicking OK because windows wants to
close the popup, and then refreshing the page might work.
Not sure how much of a shortcut that is to clicking a "take draft
ownership" button.
I guess it depends on how much your users are willing to put up with.

If you are trying, as an admin, to change ownership to someone else,
then yes, you are at the mercy of said interface.
If you are trying to take ownership quickly as part of a repetitive
business process, I think some investment in click reduction might be
in order.

Wayne.

On Nov 30, 6:38 pm, markus giesen  wrote:
> Uhm, you don't necessarily need a plugin to change the user of a page.
> Just use this shortcut:http://bit.ly/75HLuH
>
> Cheers :)
> Markuswww.reddotcmsblog.com
>
> On 1 Dez., 08:17, Wayne Bouwmeester 
> wrote:
>
> > I wrote a plugin years ago that allowed users to "steal" a page in
> > draft.
> > Basically, I found that if you changed the page via an RQL statement
> > it became yours, ignoring the current draft user.
> > I just wrote some RQL that filled in the current user's name in a
> > field named stf_CurrentOwner.
> > So to steal the page for editing, you just clicked the button, it ran
> > the plugin, put your name in the field, and now it's in your drafts
> > instead of your friend's.
> > It's kinda making use of RedDot's security by obscurity, but it worked
> > then. Not sure if it will work in more recent versions, but you might
> > want to try it. Not much invested if it doesn't work.
> > Wayne.
>
> > On Nov 25, 9:02 am, Tiffany  wrote:
>
> > > My users would like the CMS to act more like a wiki...basically they
> > > want to collaborate on a page, share it between editors, but WITHOUT
> > > releasing the page for publication. We have tried a few creative
> > > measures to make this happen: (1) allowing them to Assign Last Editor
> > > (2) Releasing the page but publishing to a staging area (3) putting
> > > fake text in the released version that says "coming soon" until the
> > > real text is agreed upon (4) multi leveled workflow that shuffles the
> > > page around a max of 3 times before releasing
>
> > > None of these options are working very well. Does anyone have a system
> > > in place where multiple editors can review a *new* page before it gets
> > > released for publication? Any ideas are appreciated!

--

You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.




Re: collaboration on a reddot page without releasing

2009-11-30 Thread Wayne Bouwmeester
I wrote a plugin years ago that allowed users to "steal" a page in
draft.
Basically, I found that if you changed the page via an RQL statement
it became yours, ignoring the current draft user.
I just wrote some RQL that filled in the current user's name in a
field named stf_CurrentOwner.
So to steal the page for editing, you just clicked the button, it ran
the plugin, put your name in the field, and now it's in your drafts
instead of your friend's.
It's kinda making use of RedDot's security by obscurity, but it worked
then. Not sure if it will work in more recent versions, but you might
want to try it. Not much invested if it doesn't work.
Wayne.

On Nov 25, 9:02 am, Tiffany  wrote:
> My users would like the CMS to act more like a wiki...basically they
> want to collaborate on a page, share it between editors, but WITHOUT
> releasing the page for publication. We have tried a few creative
> measures to make this happen: (1) allowing them to Assign Last Editor
> (2) Releasing the page but publishing to a staging area (3) putting
> fake text in the released version that says "coming soon" until the
> real text is agreed upon (4) multi leveled workflow that shuffles the
> page around a max of 3 times before releasing
>
> None of these options are working very well. Does anyone have a system
> in place where multiple editors can review a *new* page before it gets
> released for publication? Any ideas are appreciated!

--

You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.




Re: Assigning keywords to nodes in site tree

2009-10-09 Thread Wayne Bouwmeester

Are you using nav manager?
If so, you could probably accomplish what you want with nav menus, or
maybe with render tags.
With render tags, you could look back to a field in the parent,
grandparent, etc, and set a webtrends parameter.
This might be easier than using keywords, plus you get the ability to
fake inheritance for free if using nav manager.
i.e. child pages don't actually need to be tagged to use a value from
their parent for a metadata WT parameter.
Wayne.

On Oct 9, 12:35 pm, Ray  wrote:
> Is there a means in RedDot where keywords could be assigned to
> complete nodes in a site tree?
>
> We're trying to use keywords as a means of applying some
> categorization to our site to make it easier to obtain WebTrends
> reports on various sections - and it's pretty tedious going through
> pages and manually assigning keywords. We can't preassign them to the
> content classes since the content classes are being used in different
> nodes of the site tree.
>
> Thanks,
> Ray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Creating folder structure

2009-09-17 Thread Wayne Bouwmeester

@Richard
I find your perspective intriguing, considering your posts through the
years show you really know your stuff an implementer.

Are you saying that you would try to use target containers over
NavManager in most if not all cases? Or is that just with more simple
projects where you don't get into deep navigation issues? Do you base
this decision mainly on efficiency of publishing?

I find that clients have a hard time understanding how target
containers and/or nested lists work, so going with NavManager makes
the project easier to maintain for them. Plus you get the navigation
index that you can do a lot with.

Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Creating folder structure

2009-09-15 Thread Wayne Bouwmeester

I solve target container problems by not using them.
my opinion: unless they are making your life really easy in a specific
scenario, don't use them.
I suggest posting your target container problem to a new thread -
maybe someone can help you after you explain the problem in more
detail.
As far as referencing a page, it's a standard action.
e.g. double click the target page to the clipboard, go to the anchor,
click reference page in clipboard from the actions menu.
now the anchor works much the same as a connection, but it's a
reference, so the link created by the anchor will look to the page's
"main" link for a publication package to determine where to find the
page from there.
Cheers!
Wayne.

On Sep 15, 11:02 am, Arsalan  wrote:
> How do u do that ? I'm having the same issue :(. One more issue that I'm 
> having is that when i publish the pages with "Pages
> displayed in target containers use page file names only" they get published 
> with wrong target containers and if I use "Use default separators (_) for 
> pages in target
> containers” they publish correctly but that defeats the purpose because the 
> page names are invalid.
>
> 
> From: bobbykjack 
> To: RedDot CMS Users 
> Sent: Tuesday, September 15, 2009 11:58:49 AM
> Subject: Re: Creating folder structure
>
> On Sep 15, 3:44 pm, Wayne Bouwmeester 
> wrote:
>
> > 2) a page will publish for all of its connections - so if you have a
> > page connected to a list, and to an anchor somewhere, expect the page
> > to publish twice.
>
> For this reason, I always try to avoid situations like that, e.g. by
> using references. You almost never want duplicated content.
>
> - Bobby
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Creating folder structure

2009-09-15 Thread Wayne Bouwmeester

After creating the publication structure you will need to create
publication packages within your project structure.
The packages indicate which folder to publish to, for which project
and language variant combination.
When creating these packages, you need to keep two important things in
mind:
1) all pages connected to a link will publish to that link's
publication package. (so all pages on a list, for example, publish to
the same place)
2) a page will publish for all of its connections - so if you have a
page connected to a list, and to an anchor somewhere, expect the page
to publish twice.
If you don't put a package on a link, its pages will publish to the
root.

You will soon figure out that it is hard to mimic your old structure
exactly, especially if it was managed in a tool such as Dreamweaver
which gives you ultimate flexibility in where you put things.

Some food for thought: You are likely going to have to change your
structure somewhat - you are using a new tool/platform so it's not a
totally unrealistic expectation. I suggest picking something that
works for you in reddot, and as a corporation, and then using server
side redirects for a while to keep your current visitors happy. Slowly
move them off the redirects by removing them when the dust settles
from the new site.

Hope this helps.
Cheers!
Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Paginating in CMS without Delivery Server

2009-09-08 Thread Wayne Bouwmeester

Thanks Kim, Aaron, and Barry for your input!
 - good food for thought as I built this thing.

Given the requirement, I ended up building a solution using target
containers (still makes my stomach sick to say "target container") and
a plugin.
In a nutshell, the plugin looks to a list of content pages (connected
via keywords), figures out how many "index pages" are needed, creates
them on a list in the main page, that targets a container on the Main
page, and then connects the content pages to the right index
component. Target containers then kick out MainPage_01.html,
MainPage_02.html, ... MainPage_N.html.
If you add pages to the content pages list, you can click the
"repaginate" button and it adds/removes index components, rejigs the
pages to the supplied "pages per index" and leaves you with a set of
paginated content pages, in a fairly clean solution.

I like the jquery solution the best, but it needed to degrade well for
no script.

Interesting side note: this was a perfect example of target container
use as EVERYTHING stays the same, by design, except for the content in
the middle.

Cheers!
Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Publication hangs-up

2009-08-28 Thread Wayne Bouwmeester

I guess this may seem like an obvious question, but have your network
folks changed anything that may be slowing down the connection to the
FTP server around the same time you noticed the significant slowdown?

Something to think about:
As a test, I'd create a publishing target to the file server, try a
full publish to it, then again the next night (the times may differ
depending on your settings)
If you get way better response publishing to the file server (I'm
guessing you will), I'd look into implementing a product that can push
the files out from the file server to ftp server. We always see faster
publishing to a file server target, and then you can use best of breed
software to move the files after the publish / keep them in sync
during the day. One of my clients used winscp and it worked fairly
well. I haven't done a lot of research into other tools.

NB - I'm not sure how much better CMS 10 is for FTP vs file server -
it may have made great gains.

Wayne.


On Aug 28, 7:47 am, rwagner  wrote:
> I want to throw this out to the big brains out there.
>
> We have a CMS nightly publication that is 6000+ pages and we expect to
> take about three hours to publish to LiveServer.  Lately, it's been
> taking in excess of 12 hours, and sometimes we have to shut the job
> down because it prevents publications from taking place the next day.
>
> The publication report in the CMS says "finished" but only displays
> the media files published, no pages.  After that it takes hours and
> hours before an email gets send and the rest of the pub report fills
> out.  During this interval there is an async process called "FTP-
> Transfer for PROJECT NAME" that sits in the async queue and does not
> permit any other publication jobs to pass through.
>
> Has anyone out there seen something like this?  If so, any ideas on
> what might be causing it or how to approach fixing it?
>
> Much thanks for any help.
>
> -rw
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Paginating in CMS without Delivery Server

2009-08-26 Thread Wayne Bouwmeester

Has anyone worked out a slick solution that can do simple pagination
just within CMS?

Basically I have a list of about 200 items (pages), ordered A to Z,
and I want to show some summary details of them 10 at a time (with a
link to the full details page) and use a "Page 1 2 3 4 ...20." type
navigation to move between the paginated index page(s).
The list can grow and shrink, and reorder as new items are added/
inserted and removed.
Target containers gets me near to where I want to go, but not really,
and I normally avoid them like the plague.

Yes, this can easily be done in Delivery Server (overkill for the rest
of this project) and can be done with .net or classic asp on IIS, but
I'm looking for a simple solution that can be used over a few projects
with different application servers. (read works the same for a client
on cold fusion, .net, or classic asp because its just CMS)

I'll likely just write a plugin to automate it, but am interested if
anyone has already thought about it.

Cheers!
Wayne.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Populating an element project-wide

2009-08-25 Thread Wayne Bouwmeester

I didn't realize you could run it from the class. I'll have to take a
look again. I've always run it from a page instance.
It will likely run on the same pages each time you run it since it
does a search for pages of the content class, and the same 1000 will
come up first each time.
(i.e. redoing the work each time)
I think the search RQL does have an IDFrom and IDTo option. You may be
able to hack the search call and hardcode some values. Then run it a
few times on different ranges. I thought there was a paging function
in the search as well, but I may be mixed up with Delivery Server
chunks.
I'd set the thing to 11,000 pages, set the timeout really high, start
it when you leave work and the server has no real load, and see what
you get.
It's worth a shot before doing more work on in.
Wayne

On Aug 25, 11:18 am, RayE  wrote:
> Ah! Didn't realize it was run from an actual instance of a page - was
> trying to run it from the content class - which seemed to make sense
> as the class appears to be aware of the number of instances, but
> whatever works ;^)
>
> It's actually just over 10,000 pages project-wide, not the specific
> content class. It just seemed that the same pages were showing up
> after running the plugin multiple times - but we'll see after running
> it against a page instance.
>
> Thank you!
>
> On Aug 25, 10:56 am, Wayne Bouwmeester 
> wrote:
>
> > You run the plugin from a link on a page instance.
> > It references the page in your clipboard for all instances of the
> > class of the specific page you run it from.
> > There is a max number of pages setting in the code.
> > You could try to change it, but I'm not sure what it will do with
> > 10,000 pages.
> > You'll need to set a timeout for IIS as well I'm sure.
> > Do you actually have 10,000 page instances of the class in need to
> > assign the link to, or 10,000 pages in your project all classes
> > considered?
> > Wayne.
>
> > On Aug 25, 10:47 am, Ray  wrote:
>
> > > We have a project where a page that had been pre-assigned to an anc
> > > element in the content class have gone missing.  Is there a way to
> > > update these pages globally?
>
> > > Contacted OpenText, and they suggested using the Reference Page in
> > > Clipboard for all Content ClassInstances plugin.  This however only
> > > appears to run through 1000 pages - we have closer to 10,000 pages,
> > > and the plugin didn't appear to restrict itself to instances for a
> > > selected content class.
>
> > > Can update the pages manually, but I'm not even sure how many pages
> > > are affected - and the prospect of going through 1+ pages in
> > > SmartTree to Reference Page in Clipboard on an anc element doesn't
> > > thrill me.
>
> > > Thanks for any suggestions!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Populating an element project-wide

2009-08-25 Thread Wayne Bouwmeester

You run the plugin from a link on a page instance.
It references the page in your clipboard for all instances of the
class of the specific page you run it from.
There is a max number of pages setting in the code.
You could try to change it, but I'm not sure what it will do with
10,000 pages.
You'll need to set a timeout for IIS as well I'm sure.
Do you actually have 10,000 page instances of the class in need to
assign the link to, or 10,000 pages in your project all classes
considered?
Wayne.

On Aug 25, 10:47 am, Ray  wrote:
> We have a project where a page that had been pre-assigned to an anc
> element in the content class have gone missing.  Is there a way to
> update these pages globally?
>
> Contacted OpenText, and they suggested using the Reference Page in
> Clipboard for all Content ClassInstances plugin.  This however only
> appears to run through 1000 pages - we have closer to 10,000 pages,
> and the plugin didn't appear to restrict itself to instances for a
> selected content class.
>
> Can update the pages manually, but I'm not even sure how many pages
> are affected - and the prospect of going through 1+ pages in
> SmartTree to Reference Page in Clipboard on an anc element doesn't
> thrill me.
>
> Thanks for any suggestions!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: 3 Stage Workflow

2009-08-25 Thread Wayne Bouwmeester

You should be able to add as many chained releases as you need.
Just add another release reaction on the first editor approve action.
If you can't find it, post again and we'll give you the steps.


On Aug 25, 9:52 am, Ken  wrote:
> Hi,
>
> Is it possible to have a workflow with the following process:
>
> - Author creates new page.
> - Editor is emailed and approves or rejects page.
> - If page is approved, a second editor is emailed and approves or
> rejects page.
>
> As far as I can see, it's not possible to create this kind of
> workflow. Two editors could be emailed immediately after page
> creation, but it can't be a staggered process. Is this correct?
>
> Thanks in advance,
> Ken
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: files published varies by publishing target?

2009-08-20 Thread Wayne Bouwmeester

Have you considered the effects of past publications and the
Administer Publication -> Project -> Edit General Settings: Always
replace pages, Always replace media files.
It may think you have already published out a file or page.
What happens if you delete the old, make two brand new publication
targets?

Also, I never use the draft combo in publication packages, I create
separate Project variants for Production and Staging so I have more
control over the whole thing.
Then I allow non-released pages to publish to Staging.
I think, although I'm going by memory, that using the draft combo that
appears in the Publication Package uses the same settings from a
Project variant perspective as non draft.
By setting up two Project variants, you gain visible control over
those settings.

Hope this helps.
Wayne.

On Aug 20, 1:23 pm, jljohnstone  wrote:
> Here's a good one...
>
> I have two publishing targets, "production" and "draft" for example.
> When I publish files to the "production" target, all files publish as
> expected and things work fine on the live web site. If I publish files
> to the "draft" target (by selecting HTML(Draft) and XML(Draft) in the
> Publish Pages dialog) some files (XML files) don't get published.
>
> Initially, I thought I had some project variant related settings
> incorrect and that was causing this problem. After checking those
> settings and republishing, the problem remains.
>
> As a test, I changed the FTP path in the "production" target to match
> the FTP path in the "draft" target, essentially making the production
> target publish to the draft web server. After publishing with this
> configuration, following the same steps (selecting HTML(Draft) and XML
> (Draft)) all files were published properly to the draft web server and
> everything worked as expected.
>
> If both publication targets are identical except for the FTP path, why
> would some files be published under one target but not with another?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Inheriting a Structural Workflow

2009-08-17 Thread Wayne Bouwmeester

Yes, but you'd need to ensure it "inherits" for new child pages as
well.
(i.e. run the code on a create and connect action) - Something that
the content workflow takes care of automatically.

It would be great if they came out with a set of triggers that would
fire, to which you could hook up .net code events.
I remember customizing Great Plains Dynamics financial system years
ago and it would fire events for just about everything in the system.
Made customizing transactions so easy.

I wonder if you could create a bunch of DB triggers to accomplish the
same thing in RedDot.
You're not actually modifying the DB directly and voiding the
warranty, just watching for events to occur, and the running RQL in
response...
Wayne.

On Aug 13, 8:35 pm, kimdezen  wrote:
> If thats the case, then i reckon taking a look at the RQL in the log
> when inheriting Content Workflows might give away a few hints as to
> how it could be done with structural workflows.
> Then all thats required is to package it all up into a custom plugin..
>
> Cheers,
> Kim
>
> On Aug 13, 2:10 am, Wayne Bouwmeester 
> wrote:
>
> > That's what I found as well, but I couldn't find anything going as far
> > as saying you can't - it just didn't give instructions on how.
> > I'll take that as a "you can't".
> > I'd be interested in the "why"
> > Might just be that when the structural workflow feature was added,
> > they didn't bother to implement an inherit feature...
>
> > On Aug 11, 6:10 pm, kimdezen  wrote:
>
> > > Hi Wayne,
>
> > > Having a look at the manual, it appears that you can only inherit
> > > content workflows not structural ones...
>
> > > Can anyone confirm this?
>
> > > Kim
>
> > > On Aug 12, 4:35 am, Wayne Bouwmeester 
> > > wrote:
>
> > > > I can't seem to inherit a structural workflow in the same way that I
> > > > can inherit a content workflow.
> > > > (There's no checkbox to allow the inherit menu item either on the
> > > > workflow properties window)
>
> > > > Has anyone run into this? Maybe there's a theoretically good reason
> > > > for it, which has yet to occur to me.
> > > > Any help would be appreciated.
> > > > Thanks!
> > > > Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: RQL case statement

2009-08-17 Thread Wayne Bouwmeester

I think what you have already posed is probably more readable, and
thus more manageable that trying to achieve true case-statement-like
functionality.
Nesting an if inside an else is ok to get you a few statements, but I
think the nesting gets too complicated when you need several values
evaluated.
If you're just evaluating an == then you're safe with the statements
you show since only one will actually evaluate to true.
The logic/concept may fail on other operators since more than one can
evaluate to true and thus the order in which you list them becomes
more important.
Unless you're doing a really complex site with tuns of logic, I don't
think it'll bog down your server to evaluate a few superfluous if
queries.
Especially if it means keeping your code as simple as possible for the
next guy that has to edit it and add a few more conditions.
Wayne.

On Aug 14, 8:02 am, JJB  wrote:
> I am using RedDot 7.5. I want to setup a RQL If statement like below.
> But I was wondering if I could a Case statement instead. Does RQL Case
> statement exist?
>
> 
>         
>                 
>                         
>                 <%hdl_Title%>
>              
>                 
>
>         
>                         
>                 <%hdl_Title%>
>              
>                 
>
>         
>                         
>                 <%hdl_Title%>
>              
>                 
>
>         
>                         
>                 <%hdl_Title%>
>              
>                 
>
>         
> 
>
> Is this possible?
>
> 
> case  [<%opt_Num%>]
>   when 1 then <%hdl_Title%>
>   when 2 then <%hdl_Title%>
>   when 3 then <%hdl_Title%>
>   when 4 then <%hdl_Title%>
> end
> 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en
-~--~~~~--~~--~--~---



Re: Inheriting a Structural Workflow

2009-08-12 Thread Wayne Bouwmeester

That's what I found as well, but I couldn't find anything going as far
as saying you can't - it just didn't give instructions on how.
I'll take that as a "you can't".
I'd be interested in the "why"
Might just be that when the structural workflow feature was added,
they didn't bother to implement an inherit feature...


On Aug 11, 6:10 pm, kimdezen  wrote:
> Hi Wayne,
>
> Having a look at the manual, it appears that you can only inherit
> content workflows not structural ones...
>
> Can anyone confirm this?
>
> Kim
>
> On Aug 12, 4:35 am, Wayne Bouwmeester 
> wrote:
>
> > I can't seem to inherit a structural workflow in the same way that I
> > can inherit a content workflow.
> > (There's no checkbox to allow the inherit menu item either on the
> > workflow properties window)
>
> > Has anyone run into this? Maybe there's a theoretically good reason
> > for it, which has yet to occur to me.
> > Any help would be appreciated.
> > Thanks!
> > Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Inheriting a Structural Workflow

2009-08-11 Thread Wayne Bouwmeester

I can't seem to inherit a structural workflow in the same way that I
can inherit a content workflow.
(There's no checkbox to allow the inherit menu item either on the
workflow properties window)

Has anyone run into this? Maybe there's a theoretically good reason
for it, which has yet to occur to me.
Any help would be appreciated.
Thanks!
Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: make stf element equal hdl

2009-08-06 Thread Wayne Bouwmeester

I think she's talking about the same instance i.e. copy the contents
of one element to another on the same page.
I'm fairly certain you can't do this with render tags, unless it's
some mystical undocumented feature (which wouldn't surprise me either)
We just wrote a plugin that takes source and target element names as
parameters and copies the text from one to the other.
Wayne.


On Aug 6, 4:15 pm, tiffany portman 
wrote:
> im not sure how you are using ur templates but if you have an std_test
> element and are using a container that has a trans_test element it will take
> the value of the std_test
>
> shoot if an email if this doesn't make sense
>
> On Thu, Aug 6, 2009 at 4:23 PM, Tiffany  wrote:
>
> > Can I use render tags to assign the value of one element and to
> > another?
>
> > Basically make stf_sectiontitle == hdl_title ?
>
> > Thanks in advance.
>
> --
> thetiffanyport...@gmail.com
> Charles de 
> Gaulle
> - "The better I get to know men, the more I find myself loving dogs."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Navigation Manager

2009-06-27 Thread Wayne Bouwmeester


This set of render tags will get you child pages from a parent, or
from within a page in a container on the parent.
I think all the syntax is correct - hopefully didn't introduce any
errors when I made them generic.
You can use them anywhere in the tree, since they just target the
children of the current page, and you won't need to use list to
reference another list.
It's getting the headline, but you could use .Elements.GetElement
(stf_SomeElement).GetHtml() instead of .Headline
In this way, your navigation will match the nav index, not the list
order. this might be beneficial if you are using nav manager.








<%!!
Store:pageIndex.Page.Headline !!%>










This will get you the same thing, but from one of the child pages,
showing its siblings
(it reaches back up to the parent, then down to children in case you
wanted the component on specific pages)








<%!! Store:pageIndex.Page.Headline !!%>










Can't think off the top of my head how you would do something for
every other row.
Maybe there's a modulus function you could use with:


Lastly, this is some code I wrote mixing render tags with a list.
It goes through the list, and then gets info from components (pages)
within a container on the page connected to the list.








 
<%!! Context:Pages.GetPage(Guid:<%info_PageGuid
%>).Elements.GetElement(con_PageLayouts).Value[Int:
0].Elements.GetElement(stf_Title).GetHtml()!!%>


<%!! Context:Pages.GetPage(Guid:<%info_PageGuid%>).Elements.GetElement
(con_PageLayouts).Value[Int:0].Elements.GetElement
(txt_SomeText).GetHtml()!!%>




Hope they help or at least give you some ideas.
Wayne.

On Jun 26, 6:55 am, thebiglife  wrote:
> Hello, I'm on about day 10 of learning Red Dot CMS, it's getting
> easier thanks to posting questions here and getting good answers. But
> here's another question, potentially Navigation Manager related.
>
> I have all the basic NavMan components working, sitemap, breadcrumbs
> etc... but I have one more requirement which may be something I can
> get out the NavMan. We have a 'Landing Page', a basic page that
> displays a listing of its immediate child pages (just one level deep).
> Is this achievable with NavMan and rendertags?
>
> I thought I could use <%!! Context:CurrentIndex.HasChildren() !!%> but
> this seems to give me the root page of the site, rather than the
> actual current page?
>
> Another stipulation here is that I'll need to use the landing page
> content class in several places, so the iteration of the children
> needs to be generic. (i.e mentionning this because this 
> ideahttp://groups.google.com/group/RedDot-CMS-Users/browse_thread/thread/...,
> doesnt seem to allow that level of flexibility)
>
> So how would you guys do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Transferring data across more than one level

2009-05-26 Thread Wayne Bouwmeester

You can likely do what you need to with Render tags.
Here's some code I used to get at a bunch of images that were in pages
on a specific list off the home page
The code loops through each of the pages on a list, and gets the image
from the img_flashBanner element.
If it is the first element, it adds it to the string, subsequent get
separated with a comma. It was used in some JS.
Gives you an idea of what you can do.
It might be a little frustrating getting the syntax down - but I think
it's possible.
Wayne.






flashImages = '<%!! Store:flashImagePage.Elements.GetElement
(img_flashBanner).GetHtml !!%>';




flashImages += ',<%!! Store:flashImagePage.Elements.GetElement
(img_flashBanner).GetHtml !!%>';







On May 18, 4:35 am, bobbykjack  wrote:
> I have the following structure:
>
> [] Page one
>     = List one
>         [] Page two
>             = List two
>                 [] Page three
>                     - Field 1
>
> List two can be limited to a single item, if that makes things easier/
> possible. Is there a mechanism allowing me to refer to Field 1 in Page
> one? I guess I need to 'transfer' a list, at some point, and I'd like
> to do all of this without resorting to additional scripting (e.g. RQL/
> ASP/etc.) if at all possible.
>
> Thanks,
>
> - Bobby
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Executing RQL in Reddot template

2009-05-07 Thread Wayne Bouwmeester

Looking up info is fine.
You don't want to update element content using RQL in PreExecute.
It conflicts with the page builder and you get hung up.
(not sure what other bad things happen, but I'm sure it rallies the
RedDot gremlins)
I think I saw someone get away with it in a post quite a while back,
but not a good idea in general.
Wayne.

On May 6, 6:08 am, Adrian Mateljan  wrote:
> Hi Sharon,
>
> RQL *can* be run inPreExecute. However, you will get more meaningful
> error messages usingRDExecute(as they won't be swallowed up by
> RedDot)
>
> You should investigate the value of sErrors in your sendXML function
> and the raw value of xmlFile to determine the actual cause of the
> error.
>
> Kind regards,
> Adrian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Implementing serch using RQL

2009-04-20 Thread Wayne Bouwmeester

Are you talking about search for visitors to your website, or search
for RedDot content editors.
RQL is used to automate RedDot but has nothing to do with your
external site after it is published.
Theoretically you could build something that uses RQL to reach into
cms and display search results, but it would be a really, really bad
idea.
If you want a simple search, you might check out the services that
google has to offer.
Wayne.

On Apr 20, 6:58 am, sharon  wrote:
> Hi All
>
> I want to implement simple search functionality using RQL, Can anyone
> pls tell if it is possible and how this can be implemented.
>
> Regards
> Sharon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Deleting Elements

2009-04-07 Thread Wayne Bouwmeester

Don't kill the session, just let it run.
It has a lot of work to do.
You're not really frozen, it's just working away.
Deleting any element from a class having a significant number of
instances just takes time.
I've often just started the action when leaving work and let it run
into the night.
Wayne.

On Apr 7, 9:42 am, Nitin  wrote:
> I want to delete list elements from the template. Whenever I use the
> 'Delete Element' option from Action Menu, my login freezes out and I
> end up killing the CMS session. This template lots of page instances
> say upto 5000.
>
> I do not see any way out through RQL also. Appreciate quick solution
> to workaround this CMS problem.
>
> Thanks,
> Nitin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: RQL - determine attributes...

2009-04-06 Thread Wayne Bouwmeester

Strange.
Have you ever gone to the pages in Smart Edit / Smart Tree.
Sometimes RedDot hasn't created the elements yet and they don't
return.
e.g. if you already have an instance created, then add an element to
the class and run the plugin the new field doesn't appear.
Try hitting the page in smart tree, opening the elements node, and
putting some content in one element.
Release it and try again.
(this may not be your problem, but worth mentioning)

Other than that, if the RQL works for the page but not the elements,
I'm out of ideas to try.
Wayne

On Apr 6, 8:44 am, abdn_webteam  wrote:
> There's no returning error.
>
> The  node info is coming back just fine; returns the correct
> dialoglanguageid, pageguid, all that. We can also get at the
>  node and associated attributes no problem. It just doesn't
> appear to contain any child  nodes, which as stated above is
> implausible.
>
> Added the option="extendedinfo" to the  node; no difference.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: RQL - determine attributes...

2009-04-06 Thread Wayne Bouwmeester

just as a test, try adding the attribute option="extendedinfo" to your
PAGE node.
Are you getting information back in the PAGE node at all?
Have you checked the returning error to see if there's something
wrong?
Wayne.

On Apr 6, 7:18 am, abdn_webteam  wrote:
> It seems we cannot get at the  nodes using RQL, that or the
>  node doesn't have any elements, which is ridiculous... it
> has 10.
>
> Our external plug-in RQL script is logging on, we have the login guid
> and the session key, and for the moment we have hard-coded a page guid
> in the script. We can response.write all of the variables out no
> problem. We can list link elements of the page no problem. But trying
> to determine the elements of a page returns nothing.
>
> We've set up the query exactly as it appears in the RQL manual:
>
> 
>   
>     
>   
> 
>
> What we're getting back seems to be exactly the same thing (i.e.
> IODATA/PAGE/ELEMENTS), only without any of the  nodes which
> the manual says we should expect. If we use session variables, the
> script works fine and can get at all the element nodes just as the
> manual describes, but this needs to run as an external plug-in.
>
> Thanks in advance, as always, for any help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Pass page GUID to user-defined job...

2009-03-31 Thread Wayne Bouwmeester

You could try to do something with the
"Write workflow XML file" reaction.
It allows you to write out an XML file that can include the PageID/
GUID
You could then have a scheduled task that runs a process to check for
files in the folder, and process them.
food for thought.
Wayne.


On Mar 31, 11:01 am, abdn_webteam  wrote:
> We have a nice wee bit of RQL which assigns keywords to a page. It's
> so nifty it even assigns different keywords depending on the date. It
> all works wonderfully as a plug-in activated from the action menu
> using the session variables for login/session key/etc, but what we
> want to do is have the plug-in triggered by workflow, specifically
> when a page is released.
>
> The only workflow option we can see which would trigger a plug-in is
> starting a user-defined job (Open URL) but that doesn't appear to
> recognise the session variables. We have a 'user' set up to run RQL
> scripts which we can log on and get a session key, but we also need
> the specific page GUID of the released page to be passed to the user-
> defined job in order to assign the keywords.
>
> There is the option of having the plug-in loop through all child pages
> of a given parent list, the GUID of which we could hard-code into the
> plug-in, however we'd rather not go down that route since there may
> well be many pages hanging off the list eventually.
>
> Any help would be greatly appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Data transfer from page in a list to its containing page

2009-03-30 Thread Wayne Bouwmeester

I don't get the same results as Gavin.

Class A Code:
Class A Page ID:<%inf_PageID%>


Class B ID:<%inf_PageID%>



Class B Code:
<%inf_PageID%>

Created one instance of Class A - which came out as page ID 528
Created two instance of Class B - which came out as Page IDs 529 and
530

Page A preview displays:

Class A Page ID:528
Class B ID:530
Class B ID:529

I'm on version 9, but I've sure I've done this in version 5.5 as well.
Just make sure to check "transfer element content of following pages"
and you should be fine.
Not sure why it wouldn't be working for you.
Wayne.

On Mar 30, 7:17 pm, "Stephane Ritchot \(SR Web Media\)"
 wrote:
> Hi Gavin,
>
> Quick question, can another info placeholder be used in the page?
>
> ie: inf_ChildPageID is use within the block marks and inf_MasterPageID use
> outside the block marks.
>
> Thanks
>
> Stephane
>
> SR Web Media Inc.
>
> Stéphane Ritchot
> Conseiller Web
>  <mailto:steph...@srwebmedia.com> steph...@srwebmedia.comwww.srwebmedia.com
>
>   _  
>
> From: RedDot-CMS-Users@googlegroups.com
> [mailto:reddot-cms-us...@googlegroups.com] On Behalf Of Gavin Cope
> Sent: March-30-09 3:56 PM
> To: RedDot-CMS-Users@googlegroups.com
> Subject: Re: Data transfer from page in a list to its containing page
>
> Also, make sure the info placeholder is not used anywhere outside the list
> block marks on the parent page. If it is, it will only report the parent
> page's ID rather than the child page's ID even though the placeholder is
> inside the list block marks.
>
> Cheers,
>
> Gavin
>
> 2009/3/31 Bobby Jack 
>
>
>
> Wayne Bouwmeester wrote:
> > Yes, make it an info element in each page.
> > That way if you use pages from class A on some other list, it will
> > work there as well.
> > Make sure the Page ID field is within the list block markers on class
> > B
>
> > On Mar 30, 12:09 pm, Bobby Jack  wrote:
>
> >> Wayne Bouwmeester wrote:
>
> >>> Create an info element of type page id on class B
> >>> name it info_PageID
> >>> create the same element on class A (same name)
> >>> use the element within your list block markers and it will display the
> >>> page ID of the current page in the list loop.
> >>> Use it outside the block markers, it will display the ID of the
> >>> current page you're viewing.
> >>> Wayne.
>
> >>> On Mar 30, 8:51 am, bobbykjack  wrote:
>
> >>>> For some reason, every time I try to do this, I struggle. So, can
> >>>> someone please give a definitive answer; I'll keep a record of it this
> >>>> time, I promise!
>
> >>>> So, I have a page (A) containing a list (lst_items). That list
> >>>> contains a number of pages, let's say one of them is B. I need to get
> >>>> B's page ID and display it in A.
>
> >>>> I definitely need:
>
> >>>> 
> >>>> 
> >>>> ... some content ...
> >>>> 
>
> >>>> and I'll need some kind of transfer element or same-named element
> >>>> somewhere. Any ideas?
>
> >>>> - Bobby
>
> >> Thanks, Wayne. That's what I have, but it's only displaying the parent
> >> ID's page in the list loop. Should the elements be of exactly the same
> >> type (e.g. Info, PAGE ID) or should one be a transfer?
>
> Hmmm ... that's what I have: still doesn't work. Does the element need
> to be copied+pasted somehow? The marker should be an 'IORangeList', right?
>
> No virus found in this incoming message.
> Checked by AVG -www.avg.com
> Version: 8.0.238 / Virus Database: 270.11.33/2031 - Release Date: 03/30/09
> 17:56:00
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Data transfer from page in a list to its containing page

2009-03-30 Thread Wayne Bouwmeester

Yes, make it an info element in each page.
That way if you use pages from class A on some other list, it will
work there as well.
Make sure the Page ID field is within the list block markers on class
B

On Mar 30, 12:09 pm, Bobby Jack  wrote:
> Wayne Bouwmeester wrote:
> > Create an info element of type page id on class B
> > name it info_PageID
> > create the same element on class A (same name)
> > use the element within your list block markers and it will display the
> > page ID of the current page in the list loop.
> > Use it outside the block markers, it will display the ID of the
> > current page you're viewing.
> > Wayne.
>
> > On Mar 30, 8:51 am, bobbykjack  wrote:
>
> >> For some reason, every time I try to do this, I struggle. So, can
> >> someone please give a definitive answer; I'll keep a record of it this
> >> time, I promise!
>
> >> So, I have a page (A) containing a list (lst_items). That list
> >> contains a number of pages, let's say one of them is B. I need to get
> >> B's page ID and display it in A.
>
> >> I definitely need:
>
> >> 
> >> 
> >> ... some content ...
> >> 
>
> >> and I'll need some kind of transfer element or same-named element
> >> somewhere. Any ideas?
>
> >> - Bobby
>
> Thanks, Wayne. That's what I have, but it's only displaying the parent
> ID's page in the list loop. Should the elements be of exactly the same
> type (e.g. Info, PAGE ID) or should one be a transfer?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Data transfer from page in a list to its containing page

2009-03-30 Thread Wayne Bouwmeester

Create an info element of type page id on class B
name it info_PageID
create the same element on class A (same name)
use the element within your list block markers and it will display the
page ID of the current page in the list loop.
Use it outside the block markers, it will display the ID of the
current page you're viewing.
Wayne.

On Mar 30, 8:51 am, bobbykjack  wrote:
> For some reason, every time I try to do this, I struggle. So, can
> someone please give a definitive answer; I'll keep a record of it this
> time, I promise!
>
> So, I have a page (A) containing a list (lst_items). That list
> contains a number of pages, let's say one of them is B. I need to get
> B's page ID and display it in A.
>
> I definitely need:
>
> 
> 
> ... some content ...
> 
>
> and I'll need some kind of transfer element or same-named element
> somewhere. Any ideas?
>
> - Bobby
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: SessionService and RQLService on CMS V9.0 running really slowly

2009-03-05 Thread Wayne Bouwmeester

OK, So I answered my own question.
I was stepping through the code in debug mode.
for some reason, stepping into the call to the RedDot web services
causes a 20 second delay when on 9.0
and not on 7.5.
If you set a breakpoint after the call, and just let it run, you get
instant results.
I'd be keen to know why the difference, but for now things are
working.
Wayne.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: SessionService and RQLService on CMS V9.0 running really slowly

2009-03-05 Thread Wayne Bouwmeester

FYI the common log doesn't get populated with the RQL for the call
until just before it returns.

On Mar 5, 11:52 am, Wayne Bouwmeester 
wrote:
> Hi Everyone,
> I've been using the SessionService and RQLService on CMS 7.5 for a
> while and I started using them on a  CMS 9.0 Server.
> It still works, but now takes about 20 seconds for every call to
> return.
> i.e. a call to create a age takes 20 seconds to come back with the new
> page GUID.
> Calls to my CMS 7.5 instance return almost instantly.
> So it works, just really slowly. The server is blazing fast, and CMS
> runs very well on it.
> Any ideas why the web services would run so slowly?
> Any settings I might try to change?
> Thanks in advance!
> Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



SessionService and RQLService on CMS V9.0 running really slowly

2009-03-05 Thread Wayne Bouwmeester

Hi Everyone,
I've been using the SessionService and RQLService on CMS 7.5 for a
while and I started using them on a  CMS 9.0 Server.
It still works, but now takes about 20 seconds for every call to
return.
i.e. a call to create a age takes 20 seconds to come back with the new
page GUID.
Calls to my CMS 7.5 instance return almost instantly.
So it works, just really slowly. The server is blazing fast, and CMS
runs very well on it.
Any ideas why the web services would run so slowly?
Any settings I might try to change?
Thanks in advance!
Wayne.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Links

2009-02-26 Thread Wayne Bouwmeester

You'll need Server manager for sure, and you'll have to get the files
to a directory in the plugins directory.
Wayne.

On Feb 26, 1:38 pm, fred2028  wrote:
> Thanks, I will take a good look at that. I'm guessing that the plugin
> requires back-end access to the CMS server?
>
> On Feb 26, 2:30 pm, Wayne Bouwmeester 
> wrote:
>
> > There is a plugin on the community site that does what you want:
> > Reference page in clipboard for all pages of template.
> > It puts an option in the bottom of the actions menu - you'll see it
> > when you click on an anchor in the tree.
> > This gets the 500 some pages you've already created linked up for you.
> > Wayne.
>
> > On Feb 26, 11:25 am, fred2028  wrote:
>
> > > I have a site built in RedDot with 500+ pages. I want to make my
> > > banner a link to the homepage. This banner appears on every page. I
> > > know how to do it for all new pages (Smart Edit > Start > Administer
> > > Content Classes > Foundation > Foundation > Structural Elements >
> > > link_homeBanner and reference to Homepage in clipboard), but how do I
> > > do it for all pages I currently have? I don't want to go through all
> > > 500 pages manually.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Links

2009-02-26 Thread Wayne Bouwmeester

There is a plugin on the community site that does what you want:
Reference page in clipboard for all pages of template.
It puts an option in the bottom of the actions menu - you'll see it
when you click on an anchor in the tree.
This gets the 500 some pages you've already created linked up for you.
Wayne.

On Feb 26, 11:25 am, fred2028  wrote:
> I have a site built in RedDot with 500+ pages. I want to make my
> banner a link to the homepage. This banner appears on every page. I
> know how to do it for all new pages (Smart Edit > Start > Administer
> Content Classes > Foundation > Foundation > Structural Elements >
> link_homeBanner and reference to Homepage in clipboard), but how do I
> do it for all pages I currently have? I don't want to go through all
> 500 pages manually.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Breadcrumbing in the Nav Manger

2009-02-11 Thread Wayne Bouwmeester

Have you set things up properly for NavManager?
Your post still looks like you are using the old method of doing a
breadcrumb.
You can use nav manager templates to create a breadcrumb quite easily,
but you need to:
Activate nav manager
Set Master Classes and identify an appropriate list (to create a tree
structure of child pages)
Create nav templates
configure a navigation area for the breadcrumb, assign templates to
it, and place it in our Master Class.
This basically replaces the  method.
If you have done these things, and your page isn't showing up, is it
in the navigation index?
Wayne.

On Feb 10, 1:29 pm, Dave R  wrote:
> Ok, I'm confused here. I'm working on getting the breadcrumbing to
> work properly in our new nav manager templates. Right now, the
> breadcrumbing works fine for the skip level nav pages we have in place
> (2 tiers) and the first actual page after that. For any subpage
> though, the breadcrumbing simply stops functioning as though it's not
> there. I have no idea what's going on with that. The code we're using
> is the following:
>
> <%anc_Breadcrumb%> |  IoRangeBreadCrumb> <%hdl_Headline%>
>
> <%anc_Breadcrumb%> is a dynamic anchor. Obviously, <%hdl_Headline%>
> still displays so it's everything within the breadcrumb block marks
> that disappears.
>
> I'm simply not sure what I'm missing here. The only real difference is
> that the the new pages are a combination foundation and core page
> where as before we separated the two. By core page, I just mean a
> shell to display either a 2 column + left nav page or 1 column + left
> nav page.
>
> Dave
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Navigation Structure issue

2009-02-03 Thread Wayne Bouwmeester

just making sure - did you try doing it right at the top of the tree
as described above?
L1 and L2?
Also, try unchecking the settings to make the class a master page.
Then make it a master pages again and select the appropriate list for
use with navigation.
i.e. after the content class replacement, you are making the class a
master class again.
I'm grasping as straws to remember what I had to do, but it was
something obscure.
Wayne.

On Feb 3, 12:49 pm, Nick Galotti  wrote:
> I tried that and it didn't work. I took one page that isn't showing up
> in the navigation structure and disconnected it from everything. When
> I connected it again to an anchor it didn't show up in the
> disconnected pages. So I tried to connect it to the lst_Navigation in
> another section of the site which is working properly and again it did
> not show up in the navigation structure. This is the same content
> class as the one I connected it to that is already working.
> -Nick
>
> On Feb 3, 1:52 pm, Wayne Bouwmeester 
> wrote:
>
> > You may need to do the home page as well (ie. the Level 1 page)
> > (But shouldn't need to do all levels ie 3 - N.)
> > Wayne.
>
> > On Feb 3, 11:50 am, Wayne Bouwmeester 
> > wrote:
>
> > > Try disconnecting and reconnecting the pages at level 2. This helps to
> > > reset the index.
> > > i.e. if your Home page and sub pages are all Master pages, disconnect
> > > and reconnect the sub pages on lst_Navigation (if you called it that)
> > > on your home page.
> > > Make sure they're not connected anywhere else or you'll need to make
> > > the link on the home page the main link of the page after reconnecting
> > > it.
> > > (references don't matter in this procedure)
> > > Wayne.
>
> > > On Feb 3, 6:53 am, Nick Galotti  wrote:
>
> > > > We are just starting to use the Navigation Manager and as part of this
> > > > we have a new content class that is set up as a Master Page. We have
> > > > gone in and done a replace all on an existing content class to this
> > > > new one and are now trying to set up the Navigation Structure. The
> > > > problem is I can't find all the pages in the Navigation Structure that
> > > > have been converted when I right click and go to the disconnected
> > > > pages.
>
> > > > What I have tried so far is clearing the Page Cache, clearing the
> > > > Navigation Cache, and resetting the Navigation Index.
>
> > > > When I create a new page using the new content class it works fine and
> > > > I can find it in the disconnected pages it is just the ones that were
> > > > converted to the new content class that are not showing up.
>
> > > > Any ideas?
> > > > -Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Navigation Structure issue

2009-02-03 Thread Wayne Bouwmeester

Was it still connected to the anchor when you connected it to the nav
list?
What happens if it's not connected anywhere, and you connect it to the
nav list identified in nav manager?
If that doesn't work, I'll put some thought into it.
I ran into this exact problem a while back and thought, "I should
document this procedure" but didn't...
Wayne.

On Feb 3, 12:49 pm, Nick Galotti  wrote:
> I tried that and it didn't work. I took one page that isn't showing up
> in the navigation structure and disconnected it from everything. When
> I connected it again to an anchor it didn't show up in the
> disconnected pages. So I tried to connect it to the lst_Navigation in
> another section of the site which is working properly and again it did
> not show up in the navigation structure. This is the same content
> class as the one I connected it to that is already working.
> -Nick
>
> On Feb 3, 1:52 pm, Wayne Bouwmeester 
> wrote:
>
> > You may need to do the home page as well (ie. the Level 1 page)
> > (But shouldn't need to do all levels ie 3 - N.)
> > Wayne.
>
> > On Feb 3, 11:50 am, Wayne Bouwmeester 
> > wrote:
>
> > > Try disconnecting and reconnecting the pages at level 2. This helps to
> > > reset the index.
> > > i.e. if your Home page and sub pages are all Master pages, disconnect
> > > and reconnect the sub pages on lst_Navigation (if you called it that)
> > > on your home page.
> > > Make sure they're not connected anywhere else or you'll need to make
> > > the link on the home page the main link of the page after reconnecting
> > > it.
> > > (references don't matter in this procedure)
> > > Wayne.
>
> > > On Feb 3, 6:53 am, Nick Galotti  wrote:
>
> > > > We are just starting to use the Navigation Manager and as part of this
> > > > we have a new content class that is set up as a Master Page. We have
> > > > gone in and done a replace all on an existing content class to this
> > > > new one and are now trying to set up the Navigation Structure. The
> > > > problem is I can't find all the pages in the Navigation Structure that
> > > > have been converted when I right click and go to the disconnected
> > > > pages.
>
> > > > What I have tried so far is clearing the Page Cache, clearing the
> > > > Navigation Cache, and resetting the Navigation Index.
>
> > > > When I create a new page using the new content class it works fine and
> > > > I can find it in the disconnected pages it is just the ones that were
> > > > converted to the new content class that are not showing up.
>
> > > > Any ideas?
> > > > -Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Navigation Structure issue

2009-02-03 Thread Wayne Bouwmeester

You may need to do the home page as well (ie. the Level 1 page)
(But shouldn't need to do all levels ie 3 - N.)
Wayne.

On Feb 3, 11:50 am, Wayne Bouwmeester 
wrote:
> Try disconnecting and reconnecting the pages at level 2. This helps to
> reset the index.
> i.e. if your Home page and sub pages are all Master pages, disconnect
> and reconnect the sub pages on lst_Navigation (if you called it that)
> on your home page.
> Make sure they're not connected anywhere else or you'll need to make
> the link on the home page the main link of the page after reconnecting
> it.
> (references don't matter in this procedure)
> Wayne.
>
> On Feb 3, 6:53 am, Nick Galotti  wrote:
>
> > We are just starting to use the Navigation Manager and as part of this
> > we have a new content class that is set up as a Master Page. We have
> > gone in and done a replace all on an existing content class to this
> > new one and are now trying to set up the Navigation Structure. The
> > problem is I can't find all the pages in the Navigation Structure that
> > have been converted when I right click and go to the disconnected
> > pages.
>
> > What I have tried so far is clearing the Page Cache, clearing the
> > Navigation Cache, and resetting the Navigation Index.
>
> > When I create a new page using the new content class it works fine and
> > I can find it in the disconnected pages it is just the ones that were
> > converted to the new content class that are not showing up.
>
> > Any ideas?
> > -Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Navigation Structure issue

2009-02-03 Thread Wayne Bouwmeester

Try disconnecting and reconnecting the pages at level 2. This helps to
reset the index.
i.e. if your Home page and sub pages are all Master pages, disconnect
and reconnect the sub pages on lst_Navigation (if you called it that)
on your home page.
Make sure they're not connected anywhere else or you'll need to make
the link on the home page the main link of the page after reconnecting
it.
(references don't matter in this procedure)
Wayne.


On Feb 3, 6:53 am, Nick Galotti  wrote:
> We are just starting to use the Navigation Manager and as part of this
> we have a new content class that is set up as a Master Page. We have
> gone in and done a replace all on an existing content class to this
> new one and are now trying to set up the Navigation Structure. The
> problem is I can't find all the pages in the Navigation Structure that
> have been converted when I right click and go to the disconnected
> pages.
>
> What I have tried so far is clearing the Page Cache, clearing the
> Navigation Cache, and resetting the Navigation Index.
>
> When I create a new page using the new content class it works fine and
> I can find it in the disconnected pages it is just the ones that were
> converted to the new content class that are not showing up.
>
> Any ideas?
> -Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: creating folders in RedDot and publishing issues

2009-01-27 Thread Wayne Bouwmeester

Good thought, but I don't think the main link impacts where a pages is
published - just where references to the page derive their link.
When you publish a page, RedDot looks to all of the page's
connections, finds the publication package on each connection (anchor
or list) and publishes the page as indicated in the publication
package. If there's no package, it publishes to the root.
When you "reference" a page from a list or anchor, RedDot looks to the
publication package of the page's main link to figure out the href for
the reference.
(kinda what the hack mentioned above facilitates)
Changing the publication package for the page wherever it is connected
doesn't really help if you are using lists and nav manager because you
then change the package for the rest of the pages on the list as well
- not what you want.
I also haven't had any luck connecting a page on more than one list
when using the navmanager. Has anyone else?
It basically removes it from where it was in the navigation index.
(still connected, but doesn't appear in nav manager, nor the generated
code anymore)
We ended up creating a redirect type of page that could be connected
into navigation and allow for nav text, but published a page which did
a server side redirect to the real page. (The link is created using an
anchor that references the real page)
I'd suggest that if you have too many of these, your information
architecture might need some work. Push back on the business team and
tell them you don't want to create hacks - we're all behind you!!
I've found that cross linking all over a site using the main
navigation, though it may seem to be a quick help to the user, really
causes more confusion than help.
hmmm maybe I'm going too far mixing business with code...
An easy fix is to do an inpage link (see the such and such section for
more information on abc)
If this is a text link, it's a reference by nature and therefore
doesn't cause the page to be published but rather links to the page
where it's "main link" directs it to be published.
Hope this helps.
Wayne.


On Jan 27, 7:49 am, Nathan Palmer  wrote:
> There may be an issue with the page's main link. Try clicking on the page in
> SmartTree and clicking "Linking/Appearance Schedule" in the Action Menu.
> This will show you all the places that link to that page and allow you to
> choose its main link, which determines what publishing package the page will
> use.
>
> On Tue, Jan 27, 2009 at 9:46 AM, toot  wrote:
>
> > Thank you for your reply Komal.
>
> > I realize I was not as clear as I tried to be in my first post.
>
> > We have a publication package for Marine Safety which publishes all
> > pages to the folder marinesafety. We also have a publication package
> > which publishes all pages in Civil Aviation to the civilaviation
> > folder. The publications packages are assigned to the list_nav. But
> > when there is a link in the list in Civile Aviation which points to a
> > page in Marine Safety, RedDot seems unable to determine that this link
> > to the page in Marine Safety is only a pointer and should not publish
> > that page in the folder civilaviation. We cannot assign a publication
> > package on the link specifically, only on the list.
>
> > I hope this makes more sense.
>
> > Todd.
>
> > On Jan 27, 8:01 am, Komal  wrote:
> > > Hi Todd,
>
> > > What I can figure out from your post is you should have created a
> > > publication package for the Civil Aviation and one for the Marine
> > > Safety.
>
> > > You told that you have a link in the civil aviation pointing to Marine
> > > Safety.Now  What you can do is select that link in the Project
> > > Structure and define publication package(Action Menu) named  Marine
> > > Safety,if it doesnt exist(or  connect to already existing package, if
> > > you have already created one).
>
> > > I think it should one.
>
> > > Please let me know if its not clear or if you need any other info.
>
> > > Komal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Using alternate Templates under a common Content Class

2009-01-22 Thread Wayne Bouwmeester

Sounds like the link element on which you are creating the new page
only has the Benefits content class preassigned.
And if it is the only class that has been preassigned, RedDot just
goes ahead and creates a page on that template.
Just find the link (anc or list) at the content class level and
preassign more content classes to it.

not sure if I like the idea of creating a different template for each
section of the site though.
It will result in maintenance headaches down the road.
If you're on 7.5+ you can likely get what you need out of the nav
manager and some throughfull css.
Wayne.

On Jan 22, 1:16 pm, fred2028  wrote:
> I have a Content Class called Non-Homepage for all pages that are not
> the homepage. Because there are many sections of the site, I've
> decided to create a different template for each since the 3rd-level
> navigation (on the left) would be different for each section, even
> though the general layout will be consistent.
>
> My default template for Non-Homepage is called Benefits while I just
> created a new Template called Employee Status Changes. Whenever I try
> to create a new page with the Non-Homepage content class, I am always
> directed to the Benefits template directly. How do I create a page
> using the Employee Status Changes template?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: I need to specify a default folder for an element in a content class *by user* or authorization. How?

2008-12-19 Thread Wayne Bouwmeester

don't be embarrassed yet - I didn't check it out so it may not work.
I'm assuming that even if you do default it, the user will be forced
to make a choice since they don't have access to the default folder.
It may only work for the text editor.

On Dec 19, 11:09 am, CraigNY  wrote:
> Said embarrassingly, I didn't knowyou didn't have to default. Will
> have to try that.
>
> I KNEW it would be something simple.
>
> Thanks
>
> On Dec 19, 1:06 pm, Wayne Bouwmeester 
> wrote:
>
> > What if you didn't default it at all, but used authorization packages
> > (on the folders) to limit which folders the user can see.
> > Most would only see one folder, so would pick that folder to load the
> > asset into.
> > Those that see two or more need to make a choice anyway.
>
> > On Dec 19, 11:00 am, CraigNY  wrote:
>
> > > Hi,
> > > My query is simple.
>
> > > We have a large project on our intranet, each department will be
> > > uplaoding scads of documents. They each have their own folder to do
> > > so, since uploading to documents and then having them switch to their
> > > sub-folder wasn't working. They always forgot.
>
> > > So here is my question. You can specify for an element in a content
> > > class what you want the default folder to be but what I want to do is
> > > when a user uses that content class, either by authorization or by
> > > user or even by place in the tree, I want the default folder to
> > > change. So for office A, using the content class, it goes into
> > > document_A folder, for office B, using the content class, it goes into
> > > document_B, etc.
>
> > > I despair of creating 20 duplicate content classes just to do this
> > > one, seemingly simple thing.
>
> > > Thanks again, as always.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: I need to specify a default folder for an element in a content class *by user* or authorization. How?

2008-12-19 Thread Wayne Bouwmeester

What if you didn't default it at all, but used authorization packages
(on the folders) to limit which folders the user can see.
Most would only see one folder, so would pick that folder to load the
asset into.
Those that see two or more need to make a choice anyway.


On Dec 19, 11:00 am, CraigNY  wrote:
> Hi,
> My query is simple.
>
> We have a large project on our intranet, each department will be
> uplaoding scads of documents. They each have their own folder to do
> so, since uploading to documents and then having them switch to their
> sub-folder wasn't working. They always forgot.
>
> So here is my question. You can specify for an element in a content
> class what you want the default folder to be but what I want to do is
> when a user uses that content class, either by authorization or by
> user or even by place in the tree, I want the default folder to
> change. So for office A, using the content class, it goes into
> document_A folder, for office B, using the content class, it goes into
> document_B, etc.
>
> I despair of creating 20 duplicate content classes just to do this
> one, seemingly simple thing.
>
> Thanks again, as always.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: IDs of pages in list

2008-11-25 Thread Wayne Bouwmeester

Did you create the inf_page_id element in the class that you are
connecting to the list as well?
Otherwise there's no element to transfer through the list.
(has to be defined in the class containing the list and in the class
whose instances are connected to the list.
Wayne.

On Nov 25, 8:15 am, bobbykjack <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How do I get the ID of a page in a list? I thought it was simple:
>
> <%inf_page_id%> IoRangeList>
>
> but that just gives the ID of the page the list is *contained* within.
> Any ideas?
>
> - Bobby
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: How do I change publication target of one page in a list?

2008-11-24 Thread Wayne Bouwmeester

Looks interesting - I think I remember reading something about this
before.
But doesn't it only fake out the page builder into thinking the page
is referenced by the list?
Where would you put the unique publication package in Tiffany's
example above?
Wayne.


On Nov 24, 11:43 am, RedDot in Toronto <[EMAIL PROTECTED]> wrote:
> This is very hacky... but what you can do is this...
>
> "); ?
>
>
>
> If I understand your problem correctly.
>
> A list can only have one publication package and anything under that
> list will publish to the location specified in that publication
> package. The above code will tell RedDot to check the main link of the
> page in question and use the main link. What you can do is set the
> main link and assign it to the location where you want to publish with
> the publication package. It makes it think that the list is an anchor
> and that you are doing a "reference existing" page instead of "connect
> to existing page", of course you'll have to check what the list is
> iterating through currently probably with the title or page ID. I'd
> use it sparingly though if you want to find out more about this there
> is a section in the RQL documentation under lists/anchors that tell
> you what the flag does.
>
> On Nov 24, 12:07 pm, Tiffany <[EMAIL PROTECTED]> wrote:
>
> > I have a page in a list which needs to be published as the index of
> > it's subpages. How do I change the target of just one page and not the
> > whole list? There is no option in the Action menu for individual
> > pages.
>
> > g
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: How do I change publication target of one page in a list?

2008-11-24 Thread Wayne Bouwmeester

I had a quick chat with a colleague here who has already put some
thought into this as well.
We're going to start using a custom 404 handler which creates a 301
redirect when the user hits a directory.
The handler uses XPATH to look up the directory in an XML file, and
create the appropriate redirect if it finds a match.
If there's no match, it just gives you a standard 404 error page.
I'll probably write a plugin that climbs through the cms publication
structure and creates a default set of information.

I'll write it up when we're done implementing it.
Wayne.


On Nov 24, 10:30 am, Tiffany <[EMAIL PROTECTED]> wrote:
> ...seriously?
> *sigh*
>
> On Nov 24, 12:21 pm, Wayne Bouwmeester <[EMAIL PROTECTED]>
> wrote:
>
> > You can't. Lists can only have one publication package.
> > Pages publish out for each one of their connections, and look to their
> > parent link for a publication package.
> > If they don't find one, they publish to the root.
> > If you are using nav manager (hence the list) there's no great
> > workaround.
> > You can sometimes get away with dynamic anchors at the top level
> > (allowing for separate publication packages), but this doesn't work
> > well for sub levels.
> > You might be able to come up with a class to use once on every list
> > that publishes out an "index" named page to each directory which
> > creates a redirect to the appropriate page. (you could use an anchor
> > link to the parent page to get the redirect url) but you'd want to do
> > a proper redirect.
> > SEO and HTML experts might have an opinion on what "proper means"
> > 301 / 302 / etc.
> > Not so much fun if you have hundreds of directories...
> > Wayne.
>
> > On Nov 24, 10:07 am, Tiffany <[EMAIL PROTECTED]> wrote:
>
> > > I have a page in a list which needs to be published as the index of
> > > it's subpages. How do I change the target of just one page and not the
> > > whole list? There is no option in the Action menu for individual
> > > pages.
>
> > > g
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: How do I change publication target of one page in a list?

2008-11-24 Thread Wayne Bouwmeester

You can't. Lists can only have one publication package.
Pages publish out for each one of their connections, and look to their
parent link for a publication package.
If they don't find one, they publish to the root.
If you are using nav manager (hence the list) there's no great
workaround.
You can sometimes get away with dynamic anchors at the top level
(allowing for separate publication packages), but this doesn't work
well for sub levels.
You might be able to come up with a class to use once on every list
that publishes out an "index" named page to each directory which
creates a redirect to the appropriate page. (you could use an anchor
link to the parent page to get the redirect url) but you'd want to do
a proper redirect.
SEO and HTML experts might have an opinion on what "proper means"
301 / 302 / etc.
Not so much fun if you have hundreds of directories...
Wayne.

On Nov 24, 10:07 am, Tiffany <[EMAIL PROTECTED]> wrote:
> I have a page in a list which needs to be published as the index of
> it's subpages. How do I change the target of just one page and not the
> whole list? There is no option in the Action menu for individual
> pages.
>
> g
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: isActive isCurrent

2008-11-20 Thread Wayne Bouwmeester

Couple of questions:
Where did you put your actual isActive isCurrent asp functions?
Also, where is your code to create the breadcrumb string used by the
two functions?
You are using anc_Main for your href, but lst_LeftNav as the
controlling list - what is anc_Main?
Wayne.

On Nov 20, 9:41 am, Kristy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've spent an insane amount of time trying to get isActive and
> isCurrent to work on my site -- and it just doesn't. I followed the
> instructions in the RedDot Community article and had to make a few
> modifications for my particular situation. Basically, the nav I'm
> looking to get is this:
>
> Item 1 (not active)
>   Item 1 subnav 1 (not active)
>   Item 1 subnav 2 (not active)
>
> Item 2 (ACTIVE)
>  Item 2 subnav 1 (not active)
>  Item 2 subnav 2 (ACTIVE)
>
> This is in my foundation template:
>
> 
>                 
>                     <% If isCurrent("<%list_LeftNav%>") Then %>
>                     
>                         Current: <
> %hdl_Headline%><%con_leftnav_selected%>
>                     
>                     <% ElseIf isActive("<%list_LeftNav%>") Then %>
>                     
>                         Active: <
> %hdl_Headline%><%con_leftnav_selected%>
>                     
>                     <% Else %>
>                     
>                         None: <%hdl_Headline%> A><%con_leftnav_nonselected%>
>                     
>                     <% end if %>
>                 
> 
>
> The templates for con_leftnav_selected and con_leftnav_nonselected are
> exactly the same for now, but eventually I want to also have
> preexecute script in there to determine which item I'm currently on.
>
> I'm really stumped with this. I can't believe I'm the first person to
> need nested isActive isCurrent functionality... and for now I an't
> even get the main level to display correctly.
>
> Kristy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: RedDot gripes

2008-11-17 Thread Wayne Bouwmeester

hmmm... and when I said "whole heatedly" I really meant
"wholeheartedly"
Good think I'm not an English major.



On Nov 17, 12:44 pm, Wayne Bouwmeester <[EMAIL PROTECTED]>
wrote:
> Hi a1234587, if that is indeed your real name :)
> I've been using RedDot now, as an implementer, for slightly more than
> 6 years and I whole heatedly disagree with your post.
>
> RedDot is not a terrible piece of software, and it doesn't have a HUGE
> amount of problems, although I guess that's a relative term, and
> really depends on how things have been setup for you.
> There are several very large websites powered by RedDot, and they seem
> to be up and running.
> It has it's quirks, same as any other software, but if it were a bunch
> of crap (my words, not yours), it would have tanked years ago because
> people wouldn't by it.
> In the end, the benefits far outweigh the glitches. If you think the
> amount of $ a client pays for the software, think about how much the
> executives at Hummingbird, and later OpenText paid to acquire it.
> People are always going to complain about it, because people like to
> complain - I like to complain.
> The complaints only gain credibility when a better option can be
> shown, for the same price.
>
> Sounds like you just had a bad day - or maybe a bad year - I've had
> some "I hate RedDot" days but in the end, I love working with the
> product.
> Kinda like my love/hate relationship with the stuff Microsoft puts
> out, but it's kept me employed for 12 years.
>
> I notice this is your only post to the group - maybe we can help you
> with your frustrations - if you post them here.
> In any event, hope your RedDot problems improve!
> Wayne.
>
> On Nov 17, 9:51 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > All,
>
> > I've been using RedDot for slightly more than a year now, and I've
> > taken as much as I can. I finally have to get the HUGE amount of
> > problems, bugs, and general complaints about this terrible piece of
> > software off my chest. Building a decent CMS is hard, of course, but
> > if you can't do it right, certainly don't charge huge amounts of money
> > for it.
>
> > My opinionated ramblings are here:
>
> >http://reddotgripes.blogspot.com/
>
> > All comments welcome.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: RedDot gripes

2008-11-17 Thread Wayne Bouwmeester

Hi a1234587, if that is indeed your real name :)
I've been using RedDot now, as an implementer, for slightly more than
6 years and I whole heatedly disagree with your post.

RedDot is not a terrible piece of software, and it doesn't have a HUGE
amount of problems, although I guess that's a relative term, and
really depends on how things have been setup for you.
There are several very large websites powered by RedDot, and they seem
to be up and running.
It has it's quirks, same as any other software, but if it were a bunch
of crap (my words, not yours), it would have tanked years ago because
people wouldn't by it.
In the end, the benefits far outweigh the glitches. If you think the
amount of $ a client pays for the software, think about how much the
executives at Hummingbird, and later OpenText paid to acquire it.
People are always going to complain about it, because people like to
complain - I like to complain.
The complaints only gain credibility when a better option can be
shown, for the same price.

Sounds like you just had a bad day - or maybe a bad year - I've had
some "I hate RedDot" days but in the end, I love working with the
product.
Kinda like my love/hate relationship with the stuff Microsoft puts
out, but it's kept me employed for 12 years.

I notice this is your only post to the group - maybe we can help you
with your frustrations - if you post them here.
In any event, hope your RedDot problems improve!
Wayne.

On Nov 17, 9:51 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> All,
>
> I've been using RedDot for slightly more than a year now, and I've
> taken as much as I can. I finally have to get the HUGE amount of
> problems, bugs, and general complaints about this terrible piece of
> software off my chest. Building a decent CMS is hard, of course, but
> if you can't do it right, certainly don't charge huge amounts of money
> for it.
>
> My opinionated ramblings are here:
>
> http://reddotgripes.blogspot.com/
>
> All comments welcome.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Log file directory - specifically for navigation logs

2008-11-17 Thread Wayne Bouwmeester

Hi folks,
Does anyone know where you can change the directory in which RedDot
writes the navigation log files?
I've changed the setting in Server Manager for log files in general,
and they're all writing to the new directory, except for the
navigation log files.
I'm wondering if there's a separate setting somewhere.
Thanks in advance.
Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: List - Creating link to Asset Manager

2008-11-15 Thread Wayne Bouwmeester

I don't think there's a way to connect a media asset directly to a
list.
You need to create a content class with a media element, and create/
connect one for each document on the list.
If that is too much work for the users, your alternative is to use a
text field with an unordered list.
They can then link up the items in the text editor.
Wayne.

On Nov 15, 6:37 pm, NB <[EMAIL PROTECTED]> wrote:
> But how do I add the media link to a list in SmartEdit. Please let me know
> if it is possible.
>
> On Sat, Nov 15, 2008 at 9:04 AM, sbrent <[EMAIL PROTECTED]> wrote:
>
> > You can use a Media element to link to assets. It only generates the
> > path and filename, so you need to build the HTML around it.
>
> > On Nov 12, 3:52 pm, NB <[EMAIL PROTECTED]> wrote:
> > > I am trying to add a URL listitem in list. This URL would allow the
> > > SmartEdit user to connect an asset from the Asset Manager. Somehow, I am
> > not
> > > able to achieve this.
>
> > > Please let me know if anyone has tried this out earlier.
>
> > > Thanks,
> > > Nitin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Executing classic ASP inside a container

2008-10-20 Thread Wayne Bouwmeester

It's either a syntax error, or you have extra nested <% %>  or
PreExecute tags in there that don't belong.
You'll have to play around with it / get a second set of eyes to look
at it with you.


On Oct 17, 12:46 pm, bushland25 <[EMAIL PROTECTED]> wrote:
> Hi Wayne,
>
> Both the hello world and my new page are working only as temporary
> files. The container appears blank all the time. Any ideas?
>
> Thanks!
>
> On Oct 17, 9:03 am, Wayne Bouwmeester <[EMAIL PROTECTED]>
> wrote:
>
> > If your Hello World block works, but the others don't, it's likely a
> > syntax error.
> > Have a look at the temp file first to see that all is as you'd expect.
> > If so, you can either download the debugging plugin - I have no
> > experience with it,
> > or take your code out and add it back statement by statement until you
> > find the offending one,
> > or browse to the temp file (you may have to put it elsewhere) as a
> > real web page and see what you get for an error.
>
> > On Oct 16, 6:14 pm, bushland25 <[EMAIL PROTECTED]> wrote:
>
> > > Hi Wayne,
>
> > > I see the temporary asp file being generated on the server and the
> > > content of that file is completely correct. However, I still get a
> > > blank page when I try to view the page in the CMS. Everytime I try to
> > > view the page, the temporary asp file gets updated, so I know that the
> > > code is executing. Any ideas?
>
> > > Thanks!
>
> > > On Oct 16, 3:50 pm, Wayne Bouwmeester <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > It will take some getting used to.
> > > > If you're just using asp for some simple conditional logic, I'd
> > > > suggest learning how to use render tags instead.
> > > > They are much more efficient from a processing perspective.
>
> > > > To make your PreExecute blocks work, you'll need to do a few things.
> > > > Add asp as an "eligible suffix"  in Project -> General settings
> > > > Then select it for "scripting for active templates" in your project
> > > > variant.
> > > > I'd suggest trying to get a <% response.write "Hello World" %> to work
> > > > first, so you know PreExecuting works, then try to fix your errors/
> > > > syntax errors.
>
> > > > RedDot builds your page, saves it to the server in a temp file, then
> > > > executes it as an asp page and gives you the results. So you need to
> > > > think about your template as a method to kick out asp that will be
> > > > processed.
> > > > If you want to see what code is generated, just remove the PreExecute
> > > > tags and view the source of the resulting page.
>
> > > > for lists, you'll want to keep the PreExecute tags outside the list
> > > > block markers, or you end up with one set for each item in the list.
> > > > Remember that whatever is between the list block markers is generated
> > > > for each page on the list.
> > > > Also, don't try to break up an if...then...else structure into
> > > > multiple PreExecute tags.
>
> > > > If you have syntax errors in your code, you'll get blanks, so I
> > > > suggest going from a known working state and add code until it breaks.
> > > > There's also a debugging plugin you can download from the community
> > > > site.
>
> > > > Good luck.
>
> > > > On Oct 16, 4:14 pm, bushland25 <[EMAIL PROTECTED]> wrote:
>
> > > > > Thank you Wayne for your response.
>
> > > > > I am a little new at this and was not aware that RDExecute was for
> > > > > SmartEdit mode only. I went through my content class template (for the
> > > > > contained page) and added the PreExecute block tags everywhere that I
> > > > > needed to execute ASP. Instead of a single tag, I encapsulated each
> > > > > ASP code block inside the tags. Now, I get blank sections for every
> > > > > part of the page that the ASP runs. I also have elements and block
> > > > > marks for lists inside these asp blocks. Do you think that I am mixing
> > > > > RedDot logic and ASP logic and expecting them to work? Does the ASP
> > > > > code run before any of the RedDot functions for lists, etc. are
> > > > > executed?
>
> > > > > On Oct 16, 2:42 pm, Wayne Bouwmeester <[EMAIL PROTECTED]>
> > 

Re: Publishing to a sub folder not root

2008-10-20 Thread Wayne Bouwmeester

You can also accomplish this by instructing RedDot to insert the
virtual prefix into each URL it generates.

First, go to your Publishing Target, and enter //
into the URL Prefix field. Also, append it to the FTP path so RedDot
knows where to publish the files.

Next, go to your project variant, and check off the box for "Always
insert URL prefix."

Lastly, go to Administer Publication -> Project -> Edit General
Settings and make sure "No Paths in published file" and "Do not
publish leading /" are both unchecked.

Publish out the entire site, and it should maintain links.


On Oct 17, 12:55 pm, JJB <[EMAIL PROTECTED]> wrote:
> I am new to RedDot and been trying to figure something out.
>
> I want to publish my site to a sub folder (off the root) of the web
> server. Everything is being published to right spot but the links on
> page are being referenced from the root of the server not the sub-
> folder.
>
> For example; the CSS link is /styles/site.css. The css is 
> inhttp://www.server.com/subfolder/styles/site.css so the page is not
> loading it. But if I publishing it tohttp://www.server.com/styles/site.css
> or if add “subfolder /” in front of the anchor <%anc_StylesheetSite%>)
> in my Foundation template, it will work. I don’t think this is the
> right solution.
>
>  I am using Directory Publishing Target as my Publishing Target.
>
> Thanks,
> Jamie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Executing classic ASP inside a container

2008-10-17 Thread Wayne Bouwmeester

If your Hello World block works, but the others don't, it's likely a
syntax error.
Have a look at the temp file first to see that all is as you'd expect.
If so, you can either download the debugging plugin - I have no
experience with it,
or take your code out and add it back statement by statement until you
find the offending one,
or browse to the temp file (you may have to put it elsewhere) as a
real web page and see what you get for an error.


On Oct 16, 6:14 pm, bushland25 <[EMAIL PROTECTED]> wrote:
> Hi Wayne,
>
> I see the temporary asp file being generated on the server and the
> content of that file is completely correct. However, I still get a
> blank page when I try to view the page in the CMS. Everytime I try to
> view the page, the temporary asp file gets updated, so I know that the
> code is executing. Any ideas?
>
> Thanks!
>
> On Oct 16, 3:50 pm, Wayne Bouwmeester <[EMAIL PROTECTED]>
> wrote:
>
> > It will take some getting used to.
> > If you're just using asp for some simple conditional logic, I'd
> > suggest learning how to use render tags instead.
> > They are much more efficient from a processing perspective.
>
> > To make your PreExecute blocks work, you'll need to do a few things.
> > Add asp as an "eligible suffix"  in Project -> General settings
> > Then select it for "scripting for active templates" in your project
> > variant.
> > I'd suggest trying to get a <% response.write "Hello World" %> to work
> > first, so you know PreExecuting works, then try to fix your errors/
> > syntax errors.
>
> > RedDot builds your page, saves it to the server in a temp file, then
> > executes it as an asp page and gives you the results. So you need to
> > think about your template as a method to kick out asp that will be
> > processed.
> > If you want to see what code is generated, just remove the PreExecute
> > tags and view the source of the resulting page.
>
> > for lists, you'll want to keep the PreExecute tags outside the list
> > block markers, or you end up with one set for each item in the list.
> > Remember that whatever is between the list block markers is generated
> > for each page on the list.
> > Also, don't try to break up an if...then...else structure into
> > multiple PreExecute tags.
>
> > If you have syntax errors in your code, you'll get blanks, so I
> > suggest going from a known working state and add code until it breaks.
> > There's also a debugging plugin you can download from the community
> > site.
>
> > Good luck.
>
> > On Oct 16, 4:14 pm, bushland25 <[EMAIL PROTECTED]> wrote:
>
> > > Thank you Wayne for your response.
>
> > > I am a little new at this and was not aware that RDExecute was for
> > > SmartEdit mode only. I went through my content class template (for the
> > > contained page) and added the PreExecute block tags everywhere that I
> > > needed to execute ASP. Instead of a single tag, I encapsulated each
> > > ASP code block inside the tags. Now, I get blank sections for every
> > > part of the page that the ASP runs. I also have elements and block
> > > marks for lists inside these asp blocks. Do you think that I am mixing
> > > RedDot logic and ASP logic and expecting them to work? Does the ASP
> > > code run before any of the RedDot functions for lists, etc. are
> > > executed?
>
> > > On Oct 16, 2:42 pm, Wayne Bouwmeester <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > A couple things to check:
> > > > 1. Have you nested open/close PreExecute tags? i.e. opened one before
> > > > closing an already open one?
> > > > 2. Are you mixing your asp <% %> tags incorrectly? i.e. opening a
> > > > block of asp inside the container when one is already open?
> > > > e.g.
> > > > <%
> > > > some statements
> > > > con_YourContainer
> > > > %>
> > > > where con_YourContainer has some code:
> > > > <%
> > > > some statements
> > > > %>
>
> > > > 3. are you making the distinction in your mind between PreExecute and
> > > > RDExecute?
> > > > If your page works in Smart Edit but not when you publish out, it's
> > > > because you need to wrap your asp in PreExecute blocks.
> > > > RDExecute is only for SmartEdit - the Page Builder won't pre-exeucte
> > > > it.
>
> > > > Where are your PreExecute block marks? Top and bottom o

Re: Executing classic ASP inside a container

2008-10-16 Thread Wayne Bouwmeester

It will take some getting used to.
If you're just using asp for some simple conditional logic, I'd
suggest learning how to use render tags instead.
They are much more efficient from a processing perspective.

To make your PreExecute blocks work, you'll need to do a few things.
Add asp as an "eligible suffix"  in Project -> General settings
Then select it for "scripting for active templates" in your project
variant.
I'd suggest trying to get a <% response.write "Hello World" %> to work
first, so you know PreExecuting works, then try to fix your errors/
syntax errors.

RedDot builds your page, saves it to the server in a temp file, then
executes it as an asp page and gives you the results. So you need to
think about your template as a method to kick out asp that will be
processed.
If you want to see what code is generated, just remove the PreExecute
tags and view the source of the resulting page.

for lists, you'll want to keep the PreExecute tags outside the list
block markers, or you end up with one set for each item in the list.
Remember that whatever is between the list block markers is generated
for each page on the list.
Also, don't try to break up an if...then...else structure into
multiple PreExecute tags.

If you have syntax errors in your code, you'll get blanks, so I
suggest going from a known working state and add code until it breaks.
There's also a debugging plugin you can download from the community
site.

Good luck.

On Oct 16, 4:14 pm, bushland25 <[EMAIL PROTECTED]> wrote:
> Thank you Wayne for your response.
>
> I am a little new at this and was not aware that RDExecute was for
> SmartEdit mode only. I went through my content class template (for the
> contained page) and added the PreExecute block tags everywhere that I
> needed to execute ASP. Instead of a single tag, I encapsulated each
> ASP code block inside the tags. Now, I get blank sections for every
> part of the page that the ASP runs. I also have elements and block
> marks for lists inside these asp blocks. Do you think that I am mixing
> RedDot logic and ASP logic and expecting them to work? Does the ASP
> code run before any of the RedDot functions for lists, etc. are
> executed?
>
> On Oct 16, 2:42 pm, Wayne Bouwmeester <[EMAIL PROTECTED]>
> wrote:
>
> > A couple things to check:
> > 1. Have you nested open/close PreExecute tags? i.e. opened one before
> > closing an already open one?
> > 2. Are you mixing your asp <% %> tags incorrectly? i.e. opening a
> > block of asp inside the container when one is already open?
> > e.g.
> > <%
> > some statements
> > con_YourContainer
> > %>
> > where con_YourContainer has some code:
> > <%
> > some statements
> > %>
>
> > 3. are you making the distinction in your mind between PreExecute and
> > RDExecute?
> > If your page works in Smart Edit but not when you publish out, it's
> > because you need to wrap your asp in PreExecute blocks.
> > RDExecute is only for SmartEdit - the Page Builder won't pre-exeucte
> > it.
>
> > Where are your PreExecute block marks? Top and bottom of your main
> > template, or open/closed in several places within your code?
>
> > Wayne.
>
> > On Oct 16, 12:20 pm, bushland25 <[EMAIL PROTECTED]> wrote:
>
> > > I publish all my files as HTML as this is a requirement for me.
> > > However, I have some classic ASP inside a page that is placed in a
> > > container. The code in containing pages run just fine, but the code in
> > > the contained page does not execute and gets published in the HTML
> > > file. I have the RDExecute=asp entry at the top of both the containing
> > > content class and the contained content class. I would appreciate any
> > > help that can be provided.
>
> > > Thanks!- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Executing classic ASP inside a container

2008-10-16 Thread Wayne Bouwmeester

A couple things to check:
1. Have you nested open/close PreExecute tags? i.e. opened one before
closing an already open one?
2. Are you mixing your asp <% %> tags incorrectly? i.e. opening a
block of asp inside the container when one is already open?
e.g.
<%
some statements
con_YourContainer
%>
where con_YourContainer has some code:
<%
some statements
%>

3. are you making the distinction in your mind between PreExecute and
RDExecute?
If your page works in Smart Edit but not when you publish out, it's
because you need to wrap your asp in PreExecute blocks.
RDExecute is only for SmartEdit - the Page Builder won't pre-exeucte
it.

Where are your PreExecute block marks? Top and bottom of your main
template, or open/closed in several places within your code?

Wayne.





On Oct 16, 12:20 pm, bushland25 <[EMAIL PROTECTED]> wrote:
> I publish all my files as HTML as this is a requirement for me.
> However, I have some classic ASP inside a page that is placed in a
> container. The code in containing pages run just fine, but the code in
> the contained page does not execute and gets published in the HTML
> file. I have the RDExecute=asp entry at the top of both the containing
> content class and the contained content class. I would appreciate any
> help that can be provided.
>
> Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Email Notification

2008-10-13 Thread Wayne Bouwmeester

Try taking out the text "Info" in the placeholder name.
i.e. <%IoPage_Link%>
I think the help documentation has an error. The two placeholders that
you can use for generating Smart Edit and Preview don't seem to work
with the word Info in the text. At least that was my experience on
7.5.
Were using <%IoPage_Preview%> and <%IoPage_RedDot%> in our emails.
might be the same with the link placeholder.
Hope it helps.
Wayne.


On Oct 13, 8:12 am, maiott <[EMAIL PROTECTED]> wrote:
> Afternoon all:
> I'm tidying up our workflow and an email needs to be sent to one of
> the groups when the page gets published.
> Fine, I got the email being sent when a page is published.  The
> trouble is the content of the email.
>
> Looking through the documentation (7.5 smart tree manual US pg.280) it
> says there are several placeholders available to use.  The one I am
> interested in is <%IoPageInfo_Link%> which sould provide a link to the
> page.
>
> However it doesn't work.  I have removed some of the other
> placeholders that should provide links and retype them in, then they
> don't work.
> In the manual it doesn't sound like there should be anything tricky
> about this.  Just type in placeholder that you want into the email.
>
> text in body of email.
>
> 
> 
> E-Mail Notification
> 
> 
> <%IoPageInfo_Headline%>
> 
> 
> 
> Link to page:
> <%IoPageInfo_Link%> font>
> 
> 
> Link to page preview:
> 
> <%IoPageInfo_Preview%>
> 
> 
> 
> Created by:
> <%IoPageInfo_CreatedBy%>
> 
> 
> Created on:
> <%IoPageInfo_CreatedAt%>
> 
> 
> 
> 
>
> Any help would be greatly appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: Can just the characters in the headline be interchanged with ASCII coding?

2008-10-11 Thread Wayne Bouwmeester

Why not just use a standard field and not use the headline field for
content?
I've suggested using the headline as an internal field only to all my
clients over the several years, since it is the field that shows in
Workflow. It's never made sens to me that this become the main title
for the page, given its use in various places within the CMS. This
allows them to enter extra descriptive information which is helpful
when looking at the page in the tasks screen (out of context). It also
allows the description of a page for content management purposes to
differ from the main title shown to site visitors.
The added benefit is that you get a few more options using a standard
field as your title instead of the headline. I'd vote for changing
this element type name from headline to Workflow Description" - I've
even called it as much in the Smart Edit screens, listing it just
above a field named "Page Title"
Food for thought...
Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: isActive and isCurrent

2008-09-23 Thread Wayne Bouwmeester

Something else you may consider (and you might have it already setup
this way) is to use a list on your foundation page list_Navigation for
all child pages and then reference this list from the navigation
component in your con_SubNav, instead of connecting the child pages on
the navigation component list within con_subnav.
(makes the sub navigation component really generic)

The benefit is that when you upgrade to 7.5, you're setup to use the
NavManager (Foundation page with chlid pages on a list, their children
on their list element, etc)
The drawback is that you need to reference the list on the foundation
page from the list in your nav component, but if your site navigation
doesn't change much (just new leaf node pages) then it doesn't matter.
I just automated it with RQL.

Wayne.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---



Re: isActive and isCurrent

2008-09-23 Thread Wayne Bouwmeester

I just implemented it on a 7.1 site.
Had trouble as well - nothing was showing in the ParentPages variable,
so I moved the code for the BC to the foundation template - i.e. out
of the isActive isCurrent template as suggested in the RedDot best
practices doc. Seemed to work for me after that. (didn't really make
sense to me to have it in the IsActiveIsCurrent template but I guess
it depends on how you link things up.
Wayne.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to RedDot-CMS-Users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~--~~~~--~~--~--~---