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
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.
Svara på inläggetSvara på inlägget Utskriftsvänlig sida

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

Inlägg Skrivet: 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
 
Inlägg: 30
Blev medlem: Feb 06, 2007
Från: Australia
Link  QR  Share this Utskriftsvänlig sida  facebook   myspace   twitthis  
Show more ...
Visa tidigare inlägg:   
Svara på inläggetSvara på inlägget Sida 1 av 1

Pro_News Community

Hoppa till:  



Du kan inte skapa nya inlägg i det här forumet
Du kan inte svara på inlägg i det här forumet
Du kan inte ändra dina inlägg i det här forumet
Du kan inte ta bort dina inlägg i det här forumet
Du kan inte rösta i det här forumet
Du kan inte bifoga filer i det här fourmet
Du kan inte ladda ner filer i detta forum

Alla tider är GMT






layingback Non-Human Terms of Use