The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Content Management System - Baisic v1.0.0 Details »» | |||||||||||||||||||||||||||
Content Management System - Baisic v1.0.0
Developer Last Online: Nov 2023
Well, this may be the wrong sub forum for this... but as vbAdvanced got in here, i might aswell push this in..lol.
Anyway, this is a baisic Content Management System. You can add any pages you want, and categorize these page's, the cms page will show the categories, and then below a drop down menu with all the page's it contains (if any) [This was the stop huuuuge navigation bars] It's fairly simple, but yet may be of use, you may add any page's you wish with any html you desire Anyway, enjoy, use it if you want =P - Zero Tolerance Show Your Support
|
Comments |
#22
|
||||
|
||||
Now you shoud start adding options like news or just make the php inlcude work in the templates. :P
|
#23
|
|||
|
|||
A feedback on suggestions would be a good start
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/>"; |
#24
|
|||
|
|||
that list wouldn't be cool if someone ran a site with like 50 articles in 7 different categories.
|
#25
|
|||
|
|||
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 |
#26
|
|||
|
|||
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 |
#27
|
|||
|
|||
I installed this and now I love it.
|
#28
|
||||
|
||||
Quote:
|
#29
|
|||
|
|||
Is there a way to implement previous next?
|
#30
|
||||
|
||||
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.
|
#31
|
|||
|
|||
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` ( `cid` int(15) NOT NULL auto_increment, `category_name` varchar(255) NOT NULL default '', PRIMARY KEY (`cid`) ) TYPE=MyISAM; Code:
CREATE TABLE `cms_pages` ( `pid` int(15) NOT NULL auto_increment, `page_name` varchar(255) NOT NULL default '', `page_var` varchar(255) NOT NULL default '', `page_content` text NOT NULL default '', `page_content_un` text NOT NULL default '', `cat` int(15) NOT NULL default '0', PRIMARY KEY (`pid`) ) TYPE=MyISAM; 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. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|