Search
Search results
Number of search hits: 140
-
Referencing Pagesetter URLs within HTML area (Dizkus)
-
Type with a field of type text and then try and add content to that field that consist of a URL referencing another pagesetter publication e.g.
Some Link
When I update this edit, I get the following error message:
Forbidden
You don't have permission to access /dance/index.php
Created on Jun 04, 2009
-
[ANSWERED] Filtered Random Block (Dizkus)
-
[url]http://elfisk.dk/index.php?module=pnForum&func=viewtopic&topic=3115[/url]
this thread had the info... The link is not working and it needed a correction, so i here present you the whole randompub.php
[code=php]
[/code]
edited by: whiskey, Dec 15, 2008 - 06:36 AM
Created on Dec 14, 2008
-
Bulk publication creation??? Help!! (Dizkus)
-
Well, I tool a look at the process of importing news that comes built into pagesetter and am fairly confident that with some duct tape and a big old knife I can hack it up and find a solution.
The catch of course is that the submission page will have to be an HTML form that simply calls a script that parses the spreadsheet and inputs it into the appropriate pagesetter table and
Created on Dec 11, 2008
-
404 error when accessing XML list template (Dizkus)
-
built about two years ago (PN 7.6.1 and Pagesetter 6.2.0.3).
In addition to managing regular HTML documents, I set up a special publication type for video clips that I serve on the site. The video clip publication type includes fields for title, description, and file paths for both a JPEG thumbnail and FLV video file. I use Pagesetter templates
Created on Apr 28, 2008
-
Count Number of Times Item Been Download (Dizkus)
-
Hi,
Pn 0.764 & Pagesetter 6.3.0.0
==============================
I have created a template that has a publication field of type "any upload" which is used to store PDFs that are made available to users to download. I am wondering if there is
Created on Apr 18, 2008
-
Help on editing pagesetter (Dizkus)
-
Let me discribe here, that before the upgrading, everything works well, everyone including unregistered users can view the publication on the website properly.
Then the upgrading, everythings LOOKS well, everyone including unregistered users still can view the publication on the website properly.
Then I am using admin right, I edit a publication, and everything TURNS strange here. After I edit a publication, I am able to view or preview the page when I still login as admin. But, unregistered users cannot see the publication anymore in the website. It written there Unknown publication.
1. It shouldn't about the permission, since I did not change anything about the permission setting. What I did is only editing the publication and submit+aprrove (as I am admin)
2. It shouldn't about the template, as previously everything works fine
3. It shouldn't about the database, since it is written/updated to the database
Then can anyone tell me what is the problem? Why now I cannot put a publication online? :-?
Created on Feb 28, 2008
-
topicaccess + pagesetter = getPubList failed: Unkown column pn_group_membership.pn_gid..... (Dizkus)
-
Hi all,
i have a PN.764 with the newest pagesetter version and it works fine!
My publication based on the Standard PN-News because the migration of the 1500 PN News. So far so good.
All the articles are bundled with the topics and after the little topic hack (changing names pagesetter News in the modules/Topics/index.php) the topics shows all the correct articles.
[quote]old= a href="index.php?name=news&catid=&topic='. pnVarPrepForDIsplay($topicid).;
new = a href="index.php?name=pagesetter&catid=&topic='. pnVarPrepForDIsplay($topicid).;[/quote]
I set the permissions in this way that only some usergroups have success to see the special topics. This works fine and without the topicaccess modul. (a logged in user, can?t see the special topics!)
But......i don?t see the topics (thats correct) but when i?m searching, the system found all the articles inclusive the articles which must be hidden by the special hidden topics.
Ok, i?m thinking this is only possible with the topicacces module! Right ??
I installed the module topicaccess like the manual and set the permissions for the topics and the groups. (up to this point, it works!)
But when I login with my testUser, i get the following errormessage:
[quote]"getPubList" failed: Unknown column 'pn_group_membership.pn_gid' in 'on clause' while executing: SELECT DISTINCT pn_pagesetter_pubdata3.pg_id, pn_pagesetter_pubdata3.pg_pid, pg_author, UNIX_TIMESTAMP(pg_created) as pg_created, pg_approvalState, pn_topics.pn_topicname, pg_revision, pg_online, pg_field12 FROM pn_pagesetter_pubdata3 LEFT JOIN pn_topics ON pg_topic = pn_topics.pn_topicid LEFT JOIN pn_pagesetter_pubheader ON pg_tid = 3 AND pn_pagesetter_pubheader.pg_pid = pn_pagesetter_pubdata3.pg_pid LEFT JOIN pn_topics AS AccessTopic ON AccessTopic.pn_topicid = pg_topic JOIN pn_topicaccess ON tpa_topic = pg_topic AND tpa_module = 'pagesetter' AND tpa_category = 'PN-News' AND tpa_access = 'read' AND ( tpa_groupid >= 0 AND pn_group_membership.pn_gid IS NOT NULL OR tpa_groupid < 0 AND pn_group_membership.pn_gid IS NULL) OR AccessTopic.pn_topicid
Created on Feb 12, 2008
-
Increase performance by ADODB cache (Dizkus)
-
I've tryed your solution but when I display my site, all publication has disapear :-? and I've got these error
[code]modules/pagesetter/pnuserapi.php(954): "getPub" failed: You have an error
in your SQL syntax; check the manual that corresponds to your MySQL server
version for the right syntax to use near ''SELECT pubTable.pg_id,\n\n
pubTable.pg_pid,\n\n ' at line 1 while executing: SELECT pubTable.pg_id,
pubTable.pg_pid, pubTable.pg_approvalState, pubTable.pg_online,
pubTable.pg_revision, pubTable.pg_topic, pn_topics.pn_topicname as
core_topic_name, pn_topics.pn_topictext as core_topic_text,
pn_topics.pn_topicimage as core_topic_image, pubTable.pg_showInMenu,
pubTable.pg_showInList, pubTable.pg_author, pubTable.pg_creator,
UNIX_TIMESTAMP(pubTable.pg_created) as pg_created,
pn_pagesetter_pubheader.pg_hitcount, UNIX_TIMESTAMP(pubTable.pg_lastUpdatedDate)
as pg_lastUpdatedDate, UNIX_TIMESTAMP(pubTable.pg_publishDate) as
pg_publishDate, UNIX_TIMESTAMP(pubTable.pg_expireDate) as pg_expireDate,
pubTable.pg_language , pg_field276, pg_field279, pg_field283, pg_field288,
pg_field280, pg_field277, pg_field285, pg_field281, pg_field286, pg_field357,
pg_field340, pg_field341, pg_field278 FROM pn_pagesetter_pubdata30 as pubTable
LEFT JOIN pn_topics ON pubTable.pg_topic = pn_topics.pn_topicid LEFT JOIN
pn_pagesetter_pubheader ON pubTable.pg_pid = pn_pagesetter_pubheader.pg_pid AND
pg_tid = 30 WHERE pubTable.pg_pid = 86 AND (pg_publishDate execute($sql);
to:
if ($pnconfig['adodbcache'] = '1') { $ADODB_CACHE_DIR = $pnconfig['adodbcachetemp'];
$result = $dbconn->cacheexecute($pnconfig['adodbcachetime'],$sql); } else
$result = $dbconn->execute($sql);[/quote]
Did we have to change all lines where it's wrote
[code]$result = $dbconn->execute($sql);[/code]
or only for the first line where I find it ?edited by: Starguezer, Nov 06, 2007 - 02:20 PM
Created on Nov 06, 2007
-
Recover publication after depot sending (Dizkus)
-
In your admin publication list, check : show all and update your list
Created on Oct 31, 2007
-
pgcalendar block permissions HELP! (Dizkus)
-
$output->SetInputMode(_PNH_VERBATIMINPUT);
$output->TableAddRow($row, 'left');
$output->SetInputMode(_PNH_PARSEINPUT);
// Add no. of publications
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
$row[] = $output->Text(_BLOCKSHOWCOUNT);
$row[] = $output->FormText('listCount', $listCount);
$output->SetOutputMode(_PNH_KEEPOUTPUT);
// Add row
$output->SetInputMode(_PNH_VERBATIMINPUT);
$output->TableAddRow($row, 'left');
$output->SetInputMode(_PNH_PARSEINPUT);
// Add template
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
$row[] = $output->Text(_BLOCKTEMPLATE);
$row[] = $output->FormText('template', $template);
$output->SetOutputMode(_PNH_KEEPOUTPUT);
// Add row
$output->SetInputMode(_PNH_VERBATIMINPUT);
$output->TableAddRow($row, 'left');
$output->SetInputMode(_PNH_PARSEINPUT);
// Return output
return $output->GetOutput();
}
/**
* update block settings
*/
function pgcalendar_calendarblock_update($blockinfo)
{
$filters = pnVarCleanFromInput('filters');
$vars = array('tid' => pnVarCleanFromInput('tid'),
'function' => pnVarCleanFromInput('function'),
'filters' => pnVarCleanFromInput('filters'),
'listCount' => pnVarCleanFromInput('listCount'),
'template' => pnVarCleanFromInput('template'));
$blockinfo['content'] = pnBlockVarsToContent($vars);
return $blockinfo;
}
?>
[/code]
Now u can ad to the Permissions
(Group)| pgcalendarblock:: | Block Title:: | None
Created on Oct 07, 2007
Start a new search