Support Forum
 
  Support Forum  Modules  Engage: Publish  Display On Current Page vs. a Specific Page
Previous Previous
 
Next Next
New Post 5/15/2008 10:39 PM
  Stuart
8 posts
No Ranking


Display On Current Page vs. a Specific Page 
Modified By Stuart  on 5/15/2008 9:41:02 PM)

Is there any difference between setting an article to "Display On Current Page" versus setting an article to display on "A Specific Page" and selecting the current page from the drop dowm list?

How does the "Force to display on selected page" come into play?

Up until know I have been selecting "A Specific Page" and have been selecting the current page from the drop down. I then check the "Force to display on selected page". I want all articles on my site to be displayed on the tab I created them on. Likewise, when I search for an article I want them to be displayed on the tab it was created on.

Could I be saving myself time by just selecting the "Display On Current Page" option or is there a difference?

 
New Post 5/16/2008 4:54 PM
  Pat
48 posts
www.engagesoftware.com
7th Level Poster


Re: Display On Current Page vs. a Specific Page 

Stuart,  

This is a great question; and sadly, it is a great question because the use of "Display Page Options" isn't very intuitive. Hopefully, I can explain its use and we'll work toward making this more intuitive.

Setting an article to use "Current Page" will allow the article to be displayed on the page of any list that links to the article. This setting only works in tandem with instances of Publish set as "Overrideable." The way I typically think of using "Current Page" is that the article's display page is determined by the display setup at a specific module.

Setting an article to use "A Specific Page" tells Publish where to display the article if a system generated link points to it. For example, if you have a Custom Display set to show articles from a Category. The list of articles for the given category may display on one page, but when the article link is clicked, the article determines where it should be displayed.

By "Forcing the display," the article starts to get stubborn about where it will render. This is particularly useful if you have permissions set on a page so that only people in a specific role can view the articles on that page. Force display restricts someone from manually passing in the itemid for an article they are supposed to be restricted from seeing on a page for which they do have permissions. I tested this on my personal site and there may be a bug.


Patrick Renner
Engage Software
St. Louis, MO
314.966.4000 x235



The leading provider of DotNetNuke support, training and custom module development.
 
New Post 5/18/2008 6:27 PM
  Stuart
8 posts
No Ranking


Re: Display On Current Page vs. a Specific Page 

Thanks. Great explanation.

 
New Post 5/19/2008 9:53 AM
  John Henley
149 posts
5th Level Poster


Re: Display On Current Page vs. a Specific Page 

After I had loaded in a bunch of content, and started to figure out how I wanted to display things, I ended up using a common page, and the 'force display' option.  Not sure why, but it just seemed to be more consistent.

Rather than go back into each article, here is some SQL that I used to fix up the items/articles to display on that common page:

UPDATE Publish_ItemVersion
SET DisplayTabId = 158
WHERE ItemId IN (SELECT ItemId From Publish_Item WHERE ItemTypeId = 1)
DELETE 
FROM Publish_ItemVersionSettings
WHERE ControlName = 'ArticleSettings' AND PropertyName = 'ForceDisplayOnPage'
INSERT INTO Publish_ItemVersionSettings
SELECT iv.ItemVersionId,'ArticleSettings','ForceDisplayOnPage','True'
FROM Publish_ItemVersion iv
WHERE iv.ItemId IN (SELECT ItemId From Publish_Item WHERE ItemTypeId = 1)
 
New Post 5/29/2008 1:03 PM
  Paul
9 posts
No Ranking


Re: Display On Current Page vs. a Specific Page 

 

All of our articles have have the Display Page Option set to 'Current Page" which worked fine with a single 'Article Display" placement.  We then made a second Article Display placement and are utilizing a query string (similar to the following) to retrieve the article.  This works fine when we are logged in as Admin but appears errors when we're logged out.

Here's the query strings

For example this works fine

http://domain.com/tabid/1/itemid/111/article.aspx

But this one only works if logged in as Admin.

http://domain.com/tabid/2/itemid/111/article.aspx

We've checked the permissions on the Page and Module. 

We've verified the articles are set to Display on current page.

What are we missing?

Thanks,

Paul

 
New Post 5/29/2008 3:27 PM
  Chris Hammond
873 posts
2nd Level Poster


Re: Display On Current Page vs. a Specific Page 

aapubs, can you post what the errors are that you're seeing when this occurs? If you login as host you should be able to get detailed errors in the Event Viewer (event log) that might help us track this down.


DotNetNuke Core Team Member
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 8/7/2008 4:33 AM
  Duncan
5 posts
No Ranking


Re: Display On Current Page vs. a Specific Page 
Modified By Duncan  on 8/7/2008 3:34:22 AM)

Having some problems here having the same article appear in multiple places.

I have a publish module set to 'article display' with overridable ticked.
On the same page is another publish module displaying a list of articles for a category.
When clicking a link from the article list, the article doesn't load on the same page, but rather on another.

The "current page" option is ticked for the article. Its also ticked for both categories the article is assigned (the parent and related categories for the article).

It appears the article wants to always display from the page that I create the article from.

When I add an article, I specify "current page" for display on current page. However I am forced to select an option for child display page, which may be the reason things are going wrong.

In the article list, the link to the article is of the format /DesktopModules/EngagePublish/itemlink.aspx?itemId=258&tabid=133. But clicking on the link loads Default.aspx?tabid=130&itemid=258. I can manually enter Default.aspx?tabid=133&itemid=258 into the address bar and the article displays on the page I want it to - just not as a result of using a link from the publish module. Perhaps it's itemlink.aspx behaving badly.

Any ideas?

 
New Post 8/8/2008 10:42 AM
  Chris Hammond
873 posts
2nd Level Poster


Re: Display On Current Page vs. a Specific Page 

dunmcl can you confirm you're using Publish 5.1.3? I'm trying to test this out and see what I see here.

 


DotNetNuke Core Team Member
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 8/11/2008 3:48 AM
  Duncan
5 posts
No Ranking


Re: Display On Current Page vs. a Specific Page 

Yes, we're using 05.01.03.

Thanks
Duncan

 
New Post 8/22/2008 3:53 AM
  Duncan
5 posts
No Ranking


Re: Display On Current Page vs. a Specific Page 

Did you have any luck replicating our problem Chris?

  • We have a page set up showing a specific category. The category is configured with this page as the display page.
  • An article is entered with that category selected, and 'Display on Current Page' is ticked ('A Specific Page' is not ticked, the drop down is thus disabled - but our homepage is selected in the disabled list).
  • When accessing the article from the page via category display or (custom display) the article doesn't load on the current page, it loads on the homepage.

The only way we can get the article to appear on the current page is to not use the 'Display on Current Page' feature and use the 'A Specific Page' instead. Though we're rather not do this, as we have a lot of articles which we want to display though multiple categories/pages.

Any advice you can give will be most appreciated!

Cheers
Duncan

 
Previous Previous
 
Next Next
  Support Forum  Modules  Engage: Publish  Display On Current Page vs. a Specific Page
Buy now!

Purchase modules

click here to buy now

Please click here to register for an account and payment will be processed via PayPal.

Test Drive!

Test drive our modules

click here to test drive our modules

Want to find out how it works? Visit our demo site to see the modules in actions!

Subscribe

Sign up for our newsletter and get the latest product updates!

Online Support

Get the latest!