you have a number of things going on here. let's start with the first, and that is to get the page working!
i think you are missing something like:
includes/modules/pages/advertising/header_php.php
create that directory and that file; within the file you can add code something like this:
Code:
<?php
require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
// include template specific file name defines
$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_ADVERTISING, 'false');
$breadcrumb->add(BOX_INFORMATION_ADVERTISING);
after that is done, you can check if this page works (or at least not giving you a 404):
https://www.dvdua.com/index.php?main_page=advertising
the next problem i see is your code here:
Code:
if (DEFINE_ADVERTISING_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_ADVERTISING) . '">' . BOX_INFORMATION_ADVERTISING . '</a>';
}
you are saying that when you hover over it, you get the following link:
https://www.dvdua.com/index.php?main...ne_advertising
i do not understand that. your new code is creating a link to FILENAME_ADVERTISING and yet the link is going to define_advertising. so you have missed something. if you create a link using the zen_href_link function, it should create that link to the filename you provide it. clearly not the case here.
did you define FILENAME_ADVERTISING somewhere else? as the created link seems to be pointing to FILENAME_DEFINE_ADVERTISING - which is different.
i would first get the page working to your satisfaction, and then we can work on the creation of the link.
best.
Bookmarks