![]() |
Now you shoud start adding options like news or just make the php inlcude work in the templates. :P
|
A feedback on suggestions would be a good start :p
Here's the changes to convert the dropdown box to an unordered list (as seen here): Open cms.php and find Code:
$pages.="<b>{$cats['category_name']}</b><br/><select onchange='javascript:doRedirect(this.options[this.options.selectedIndex].value);' class='bginput'><option value=''>Select A Page</option>"; Code:
$pages.="<b>{$cats['category_name']}</b><br/><ul>"; Code:
$pages.="<option value='cms.php?{$session[sessionurl]}view={$page['page_var']}' selected>{$pagex['page_name']}</option>\n"; Code:
$pages.="<li id=\"active\"><a href='cms.php?{$session[sessionurl]}view={$page['page_var']}'>{$pagex['page_name']}</a></li>\n"; Code:
$pages.="<option value='cms.php?{$session[sessionurl]}view={$page['page_var']}'>{$pagex['page_name']}</option>\n"; Code:
$pages.="<li><a href='cms.php?{$session[sessionurl]}view={$page['page_var']}'>{$pagex['page_name']}</a></li>\n"; Code:
$pages.="</select><br/>"; Code:
$pages.="</ul><br/>"; |
that list wouldn't be cool if someone ran a site with like 50 articles in 7 different categories.
|
You could modify that list with CSS so that it uses less space ;)
That list is meant as an alternative to that select box this hack uses by default. You are right, not everybody can use it but Iam sure some of you will :) |
I am having a problem with the page. :( I tried using a php include template to include external pages to my CMS page, but I am getting some junk code around, could someone please help me at this thread..
https://vborg.vbsupport.ru/showthread.php?t=71153 |
I installed this and now I love it. :D
|
Quote:
|
Is there a way to implement previous next?
|
Holy crap, is there a working demo so I can see this? I thank no tolerance for making this hack, but jesus, someone post a good link to see this bad boy in action.
|
I installed a cms that uses a drop download menu. I think there is some code in the the two queries I ran that have some bearing to the drop down menu.
Here are the two queries: Code:
CREATE TABLE `cms_categories` ( Code:
CREATE TABLE `cms_pages` ( What I want to know is this. What do the three numer "15" listed in the two queries do and what do they refer too? Because in the cms.php file I have changed the two number 14 to 27 that controls how long your text can be in the Drop Down Menu's before they are replaced with "...", So I can display longer names in the drop down menu. Do I also have to alter them numbers also in the queries. Because the standard length in the cms.php file was 14 and the queries 15. Does this mean if I changed it to 27 in the cms.php file, I have to change the querie numbers from 15 to 28. |
All times are GMT. The time now is 04:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|