Forums / General / A few questions, can you _____ with ez publish?

A few questions, can you _____ with ez publish?

Author Message

William Gourlie

Thursday 06 May 2004 8:24:39 am

I have a few pretty simple, "can you do this..." type questions. Here goes...

Can you...

1. Create a site that is viewable to the public but allows for a member login to view special portions of the site? I read through the tutorial and something like this was not mentioned.
If so...

2. Instead of using the admin interface to approve such things such as a guestbook entry, could this be done by priveledged users logged into the site?

3. Run multiple sites off the same codebase? I heard a mention of being able to do this, but found no documentation on it.

That is all I have for now.

Thanks,

Brian

Tore Skobba

Thursday 06 May 2004 10:48:36 am

Hi

1: Yes, you can either use sections to dividede your site or other methods (subree three only available to some users for example). I have made a site with 6 different user groups with different access, not very difficult.

2: I do not know.

3: Yes that is be possible, and not to difficult. But little documentation on how to do it, you would have to play around with the system to learn how to do it.

EZ is very flexible cms. However, everything is not so very well documented meaning that lots of advanced stuff is possible in a theoretical sense. However, in pratical senses it can be difficult.

Cheers
Tore

Mark Marsiglio

Thursday 06 May 2004 1:36:40 pm

In regards to question 2, is it the admin interface that is a problem or is it the potential to work on other parts of the site than the guestbook? If you don't mind the admin interface, you can allow users only the ability to edit/publish certain content types (such as a guestbook entry) within the admin interface. They could see the rest of the content the same as if they were on the user site, just with the admin templates. You can disable the access to any setup functions, to adding content, or to seeing user accounts.

Also, I think that you can override the admin interface to make it look any way you want (i.e. like your user site), but I am not sure if you would want to try that, as it seems like it would be a lot of work.

In regards to question 3, you can use the same design folder for many sites without any trouble. Each site would be listed in the site.ini.append.php and each would have its own settings folder. However, the site.ini.append for each site would list the design as being the same. You would have to duplicate the override settings for each of the sites so that they would use the same templates.

Mark

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

William Gourlie

Friday 07 May 2004 8:33:56 am

Thanks for the replies!

eZ debug

Timing: Jan 18 2025 16:05:14
Script start
Timing: Jan 18 2025 16:05:14
Module start 'content'
Timing: Jan 18 2025 16:05:15
Module end 'content'
Timing: Jan 18 2025 16:05:15
Script end

Main resources:

Total runtime1.1843 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.9531180.8203
Module start 'content' 0.00501.0514 769.7734586.8047
Module end 'content' 1.05650.1277 1,356.5781337.3906
Script end 1.1842  1,693.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3410210.0002
Check MTime0.00150.1287210.0001
Mysql Total
Database connection0.00080.064610.0008
Mysqli_queries1.115394.17531990.0056
Looping result0.00190.16261970.0000
Template Total1.154697.520.5773
Template load0.00290.240920.0014
Template processing1.151897.256820.5759
Template load and register function0.00020.020210.0002
states
state_id_array0.00100.084210.0010
state_identifier_array0.00140.120820.0007
Override
Cache load0.00190.1575280.0001
Sytem overhead
Fetch class attribute can translate value0.00140.122440.0004
Fetch class attribute name0.00090.077950.0002
XML
Image XML parsing0.00090.079840.0002
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00340.2857260.0001
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs