menu

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
fivepoints
Posts: 12
Joined: Fri 4. Feb 2005, 22:59

menu

Post by fivepoints »

hallo,
how can I make a personal replacement tag for the menu of my site? In which part of phpwcms structure I have to begin?
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

are you shure that you cannot use one or more of the existing navigation replacement tags and customize those? THere is a lot you can do. I onder whether you really want to go through the trouble of making a completely new tag for a navigation...
fivepoints
Posts: 12
Joined: Fri 4. Feb 2005, 22:59

Post by fivepoints »

ok, but which file I have to modifiy?
brans

Post by brans »

include/inc_front/front.func.inc.php
(functions that are used in:)
include/inc_front/content.func.inc.php

but PLEASE! do not edit these files but simply create your function and your replacement tag. After you have created these codes do the following:

place them in a file as described below:

--------[CREATE]---------
phpwcms_template/inc_script/frontend_render/mod_yourmod.php
--------[ADD]---------
<?php
yourfunction {
}
--------[ADD, AFTER]---------
yourreptag
?>
--------[CLOSE]--------

You can also have a look at the guidelines in our NEW developers forum (announcements-section)
--...-- for further information.
Post Reply