_TOGGLE

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
Anonym $ 10.00
macavity $ 115.00
RedGerry £ 50.00
Anonym $ 10.00
minor $ 20.00

Recommended ISP

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.
Svar på EmneSvar på Emne Utskriftsvennlig side

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

Innlegg Skrevet: Søn 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
 
Innlegg: 30
Ble medlem: Feb 06, 2007
Bosted: Australia
Link  QR  Share this Utskriftsvennlig side  facebook   myspace   twitthis  
Show more ...
Vis Innlegg fra:   
Svar på EmneSvar på Emne Side 1 av 1

Pro_News Community

Gå til:  



Du kan ikke starte nye emner i dette forumet
Du kan ikke svare på emner i dette forumet
Du kan ikke endre dine egne innlegg i dette forumet
Du kan ikke slette dine egne innlegg i dette forumet
Du kan ikke delta i avstemninger i dette forumet
Du kan ikke legge til filer i dette forumet
Du kan ikke laste ned filer fra dette forumet

Alle klokkeslett er GMT






layingback Non-Human Terms of Use