You are not logged in.
Hi there,
I'm new to this whole CMS thing. I just installed pluck on an evohosting site. So far, so good. But whenever I try to install a theme, the theme does not display properly. A whole bunch of stuff is missing, like themes have no menus, and where the sidebar should appear, I get errors like this:
Fatal error: Call to undefined function theme_submenu() in /home/zachjoub/public_html/data/themes/abrasive/theme.php on line 82
You can check out what else is wrong with the theme at www dot zachjoubert dot com
These are the installed modules:
'./configure' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-wddx' '--enable-zend-multibyte' '--enable-zip' '--prefix=/usr' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mime-magic' '--with-mm=/opt/mm/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
Any help would me much appreciated! ![]()
Offline
Hi there,
I'm new to this whole CMS thing. I just installed pluck on an evohosting site. So far, so good. But whenever I try to install a theme, the theme does not display properly. A whole bunch of stuff is missing, like themes have no menus, and where the sidebar should appear, I get errors like this:Fatal error: Call to undefined function theme_submenu() in /home/zachjoub/public_html/data/themes/abrasive/theme.php on line 82
[cut]
Any help would me much appreciated!
This is becouse you try to install a theme with submenu on pluck without submenu modification.
Now you can:
1. Edit theme.php in this theme, end remove theme_submenu() part
2. Download submenu modification and use it on your pluck instalation
3. Choose difrent theme without submenu
Choose with option is best for you.
A_Bach
Offline
Thanks! Where do I get a submenu modification, and how do I install it?
Offline
Thanks! Where do I get a submenu modification, and how do I install it?
Ok, think I found one on this beautiful site: http://pluck.ekyo.pl/en/5.Modules.php
I installed it and it seems to work.
Except, I can't figure out how to give the sidebar a title, like in the theme's screenshot http://www.pluck-cms.org/docs/_detail/a … ons:themes
where it says "titulo de muestro"
This is a more complicated than I expected.
Offline
cypher wrote:Thanks! Where do I get a submenu modification, and how do I install it?
Ok, think I found one on this beautiful site: http://pluck.ekyo.pl/en/5.Modules.php
I installed it and it seems to work.Except, I can't figure out how to give the sidebar a title, like in the theme's screenshot http://www.pluck-cms.org/docs/_detail/a … ons:themes
where it says "titulo de muestro"This is a more complicated than I expected.
You must edit theme.php file and before theme_submenu() you will have to add or change html tag (this will be probably h2 or h3.. or sth else ![]()
A_Bach
Offline
Thank you! ![]()
Offline
I have the same problem. Although I don't really understand the instrucyions above.
I have installed pluck 4.6.4. I have downloaded submenu mod. I followed the instructions given in the zip (see below). But still I get this error message and I am not able to add submenu apges within pluck edit page.
Please can anyone help?
index.php
(data/inc/)
editpage.php
functions.admin.php
newpage.php
page_editmeta.php
post_get.php
(data/inc/lang/)
da.php
de.php
en.php
nl.php
pl.php
upload the new files to your server
--------------------------------------------------------------------------------------------------------------
Theme:
--------------------------------------------------------------------------------------------------------------
a two columns example theme is included (evergreen.tar.gz ported to pluck by mecano)
more themes can be fount @ http://www.pluck-cms.org/docs/addons:themes
look for a two columns theme and add theme_submenu function
theme.php --> add the following lines
--------------------------------------------------------------------------------------------------------------
<!-- in theme.php add these lines-->
<div id="sidebar">
<?php theme_module("sidebar"); ?>
<li>
<h2>SubMenu</h2>
<ul>
<?php theme_submenu('<li><a href="#file" title="#title">#title</a></li>'); ?>
</ul>
</li>
</div>
<!-- end #sidebar-->
--------------------------------------------------------------------------------------------------------------
Theme styling:
--------------------------------------------------------------------------------------------------------------
don't forget to style your new submenu layer in style.css
example 'sidebar':
--------------------------------------------------------------------------------------------------------------
#sidebar {
float: right;
width: 220px;
}
#sidebar ul {
margin: 0;
padding: 10px 0 0 0;
list-style: none;
}
#sidebar li {
margin-bottom: 20px;
}
#sidebar li li {
margin-bottom: auto;
}
#sidebar li ul {
padding-left: 20px;
list-style: square inside;
}
#sidebar h2 {
padding-bottom: 5px;
font-size: 1em;
color: #FFFFFF;
padding-left: 20px;
border-bottom: 1px solid #2C2C2C;
}
--------------------------------------------------------------------------------------------------------------
existing websides:
--------------------------------------------------------------------------------------------------------------
When everything is done, go to Pluck admin --> login
go to:pages Here you can manage, edit and delete your pages
open the existing pages and save them again with your wanted preferences
(show page in menu and / or show page in submenu)
when done the extra line
'$submenu = "yes"' is written to kop1.php, kop2 .php,............ etc.
for fresh installations this is not needed!
--------------------------------------------------------------------------------------------------------------
Offline
I have the same problem. Although I don't really understand the instrucyions above.
I have installed pluck 4.6.4. I have downloaded submenu mod. I followed the instructions given in the zip (see below). But still I get this error message and I am not able to add submenu apges within pluck edit page.Please can anyone help?
Same here. Has anyone an idea?
Offline