Toggle Content

Donations

Donate with PayPal!
Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
Anonymous $ 10.00
macavity $ 115.00
RedGerry £ 50.00
Anonymous $ 10.00
minor $ 20.00

Recommended ISP

Stop Software Patents

stopsoftwarepatents.eu petition banner

Link this Site

http://layingback.net Check our QR links

Adding a menu link to a page that you want as a stand alone

For everything else related to Pro_News - tips, tricks, your new ways to use and extend it. A place to exchange ideas and explore future possibilities.
Reply to topicReply to topic Printer Friendly Page

Adding a menu link to a page that you want as a stand alone

Post Posted: Sun Feb 24, 2008 10:03 pm

Whilst doing a website, I had to put in an "About us" Page that was a stand alone page, and had its own link in the main menu.

Similar to what the "Blank module" addon does, but I wanted the customer to be able to edit it themselves.

So here's what I did using Pro News, I set up a new section and a new category called "Location"

So that when the article link was selected on the Main menu, the breadcrumb style of trail would be displayed in the title bar of the page this way "Pro News › Location › Name of the article" (In my case this would be "About Us")

I then added the artcle "About Us" to the Location Category but left the "Active" unchecked (Approved is checked)

By right clicking > properties on the article "Title" link I found the articles id "http://website dot com/index.php?name=Pro_News&aid=23"


In the CPG Main menu I then added this section of the above address to a new link called About Us "Pro_News&aid=23" and set it as "getlink"

And that was it.

You probably don't have to set up a new category and section if you don't want to, it all depends on what you want to see on the Title bar. Leaving the article "Active" unchecked will stop the article displaying in the categories section in the Pro News module, but a link to it, will pull it up.

This approach could possibly could be used as a link in an article scenarion too if need be, I haven't tried it yet.

HTH

Cheers


_________________

OS: Linux /Apache: 2.2.6 /MySQL: 5.0.45/PHP: 5.2.4 /Dragonfly version: (9.2.1) / Firefox: 3.0.3



Rusty_'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.14/5.0.90/5.2.11/Dragonfly (9.2.3.1 CVS)

Rusty_
BetaTester
BetaTester
 
Posts: 30
Joined: Feb 06, 2007
Location: Australia
Link  QR  Share this Printer Friendly Page  facebook   myspace   twitthis  
Show more ...
Display posts from previous:   
Reply to topicReply to topic Page 1 of 1

Pro_News Community

Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

All times are GMT






layingback Non-Human Terms of Use